1
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

View File

@ -31,7 +31,7 @@ let
script = '' script = ''
mkdir -p /data/mixcloud/${source}/ mkdir -p /data/mixcloud/${source}/
cd /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"; startAt = "*-*-* 05:05:00";
} }