changeset 83:4f49c0caa801

modification for new youtube-dl
author Jeff Hammel <jhammel@mozilla.com>
date Mon, 26 Jul 2010 19:12:47 -0700
parents a7857000e206
children 7ddb611ba0c1
files bin/yt2mp3.sh
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/bin/yt2mp3.sh	Wed Jun 30 09:45:03 2010 -0700
+++ b/bin/yt2mp3.sh	Mon Jul 26 19:12:47 2010 -0700
@@ -5,8 +5,8 @@
 URL=$1
 TITLE=$($YOUTUBEDL --get-title $URL)
 EXT=mp4
-$YOUTUBEDL -b -i -r 50k $URL -o "%(title)s.${EXT}" 
+$YOUTUBEDL -i -r 50k $URL -o "%(title)s.${EXT}" 
 rm -f audiodump.wav
-mplayer -vc null -vo null -ao pcm "$TITLE.$EXT"
+mplayer -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"