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

Jean-Baptiste Kempf jb at videolan.org
Fri Jan 17 19:24:40 CET 2014

On 17 Jan, Wieland Hoffmann wrote :
> Hallo Jean-Baptiste Kempf:
> > On 17 Jan, Wieland Hoffmann wrote :
> > > +    vlc_meta_MusicBrainzAlbumID
> > >  } vlc_meta_type_t;
> > 
> > NAME too long, tbh.
> How does vlc_meta_MB_AlbumID (or simply vlc_meta_AlbumID) sound?


> > And do we need it as a main Meta? or can't we use it as an extra one?
> Well, as mentioned before, saving them as extra tags would mean to
> either not normalise the tag names and thereby force all code using the
> ID to do that normalisation itself OR normalising the names which would
> mean that this one specific track would get extra treatment compared to
> the other extra tags, whose key in extra_tags is basically their name in
> the file. AFAICT vlc_meta_type_t is currently used for all tags that get
> such special treatment.

Sure, but for minor meta, we could have an helper to read those.
I'm just wondering about the space taken by this, since vlc_meta_t size
increases at the same time (src/input/meta.c)

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