This commit is contained in:
2026-05-02 10:14:09 +02:00
parent 58969880a9
commit c188426663
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -4,11 +4,10 @@ services:
image: yt-downloader image: yt-downloader
container_name: yt-downloader container_name: yt-downloader
volumes: volumes:
- ./error:/error
- ./yt-downloader/:/music - ./yt-downloader/:/music
restart: "unless-stopped" restart: "unless-stopped"
environment: environment:
PLAYLIST_URL: "https://www.youtube.com/playlist?list=PL4QRSQmrCreF3dSp3RokdWmS50o0QNesJ" PLAYLIST_URL: "{}"
FILE_NAME_FORMAT: "%(title)s;%(uploader)s" FILE_NAME_FORMAT: "%(title)s;%(uploader)s"
#deploy: #deploy:
#resources: #resources:
+1 -1
View File
@@ -3,5 +3,5 @@ apt-get -y update
apt-get -y upgrade apt-get -y upgrade
cp /music/archive.dat /download cp /music/archive.dat /download
./yt-dlp -U ./yt-dlp -U
./yt-dlp -P "/download" --download-archive "/download/archive.dat" --sleep-interval 5 -x -o ${FILE_NAME_FORMAT} --add-metadata --embed-thumbnail --embed-chapters ${PLAYLIST_URL} 2> /error/error.log ./yt-dlp -P "/download" --download-archive "/download/archive.dat" --sleep-interval 5 -x -o ${FILE_NAME_FORMAT} --add-metadata --embed-thumbnail --embed-chapters ${PLAYLIST_URL}
cp /download/* /music cp /download/* /music