Dear Mehturt,

On Tue, December 13, 2011 11:02 am, Mehturt wrote:
> On Tue, Dec 13, 2011 at 10:52 AM, Daniel Svensson <dsvens...@gmail.com>
> wrote:
>> Upload the file somewhere for inspection.
>
> Here it is:
>
> http://c3p0.dyndns.org/Svaty%20Vincent%20-%2002%20-%20Rikaji%20o%20mne,%20ze%20jsem%20blazen.mp3


The tag is wrong. Here's a piece of xxd output of the file:
 00000c0: 2154 4954 3200 0000 5500 0000 c598 c3ad  !TIT2...U.......
The last 4 bytes are the beginning of the title. We see that the byte just
before that is 00. That means that the title should be
ISO-8859-1-encoded[1]. In fact in id3v2.3 it doesn't even seem possible to
have utf-8 encoded strings. Version 2.4 of the spec does support utf-8,
but then that 00 should be 03 [2]. Changing 00 to 03 indeed solves the
problem for me.

According to a forum post [3] easytag can fix this automatically.


Regards,

Erik Massop / nesciens


[1] The Id3v2.3 spec at http://www.id3.org/id3v2.3.0 :
"Frames that allow different types of text encoding have a text encoding
description byte directly after the frame size. If ISO-8859-1 is used this
byte should be $00, if Unicode is used it should be $01."

[2] The id3v2.4.0 spec at http://www.id3.org/id3v2.4.0-structure :
"Frames that allow different types of text encoding contains a text
   encoding description byte. Possible encodings:

     $00   ISO-8859-1 [ISO-8859-1]. Terminated with $00.
     $01   UTF-16 [UTF-16] encoded Unicode [UNICODE] with BOM. All
           strings in the same frame SHALL have the same byteorder.
           Terminated with $00 00.
     $02   UTF-16BE [UTF-16] encoded Unicode [UNICODE] without BOM.
           Terminated with $00 00.
     $03   UTF-8 [UTF-8] encoded Unicode [UNICODE]. Terminated with $00."

[3] texray at http://www.musicpd.org/forum/index.php?topic=1552.0;wap2 :
"Well, as it turned out, it is the fault of the "id3v2" tool. It was
supposed to write the tags in UTF-8, but it didn't. Maybe it doesn't
support ID3v2.4 (which is the first version of IDv2 that officially
supports UTF-8, according to Wikipedia). I checked with easytag and it it
can automatically convert older ID3v2 tags to ID3v2.4, which worked in mpd
as expected."





--
_______________________________________________
Xmms2-devel mailing list
Xmms2-devel@lists.xmms.se
http://lists.xmms.se/cgi-bin/mailman/listinfo/xmms2-devel

Reply via email to