]> diplodocus.org Git - flac-archive/commitdiff
Add --id3v2-latin1. Default in newer lame is to transcode to UTF-16! Quite
authorepg@pretzelnet.org <>
Tue, 24 Jul 2012 21:57:03 +0000 (14:57 -0700)
committerepg@pretzelnet.org <>
Tue, 24 Jul 2012 21:57:03 +0000 (14:57 -0700)
wasteful on most of my files, and I don't have any that won't work fine in
latin1, so let's use that.

flac2mp3

index 67855ad..b951859 100755 (executable)
--- a/flac2mp3
+++ b/flac2mp3
@@ -107,7 +107,7 @@ def flac2mp3(fn, title, artist, album_artist, album, date,
         f.write(pics[0][7])
         f.close()
     try:
-        run_or_die(3, "flac %s -cd %s '%s' | lame --id3v2-only --pad-id3v2-size 0 %s --tt '%s' --ta '%s' --tl '%s' --ty '%s' --tn %d --ti '%s' %s - '%s'"
+        run_or_die(3, "flac %s -cd %s '%s' | lame --id3v2-only --id3v2-latin1 --pad-id3v2-size 0 %s --tt '%s' --ta '%s' --tl '%s' --ty '%s' --tn %d --ti '%s' %s - '%s'"
                    % (flac_options, ' '.join(skip_until), fn,
                       lame_options, title, artist, album, date, track,
                       picfn, album_artist_options, quoted_outfile))