Mercurial > hg > config
changeset 77:db859ed2585c
more sanity in this script for debugging
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Thu, 27 May 2010 22:10:34 -0700 |
parents | cec1db293c18 |
children | 144233173384 |
files | bin/yt2mp3.sh |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/yt2mp3.sh Wed May 26 17:50:48 2010 -0700 +++ b/bin/yt2mp3.sh Thu May 27 22:10:34 2010 -0700 @@ -4,9 +4,9 @@ URL=$1 TITLE=$($YOUTUBEDL --get-title $URL) -$YOUTUBEDL -b -i -r 50k $URL -o "%(title)s.%(ext)s" EXT=mp4 +$YOUTUBEDL -b -i -r 50k $URL -o "%(title)s.${EXT}" rm -f audiodump.wav mplayer -vc null -vo null -ao pcm "$TITLE.$EXT" lame -q 2 audiodump.wav "$TITLE.mp3" -rm "$TITLE.$EXT" \ No newline at end of file +#rm "$TITLE.$EXT" \ No newline at end of file