Hi!
In my work on the MyLyrics plugin Gaukaren pointed me in the direction that the tag reader has some issues with reading ID3v1 tags. And indeed it seems like it.
The MP tagreader returns additional [\0]'s - which it the code for a SPACE - on strings so they fill out 30 characters. There is no problem with ID3v2 tags.
Example ID3v2 tags
Tag.Artist = "Figurines"
Tag.Title = "Divided by the Shore"
Example ID3v1 tags
Tag.Artist = "Figurines\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \0"
Tag.Title = "Divided by the Shore\0\0\0\0\0\0\0\0\0\0"
This example is my example. Other users - or rather so I see from their log-files - have files with only one SPACE added in the end of the strings.
Accordingly no lyric can be found for music files only using the ID3v1 tag. I could remove all occurences of [\0] (or spaces) but it would natural be better to remove the spaces direcly in the tag reader. That is, if it is a fault... I know that the reader has been tested thoroughly. thanks
In my work on the MyLyrics plugin Gaukaren pointed me in the direction that the tag reader has some issues with reading ID3v1 tags. And indeed it seems like it.
The MP tagreader returns additional [\0]'s - which it the code for a SPACE - on strings so they fill out 30 characters. There is no problem with ID3v2 tags.
Example ID3v2 tags
Tag.Artist = "Figurines"
Tag.Title = "Divided by the Shore"
Example ID3v1 tags
Tag.Artist = "Figurines\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 \0"
Tag.Title = "Divided by the Shore\0\0\0\0\0\0\0\0\0\0"
This example is my example. Other users - or rather so I see from their log-files - have files with only one SPACE added in the end of the strings.
Accordingly no lyric can be found for music files only using the ID3v1 tag. I could remove all occurences of [\0] (or spaces) but it would natural be better to remove the spaces direcly in the tag reader. That is, if it is a fault... I know that the reader has been tested thoroughly. thanks