hosts/storage-2: prevent youtube-dl downloading tracks again and again and again
This commit is contained in:
parent
4626b87dcb
commit
5649fd8b91
@ -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";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user