summaryrefslogtreecommitdiff
path: root/odin/strm
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-05-22 21:55:49 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-05-22 21:55:49 +0200
commit442a0f4db8f56bcc6e4bfa93b92e2361ed195175 (patch)
tree8d5a96068e1bcd365b92a6552ee604e2bd82b6f8 /odin/strm
parent04b3a40fbf86b5451bd8ca612531036ca10aa74d (diff)
downloadnixos-442a0f4db8f56bcc6e4bfa93b92e2361ed195175.tar
nixos-442a0f4db8f56bcc6e4bfa93b92e2361ed195175.tar.gz
nixos-442a0f4db8f56bcc6e4bfa93b92e2361ed195175.tar.bz2
nixos-442a0f4db8f56bcc6e4bfa93b92e2361ed195175.tar.xz
nixos-442a0f4db8f56bcc6e4bfa93b92e2361ed195175.zip
...
Diffstat (limited to 'odin/strm')
-rw-r--r--odin/strm/download_youtube2
1 files changed, 1 insertions, 1 deletions
diff --git a/odin/strm/download_youtube b/odin/strm/download_youtube
index 5eb550ba..043d98f4 100644
--- a/odin/strm/download_youtube
+++ b/odin/strm/download_youtube
@@ -210,7 +210,7 @@ printf ">>> %s <<<\n %s\n" "${msgId}" "${message}"
210 mv -vf "${filename}" "${tempfile}" 210 mv -vf "${filename}" "${tempfile}"
211 211
212 typeset -A fileInfo 212 typeset -A fileInfo
213 for line ($(@ffmpeg@/bin/ffprobe -v error -show_format -show_streams -show_entries stream=codec_name,codec_type:format=:stream_tags=:stream_disposition=:format_tags= -of flat=h=0 -- ${tempfile}; ffmpegResult=$((ffmpegResult || $?)))); do 213 for line ($(@ffmpeg@/bin/ffprobe -v error -show_format -show_streams -show_entries stream=codec_name,codec_type:format=:stream_tags=:stream_disposition=:format_tags= -of flat=h=0 -- ${tempfile})); do
214 fileInfo[${line%=*}]=${(Q)line#*=} 214 fileInfo[${line%=*}]=${(Q)line#*=}
215 done 215 done
216 216