Handling multiple genres in id3v2?

Lukáš Lalinský lalinsky at gmail.com
Fri Jan 7 18:55:55 CET 2011


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.

> * So how do we store multiple genres/tags, one TCON frame with
> multiple strings or multiple TCON frames with one string each.

As with most frames, there should be only one TCON frame in a ID3v2
tag, but it can have multiple strings.

Lukas


More information about the taglib-devel mailing list