Handling multiple genres in id3v2?

Sander Jansen s.jansen at gmail.com
Fri Jan 7 20:04:49 CET 2011

2011/1/7 Lukáš Lalinský <lalinsky at gmail.com>:
> On Fri, Jan 7, 2011 at 6:45 PM, Sander Jansen <s.jansen at gmail.com> wrote:
>> The following questions come to mind:
>> * Current genre() implementation seems to imply multiple genres can be
>> returned separated by spaces, but this seems incompatible with the
>> i3dv1 genres, many that contain spaces ("Acid Punk", "Native
>> American", "Easy Listening").
>> * Perhaps the id3v2 genre() method should just return the first string
>> instead of the concatenated string list?
> I can only suggest to forget the TagLib::Tag interface and always use
> the format-specific ones. I'd prefer to not touch TagLib::Tag methods
> in version 1.x and completely remove them in version 2.

I think I see your point, since mp4 returns a comma separated string
of genres :)


More information about the taglib-devel mailing list