changeset 78:144233173384

dont know what im doing or why i have to do it
author Jeff Hammel <jhammel@mozilla.com>
date Sun, 20 Jun 2010 22:26:55 -0700
parents 84ffa220796a (current diff) db859ed2585c (diff)
children 413945f4c18b
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/bin/yt2mp3.sh	Fri Jun 11 10:44:06 2010 -0700
+++ b/bin/yt2mp3.sh	Sun Jun 20 22:26:55 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