ytconv

yt video creator
git clone git://git.2f30.org/ytconv.git
Log | Files | Refs

commit aaf546af70595326b1193005c86cde40fad55f8f
parent be441263c6f846e019503ad8f1e23fb07d71907a
Author: sin <sin@2f30.org>
Date:   Mon, 28 May 2018 13:15:39 +0100

fix

Diffstat:
ytconv | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ytconv b/ytconv @@ -65,7 +65,7 @@ S=0 CS=0 for x in "$@"; do - nm=$(echo "$x" | sed -e 's/\([:digit:]*\) \?[-. ] \?/\1. /') + nm=$(echo "$x" | sed -e 's/\([[:digit:]]*\) \?[-. ] \?/\1. /') printf "[%02d:%02d:%02d] %s\n" $H $M $S "${nm%.*}" >> out.txt t=$(ffmpeg -i "$x" 2>&1 | grep 'Duration:' | tr ',' ' ' | awk '{print $2}')