summaryrefslogtreecommitdiff
path: root/odin/strm/cache_media
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-25 15:33:28 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-25 15:33:28 +0200
commitb83410fb297484b07dad24ecbbf35bf1cec4bab9 (patch)
tree1e366a4c0088332930c7a17839e238c56feff196 /odin/strm/cache_media
parenta2bcc084136b6c5e92dbfe8b39a503707927d706 (diff)
downloadnixos-b83410fb297484b07dad24ecbbf35bf1cec4bab9.tar
nixos-b83410fb297484b07dad24ecbbf35bf1cec4bab9.tar.gz
nixos-b83410fb297484b07dad24ecbbf35bf1cec4bab9.tar.bz2
nixos-b83410fb297484b07dad24ecbbf35bf1cec4bab9.tar.xz
nixos-b83410fb297484b07dad24ecbbf35bf1cec4bab9.zip
use download-youtube@.service
Diffstat (limited to 'odin/strm/cache_media')
-rw-r--r--odin/strm/cache_media4
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
36done 38done