diff options
Diffstat (limited to 'odin/strm')
-rw-r--r-- | odin/strm/cache_media | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/odin/strm/cache_media b/odin/strm/cache_media index 8c345489..a69ce766 100644 --- a/odin/strm/cache_media +++ b/odin/strm/cache_media | |||
@@ -32,5 +32,7 @@ while { | |||
32 | } && [[ -n "${ids}" ]]; do | 32 | } && [[ -n "${ids}" ]]; do |
33 | url="" | 33 | url="" |
34 | 34 | ||
35 | xargs -d '\n' -n 1 -r -P 1 -- download_youtube <<<$(print -l ${ids}) | 35 | for id (${ids}); do |
36 | systemd-run --unit $(systemd-escape --template=download-youtube@.service ${id}) | ||
37 | done | ||
36 | done | 38 | done |