diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-06 19:15:23 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-06 19:15:23 +0200 |
commit | a29c95fe7335167cc3012dedfef2c4afbe1392c7 (patch) | |
tree | a0b7e4156701e7a9b1c576e6e14a13c74da27fe3 | |
parent | 8f347122c82d52d991464ea4b3e0b35ae189f5d3 (diff) | |
download | nixos-a29c95fe7335167cc3012dedfef2c4afbe1392c7.tar nixos-a29c95fe7335167cc3012dedfef2c4afbe1392c7.tar.gz nixos-a29c95fe7335167cc3012dedfef2c4afbe1392c7.tar.bz2 nixos-a29c95fe7335167cc3012dedfef2c4afbe1392c7.tar.xz nixos-a29c95fe7335167cc3012dedfef2c4afbe1392c7.zip |
ffprobe
-rwxr-xr-x | 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 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 | ||