summaryrefslogtreecommitdiff
path: root/odin/strm
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-26 08:30:21 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-26 08:30:21 +0200
commit9b80f162e11d4019ef7fc834940fd265065baa84 (patch)
tree4d34d249aca1d47f638928d6e572cc023fdf2340 /odin/strm
parent1de63438b44e9e459250846ba57d36f24a3cd6cf (diff)
downloadnixos-9b80f162e11d4019ef7fc834940fd265065baa84.tar
nixos-9b80f162e11d4019ef7fc834940fd265065baa84.tar.gz
nixos-9b80f162e11d4019ef7fc834940fd265065baa84.tar.bz2
nixos-9b80f162e11d4019ef7fc834940fd265065baa84.tar.xz
nixos-9b80f162e11d4019ef7fc834940fd265065baa84.zip
Diffstat (limited to 'odin/strm')
-rw-r--r--odin/strm/download_youtube7
1 files changed, 5 insertions, 2 deletions
diff --git a/odin/strm/download_youtube b/odin/strm/download_youtube
index 357988d4..adc22176 100644
--- a/odin/strm/download_youtube
+++ b/odin/strm/download_youtube
@@ -192,9 +192,12 @@ printf ">>> %s <<<\n %s\n" "${msgId}" "${message}"
192 fi 192 fi
193 193
194 typeset -a transcodeExtractors 194 typeset -a transcodeExtractors
195 transcodeExtractors=("twitch -vod") 195 transcodeExtractors=()
196 196
197 if [[ "${bare_amp}" -ne 0 || ${extensions[(i)${filename:e}]} -gt ${#extensions} || ${transcodeExtractors[(i)${extractor}]} -le ${#transcodeExtractors} ]]; then 197 if [[ "${bare_amp}" -ne 0
198 || ${extensions[(i)${filename:e}]} -gt ${#extensions}
199 || ${transcodeExtractors[(i)${extractor}]} -le ${#transcodeExtractors}
200 ]]; then
198 printf "Transcoding ‘%s’" ${title} 201 printf "Transcoding ‘%s’" ${title}
199 printf "%d %d %d/%d(%d)…\n" \ 202 printf "%d %d %d/%d(%d)…\n" \
200 $([[ $($alwaysTranscode; print $?) -eq 0 ]]; print $?) \ 203 $([[ $($alwaysTranscode; print $?) -eq 0 ]]; print $?) \