changeset 80:413945f4c18b

again, not sure why i need to commit after a actionless merge
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 21 Jun 2010 13:17:31 -0700
parents a599feff7c93 (current diff) 144233173384 (diff)
children 51a6ec0433f7
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bin/yt2mp3.sh	Mon Jun 21 13:16:24 2010 -0700
+++ b/bin/yt2mp3.sh	Mon Jun 21 13:17:31 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