From: epg@pretzelnet.org <> Date: Tue, 24 Jul 2012 21:57:03 +0000 (-0700) Subject: Add --id3v2-latin1. Default in newer lame is to transcode to UTF-16! Quite X-Git-Url: https://diplodocus.org/git/flac-archive/commitdiff_plain/64eb2d5f080a1fa083d3cb23f3fb03a8c1665d05 Add --id3v2-latin1. Default in newer lame is to transcode to UTF-16! Quite wasteful on most of my files, and I don't have any that won't work fine in latin1, so let's use that. --- diff --git a/flac2mp3 b/flac2mp3 index 67855ad..b951859 100755 --- 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))