Optimize youtube-dl download options
This commit is contained in:
parent
e6876d95d1
commit
e40273f767
@ -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";
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user