From 04b3a40fbf86b5451bd8ca612531036ca10aa74d Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 22 May 2018 21:54:58 +0200 Subject: ... --- odin/strm/download_youtube | 1 - 1 file changed, 1 deletion(-) (limited to 'odin/strm/download_youtube') diff --git a/odin/strm/download_youtube b/odin/strm/download_youtube index 4019541b..5eb550ba 100644 --- a/odin/strm/download_youtube +++ b/odin/strm/download_youtube @@ -180,7 +180,6 @@ printf ">>> %s <<<\n %s\n" "${msgId}" "${message}" pv -N "$(trimName "vol:" ${title})" ${filename} | ffmpeg -i pipe:0 -af "volumedetect" -vn -f null /dev/null 2>&1 | \ grep 'max_volume' | sed -r 's/^.*max_volume: ([-0-9\.]+) dB$/\1/' ) - ffmpegResult=${pipestatus[2]} printf "Maximum volume: %.2fdB\n" "${max_vol}" [[ -n "${max_vol}" ]] || max_vol=0 bare_amp=$(printf "%.2f" $(($max_vol * (-1)))) -- cgit v1.2.3