diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-12-20 09:54:43 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-12-20 09:54:43 +0100 |
commit | 60242d398500e0f2a0edfc257315b374d7ec053a (patch) | |
tree | 859e74aec41f2a8b8d2bac58223bd188b5a223a3 /odin/strm/download_youtube | |
parent | de8952a673b72f0f82abe6629b241bf57606b122 (diff) | |
download | nixos-60242d398500e0f2a0edfc257315b374d7ec053a.tar nixos-60242d398500e0f2a0edfc257315b374d7ec053a.tar.gz nixos-60242d398500e0f2a0edfc257315b374d7ec053a.tar.bz2 nixos-60242d398500e0f2a0edfc257315b374d7ec053a.tar.xz nixos-60242d398500e0f2a0edfc257315b374d7ec053a.zip |
Don't download livestreams
Diffstat (limited to 'odin/strm/download_youtube')
-rw-r--r-- | odin/strm/download_youtube | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odin/strm/download_youtube b/odin/strm/download_youtube index 921a29a7..f669fda4 100644 --- a/odin/strm/download_youtube +++ b/odin/strm/download_youtube | |||
@@ -106,7 +106,7 @@ printf ">>> %s <<<\n %s\n" "${msgId}" "${message}" | |||
106 | fi | 106 | fi |
107 | 107 | ||
108 | typeset -a args | 108 | typeset -a args |
109 | args=(--no-playlist --add-metadata --newline --mark-watched -f ${formatString}) | 109 | args=(--no-playlist --add-metadata --newline --mark-watched -f ${formatString} --match-filter '!is_live') |
110 | 110 | ||
111 | @youtubedl@/bin/youtube-dl ${args} --get-filename -o $'%(extractor)s\n%(id)s\n%(format)s\n%(title)s\n%(ext)s' -- ${url} | { | 111 | @youtubedl@/bin/youtube-dl ${args} --get-filename -o $'%(extractor)s\n%(id)s\n%(format)s\n%(title)s\n%(ext)s' -- ${url} | { |
112 | oldIFS=${IFS} | 112 | oldIFS=${IFS} |