1
0

Optimize youtube-dl download options

This commit is contained in:
clerie 2022-01-03 20:57:54 +01:00
parent e6876d95d1
commit e40273f767

View File

@ -27,12 +27,13 @@
serviceConfig = { serviceConfig = {
User = "data-mixcloud"; User = "data-mixcloud";
Group = "data-mixcloud"; Group = "data-mixcloud";
Restart="on-failure";
}; };
path = [ pkgs.youtube-dl ]; path = [ pkgs.youtube-dl ];
script = '' script = ''
mkdir -p /data/mixcloud/couchsofa/ mkdir -p /data/mixcloud/couchsofa/
cd /data/mixcloud/couchsofa/ cd /data/mixcloud/couchsofa/
youtube-dl https://www.mixcloud.com/couchsofa/ youtube-dl --ignore-errors --playlist-random --newline https://www.mixcloud.com/couchsofa/
''; '';
startAt = "*-*-* 05:05:00"; startAt = "*-*-* 05:05:00";
}; };