Compare commits
8 Commits
bffe801da5
...
renovate/a
Author | SHA1 | Date | |
---|---|---|---|
80ae56a3e7 | |||
1a61e23204 | |||
319ffd2106 | |||
21f1da5cce | |||
2cb60ef696 | |||
c0a9422fbd
|
|||
dbcc948239 | |||
a4a6941453 |
@@ -14,7 +14,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
# Checkout the repository code
|
# Checkout the repository code
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Set outputs
|
- name: Set outputs
|
||||||
id: vars
|
id: vars
|
||||||
@@ -55,7 +55,7 @@ jobs:
|
|||||||
if: ${{ success() }}
|
if: ${{ success() }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout target repository
|
- name: Checkout target repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
repository: infrastructure/core-apps
|
repository: infrastructure/core-apps
|
||||||
token: ${{ secrets.ACTIONS_TOKEN }}
|
token: ${{ secrets.ACTIONS_TOKEN }}
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
FROM python:3.13.5-alpine3.22
|
FROM python:3.13.6-alpine3.22
|
||||||
COPY ./app /app
|
COPY ./app /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN apk add ffmpeg
|
RUN apk add ffmpeg
|
||||||
|
@@ -1,3 +1,3 @@
|
|||||||
discord.py==2.5.2
|
discord.py==2.5.2
|
||||||
python-dotenv==1.1.1
|
python-dotenv==1.1.1
|
||||||
yt-dlp==2025.6.30
|
yt-dlp==2025.8.11
|
@@ -10,7 +10,7 @@ def get_formats(url: str):
|
|||||||
|
|
||||||
for fmt in info['formats']:
|
for fmt in info['formats']:
|
||||||
# Video-only
|
# Video-only
|
||||||
if fmt.get('vcodec') != 'none' and fmt.get('acodec') == 'none':
|
if fmt.get('vcodec') != 'none' and fmt.get('acodec') == 'none' and fmt.get('__needs_testing') == None:
|
||||||
video_options.append({
|
video_options.append({
|
||||||
'height': fmt.get('height'),
|
'height': fmt.get('height'),
|
||||||
'resolution': fmt.get('resolution'),
|
'resolution': fmt.get('resolution'),
|
||||||
@@ -19,7 +19,7 @@ def get_formats(url: str):
|
|||||||
'tbr': fmt.get('tbr'),
|
'tbr': fmt.get('tbr'),
|
||||||
})
|
})
|
||||||
# Audio-only
|
# Audio-only
|
||||||
elif fmt.get('acodec') != 'none' and fmt.get('vcodec') == 'none':
|
elif fmt.get('acodec') != 'none' and fmt.get('vcodec') == 'none' and fmt.get('__needs_testing') == None:
|
||||||
audio_options.append({
|
audio_options.append({
|
||||||
'format': fmt.get('format'),
|
'format': fmt.get('format'),
|
||||||
'format_id': fmt.get('format_id'),
|
'format_id': fmt.get('format_id'),
|
||||||
|
Reference in New Issue
Block a user