Update of /cvsroot/gtkpod/gtkpod/scripts
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv20437/scripts

Modified Files:
        convert-flac2mp3.sh convert-ogg2mp3.sh convert-wav2mp3.sh 
Log Message:
        * scripts/convert-flac2mp3.sh
          scripts/convert-ogg2mp3.sh
          scripts/convert-wav2mp3.sh:
          Added quotes around $genreopts to make script more
          robust. Thanks to Andy.



Index: convert-flac2mp3.sh
===================================================================
RCS file: /cvsroot/gtkpod/gtkpod/scripts/convert-flac2mp3.sh,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- convert-flac2mp3.sh 7 May 2007 11:51:36 -0000       1.9
+++ convert-flac2mp3.sh 16 May 2007 13:40:32 -0000      1.10
@@ -97,7 +97,7 @@
 fi
 
 # Launch command
-exec "$flac" -d -c -- "$infile" | "$lame" --preset standard --add-id3v2 --tt 
"$title" --ta "$artist" --tl "$album" --ty "$year" --tc "$comment" --tn 
"$track" $genreopt - "$outfile"
+exec "$flac" -d -c -- "$infile" | "$lame" --preset standard --add-id3v2 --tt 
"$title" --ta "$artist" --tl "$album" --ty "$year" --tc "$comment" --tn 
"$track" "$genreopt" - "$outfile"
 
 # Check result
 if [ "x$?" != "x0" ]; then

Index: convert-ogg2mp3.sh
===================================================================
RCS file: /cvsroot/gtkpod/gtkpod/scripts/convert-ogg2mp3.sh,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- convert-ogg2mp3.sh  7 May 2007 11:51:36 -0000       1.9
+++ convert-ogg2mp3.sh  16 May 2007 13:40:32 -0000      1.10
@@ -97,7 +97,7 @@
 fi
 
 # Launch command
-exec "$oggdec" --output - -- "$infile" | "$lame" --preset standard --add-id3v2 
--tt "$title" --ta "$artist" --tl "$album" --ty "$year" --tc "$comment" --tn 
"$track" $genreopt - "$outfile"
+exec "$oggdec" --output - -- "$infile" | "$lame" --preset standard --add-id3v2 
--tt "$title" --ta "$artist" --tl "$album" --ty "$year" --tc "$comment" --tn 
"$track" "$genreopt" - "$outfile"
 
 # Check result
 if [ "x$?" != "x0" ]; then

Index: convert-wav2mp3.sh
===================================================================
RCS file: /cvsroot/gtkpod/gtkpod/scripts/convert-wav2mp3.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- convert-wav2mp3.sh  7 May 2007 11:51:36 -0000       1.5
+++ convert-wav2mp3.sh  16 May 2007 13:40:32 -0000      1.6
@@ -91,7 +91,7 @@
 fi
 
 # Launch command
-"$lame" --preset standard --add-id3v2 --tt "$title" --ta "$artist" --tl 
"$album" --ty "$year" --tc "$comment" --tn "$track" $genreopt "$infile" 
"$outfile"
+"$lame" --preset standard --add-id3v2 --tt "$title" --ta "$artist" --tl 
"$album" --ty "$year" --tc "$comment" --tn "$track" "$genreopt" "$infile" 
"$outfile"
 
 # Check result
 if [ "x$?" != "x0" ]; then


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
gtkpod-cvs2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2

Reply via email to