Fix radio
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ ENV PYTHONUNBUFFERED=1
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
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/*
|
||||
|
||||
COPY requirements.txt ./
|
||||
|
||||
@@ -457,6 +457,7 @@ async def process_radio_track(video_link, video_id, title):
|
||||
# 1. Download with yt-dlp
|
||||
dl_cmd = [
|
||||
"yt-dlp",
|
||||
"--no-cache-dir",
|
||||
"--extract-audio",
|
||||
"--output", f"{base_filepath}.%(ext)s",
|
||||
video_link
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
matrix-nio == 0.24.0
|
||||
google-auth-oauthlib == 1.3.1
|
||||
google-api-python-client == 2.194.0
|
||||
yt-dlp
|
||||
|
||||
Reference in New Issue
Block a user