[vlc-devel] (no subject)

Wieland Hoffmann themineo at gmail.com
Tue Jan 14 11:38:45 CET 2014

Hallo Jean-Baptiste Kempf:
> Do the mbid get stored in the right input metadata, btw?

Hm, now that you mention it, the APE, ASF and MP4 readers don't seem to
read the MBID (or any custom tags for that matter). I see 2 ways to
solve this:

#1 is something along the lines of

> for each tag that taglib exposes:
> > if the tag is not in the list of known tags (like artist, album):
> > > vlc_meta_AddExtra(....)

#2 is to explicitly read the MusicBrainz Album Id according to the tag
mapping for it (listed at [0]).

#1 would have the benefit of being a more general solution, but it also
means the metadata displayed to the user could be less useful because
the meaning of the tags name is not obvious (like soal, soaa etc. for

#2 on the other hand is more tailored toward the problem at hand and can
be used to expose the MBID through one name and not a name containing
underscores and/or spaces depending on the file format being read.
(Maybe it could even get its own entry in vlc_meta_type_t?)
On the other hand, it might not be a good idea to have some extra tags
be visible in the user interface, but others not.

I'd personally prefer #2, but if it seems like a bad idea to you, I can
also look into making #1 work.

[0] http://musicbrainz.org/doc/MusicBrainz_Picard/Tags/Mapping


More information about the vlc-devel mailing list