1
0
Fork 0

hosts/storage-2: prevent youtube-dl downloading tracks again and again and again

This commit is contained in:
clerie 2023-02-17 22:02:27 +01:00
parent 4626b87dcb
commit 5649fd8b91
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ let
script = ''
mkdir -p /data/mixcloud/${source}/
cd /data/mixcloud/${source}/
youtube-dl --ignore-errors --playlist-random --newline -x --audio-format mp3 ${url}
youtube-dl --ignore-errors --playlist-random --download-archive .already-downloaded.txt --newline -x --audio-format mp3 ${url}
'';
startAt = "*-*-* 05:05:00";
}