summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odin/strm/download_youtube1
1 files changed, 0 insertions, 1 deletions
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}"
180 pv -N "$(trimName "vol:" ${title})" ${filename} | ffmpeg -i pipe:0 -af "volumedetect" -vn -f null /dev/null 2>&1 | \ 180 pv -N "$(trimName "vol:" ${title})" ${filename} | ffmpeg -i pipe:0 -af "volumedetect" -vn -f null /dev/null 2>&1 | \
181 grep 'max_volume' | sed -r 's/^.*max_volume: ([-0-9\.]+) dB$/\1/' 181 grep 'max_volume' | sed -r 's/^.*max_volume: ([-0-9\.]+) dB$/\1/'
182 ) 182 )
183 ffmpegResult=${pipestatus[2]}
184 printf "Maximum volume: %.2fdB\n" "${max_vol}" 183 printf "Maximum volume: %.2fdB\n" "${max_vol}"
185 [[ -n "${max_vol}" ]] || max_vol=0 184 [[ -n "${max_vol}" ]] || max_vol=0
186 bare_amp=$(printf "%.2f" $(($max_vol * (-1)))) 185 bare_amp=$(printf "%.2f" $(($max_vol * (-1))))