Fix radio

This commit is contained in:
afk
2026-07-16 19:42:12 +02:00
parent 6648cfc848
commit 5941909646
3 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ ENV PYTHONUNBUFFERED=1
WORKDIR /usr/src/app WORKDIR /usr/src/app
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y --no-install-recommends curl ffmpeg yt-dlp && \ apt-get install -y --no-install-recommends curl ffmpeg && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*
COPY requirements.txt ./ COPY requirements.txt ./
+1
View File
@@ -457,6 +457,7 @@ async def process_radio_track(video_link, video_id, title):
# 1. Download with yt-dlp # 1. Download with yt-dlp
dl_cmd = [ dl_cmd = [
"yt-dlp", "yt-dlp",
"--no-cache-dir",
"--extract-audio", "--extract-audio",
"--output", f"{base_filepath}.%(ext)s", "--output", f"{base_filepath}.%(ext)s",
video_link video_link
+1
View File
@@ -1,3 +1,4 @@
matrix-nio == 0.24.0 matrix-nio == 0.24.0
google-auth-oauthlib == 1.3.1 google-auth-oauthlib == 1.3.1
google-api-python-client == 2.194.0 google-api-python-client == 2.194.0
yt-dlp