summaryrefslogtreecommitdiff
path: root/odin/strm/download_youtube
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-06 19:15:23 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-06 19:15:23 +0200
commita29c95fe7335167cc3012dedfef2c4afbe1392c7 (patch)
treea0b7e4156701e7a9b1c576e6e14a13c74da27fe3 /odin/strm/download_youtube
parent8f347122c82d52d991464ea4b3e0b35ae189f5d3 (diff)
downloadnixos-a29c95fe7335167cc3012dedfef2c4afbe1392c7.tar
nixos-a29c95fe7335167cc3012dedfef2c4afbe1392c7.tar.gz
nixos-a29c95fe7335167cc3012dedfef2c4afbe1392c7.tar.bz2
nixos-a29c95fe7335167cc3012dedfef2c4afbe1392c7.tar.xz
nixos-a29c95fe7335167cc3012dedfef2c4afbe1392c7.zip
ffprobe
Diffstat (limited to 'odin/strm/download_youtube')
-rwxr-xr-xodin/strm/download_youtube2
1 files changed, 1 insertions, 1 deletions
diff --git a/odin/strm/download_youtube b/odin/strm/download_youtube
index 4c37cb7e..77172c87 100755
--- a/odin/strm/download_youtube
+++ b/odin/strm/download_youtube
@@ -212,7 +212,7 @@ printf ">>> %s <<<\n %s\n" "${msgId}" "${message}"
212 mv -vf "${filename}" "${tempfile}" | debug 212 mv -vf "${filename}" "${tempfile}" | debug
213 213
214 typeset -A fileInfo 214 typeset -A fileInfo
215 for line ($(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 215 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
216 fileInfo[${line%=*}]=${(Q)line#*=} 216 fileInfo[${line%=*}]=${(Q)line#*=}
217 done 217 done
218 218