From 9b80f162e11d4019ef7fc834940fd265065baa84 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 26 Apr 2018 08:30:21 +0200 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- odin/strm/download_youtube | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'odin/strm') 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}" fi typeset -a transcodeExtractors - transcodeExtractors=("twitch -vod") + transcodeExtractors=() - if [[ "${bare_amp}" -ne 0 || ${extensions[(i)${filename:e}]} -gt ${#extensions} || ${transcodeExtractors[(i)${extractor}]} -le ${#transcodeExtractors} ]]; then + if [[ "${bare_amp}" -ne 0 + || ${extensions[(i)${filename:e}]} -gt ${#extensions} + || ${transcodeExtractors[(i)${extractor}]} -le ${#transcodeExtractors} + ]]; then printf "Transcoding ā€˜%sā€™" ${title} printf "%d %d %d/%d(%d)ā€¦\n" \ $([[ $($alwaysTranscode; print $?) -eq 0 ]]; print $?) \ -- cgit v1.2.3