From 64eb2d5f080a1fa083d3cb23f3fb03a8c1665d05 Mon Sep 17 00:00:00 2001 From: "epg@pretzelnet.org" <> Date: Tue, 24 Jul 2012 14:57:03 -0700 Subject: [PATCH] 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. --- flac2mp3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.56.0