[vlc-devel] [PATCH 4/4] taglib: Support reading of Composer from ID3v2 and Xiph tags
Uwe L. Korn
uwelk at xhochy.com
Fri Dec 5 20:11:08 CET 2014
---
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 a600796..174a7ce 100644
--- a/modules/meta_engine/taglib.cpp
+++ b/modules/meta_engine/taglib.cpp
@@ -373,6 +373,7 @@ static void ReadMetaFromId3v2( ID3v2::Tag* tag, demux_meta_t* p_demux_meta, vlc_
SET( "TPUB", Publisher );
SET( "TPE2", AlbumArtist );
SET( "TPOS", DiscNumber );
+ SET( "TCOM", Composer );
#undef SET
@@ -521,6 +522,7 @@ static void ReadMetaFromXiph( Ogg::XiphComment* tag, demux_meta_t* p_demux_meta,
SET( "MUSICBRAINZ_TRACKID", TrackID );
SET( "ALBUMARTIST", AlbumArtist );
SET( "DISCNUMBER", DiscNumber );
+ SET( "COMPOSER", Composer );
SET_EXTRA( "MUSICBRAINZ_ALBUMID", VLC_META_EXTRA_MB_ALBUMID );
#undef SET
--
2.1.3
More information about the vlc-devel
mailing list