scripts

misc scripts and tools
git clone git://git.2f30.org/scripts
Log | Files | Refs

commit 76a9e713daf894ef88637c74bcebdd6c25292a83
parent 705b20bacd634149c01a76ced29ad720efc87886
Author: sin <sin@2f30.org>
Date:   Mon,  4 Nov 2013 14:01:01 +0000

Remove video identifier from output file name

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

diff --git a/ytget b/ytget @@ -27,7 +27,7 @@ function convert { } for i in "$@"; do - infile=$(youtube-dl --get-filename "$i") + infile=$(youtube-dl --get-filename -o "%(title)s.%(ext)s" "$i") outfile="${infile%.*}.mp3" youtube-dl "$i" -o "/tmp/$infile" convert "/tmp/$infile" "$out/$outfile"