[vlc-devel] [PATCH 2/3] Add MusicBrainzAlbumID to the metadata

Jean-Baptiste Kempf jb at videolan.org
Thu Feb 6 23:13:58 CET 2014

On 20 Jan, Wieland Hoffmann wrote :
> Could you give me a hint about how to properly implement this with
> helper functions (maybe there's already something like this in VLC and I
> just didn't see it)? I thought about simply letting the albumid be
> stored in the extra tags and explicitly defining the
> vlc_meta_{Set,Get}... methods, which seems like an easy thing to do for
> the Get method (loop over all possible tag names of the MBID, return the
> value of the first one found), but seems hard for the setter, because it
> wouldn't know which tag to use, if there's not already an MBID in the
> file.

I think I did what you wanted/needed :)

With my kindest regards,

Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device

More information about the vlc-devel mailing list