[vlc-commits] taglib: Support reading AlbumArtist from ID3v2 and Ogg

Uwe L. Korn git at videolan.org
Sun Nov 23 00:11:21 CET 2014


vlc | branch: master | Uwe L. Korn <uwelk at xhochy.com> | Sat Nov 22 22:01:18 2014 +0000| [5da6862f807e01af53d5207f9be3128827250870] | committer: Jean-Baptiste Kempf

taglib: Support reading AlbumArtist from ID3v2 and Ogg

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5da6862f807e01af53d5207f9be3128827250870
---

 modules/meta_engine/taglib.cpp |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/meta_engine/taglib.cpp b/modules/meta_engine/taglib.cpp
index d8ab1bf..6875ee2 100644
--- a/modules/meta_engine/taglib.cpp
+++ b/modules/meta_engine/taglib.cpp
@@ -371,6 +371,7 @@ static void ReadMetaFromId3v2( ID3v2::Tag* tag, demux_meta_t* p_demux_meta, vlc_
     SET( "TENC", EncodedBy );
     SET( "TLAN", Language );
     SET( "TPUB", Publisher );
+    SET( "TPE2", AlbumArtist );
 
 #undef SET
 
@@ -517,6 +518,7 @@ static void ReadMetaFromXiph( Ogg::XiphComment* tag, demux_meta_t* p_demux_meta,
     SET( "RATING", Rating );
     SET( "LANGUAGE", Language );
     SET( "MUSICBRAINZ_TRACKID", TrackID );
+    SET( "ALBUMARTIST", AlbumArtist );
 
     SET_EXTRA( "MUSICBRAINZ_ALBUMID", VLC_META_EXTRA_MB_ALBUMID );
 #undef SET



More information about the vlc-commits mailing list