[Feedback] may be a BUG: showing the tag of some mp3 files

Jeff Mitchell mitchell at kde.org
Sun Nov 15 05:28:47 UTC 2009


wu at stud.fh-hannover.de wrote:
> i've transfered the ID3-Tag my mp3 files already to UTF8.  Many titles can  
> not be rightly showed.   For example,    i have a file, which has the title  
> "黃鶴樓" , if i write the whole string into the title,  amarok will reply  
> a string like "???" -- three question mark.

Hi,

The short answer is one of the following should work:
* Removing ID3v1 tags from your files, leaving only ID3v2.4 tags with
UTF-8 encoding
* Using Amarok compiled from current Git and telling it to turn off the
charset detector.

Longer story:

There is something in the collection scanner called the character set
detector, which is a piece of code borrowed from Mozilla that tries to
detect what encoding tags are using. It *shouldn't* affect files that
have properly encoded tags, unfortunately it doesn't always work right.
See bug 200596: https://bugs.kde.org/show_bug.cgi?id=200596 . I have a
suspicion that in these cases it gets confused by data that is UTF-8
coming from ID3v2.4 tags and data in ID3v1 tags that is not UTF-8 (UTF-8
isn't valid for ID3v1 tags anyways). Using a utility like eyeD3 to
remove ID3v1 tags may help.

There is a patch there that tries to fix it by having it only be used
with latin1 characters, but I'm not sure that's the right fix, and
unfortunately the guy that worked on the charset stuff isn't really
responding anymore.

So, as you can see in comment #29 in that bug report, I've changed it so
that by default now the character set detector is not used. I'm almost
certain that this will help you, but in order to keep current behavior
consistent for people, if you are not a fresh user, it will turn itself
on. Simply go to Settings->Collection and uncheck the option to use the
charset detector -- when those files are next rescanned, they should be
fixed. (You may have to close and reopen Amarok to have the collection
browser refresh properly.)

--Jeff

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://mail.kde.org/pipermail/amarok/attachments/20091115/449588e8/attachment.sig>


More information about the Amarok mailing list