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

Wieland Hoffmann themineo at gmail.com
Wed Feb 12 15:52:12 CET 2014


Hallo Jean-Baptiste Kempf:
> 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 :)

Yup, thanks!

-- 
Wieland



More information about the vlc-devel mailing list