Support and General Use > Audio Playback, Database and Playlists

multi genre tags?

(1/1)

tizxv22:
Hi, I want to tag my files with multiple genres. Currently I'm using mp3tag with "//" as a separator. My player (hifiwalker h2) recognizes the genres as separate, but only files the song under the first tag (e.g. if I was using "," as a separator for "pop, dance" , I was getting "pop,dance" but with "//" as a separator for "pop//dance" I'm only getting "pop").

Searching through the forums, it seems like the latest post in 2018 said Rockbox doesn't support this and it would be very difficult to implement. I also found this https://forums.rockbox.org/index.php/topic,27170.msg177622.html#msg177622 workaround. Are these two still up-to-date? Are there newer ways to get multi tags?

Bilgus:
I took a look into metadata.h and our id3tags.c implementation and the main thing making it hard is that you don't have any indication of the size of the entry otherwise.

So I think what you could do is once the items are filled look at the next variable in the id3 struct 'disc_string' and decide if there is a longer NULL'\0' separated string hiding in 'genre_string'

https://github.com/Rockbox/rockbox/blob/master/lib/rbcodec/metadata/id3tags.c#L290
https://github.com/Rockbox/rockbox/blob/master/lib/rbcodec/metadata/metadata.h#L238

Navigation

[0] Message Index

Go to full version