X-Git-Url: https://diplodocus.org/git/flac-archive/blobdiff_plain/37b4fa4d1535812303942bc6e3ab685870be6f57..d8fad45f88f2afc36f7daca6de06e60a9b975a9f:/flac2mp3 diff --git a/flac2mp3 b/flac2mp3 index 67855ad..28aee35 100755 --- a/flac2mp3 +++ b/flac2mp3 @@ -16,6 +16,10 @@ may be the kind of FLAC file B generates. That is, it contains a cue sheet, one TITLE tag per track listed therein, and ARTIST, ALBUM, and DATE tags. +Note that lame is retarded, and parses B directly itself! So, in order +for it to transcode textual tags, you must specify the encoding in LANG, e.g. +LANG=en_US.utf-8 + =head1 OPTIONS =over 4 @@ -107,7 +111,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))