[vlc-commits] APE/MPC/WV: support TotalTrack
Jean-Baptiste Kempf
git at videolan.org
Wed Jun 20 15:12:33 CEST 2012
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Jun 13 17:54:19 2012 +0200| [a86b2cb4f203af918c76f41216e51582c37aa2f8] | committer: Jean-Baptiste Kempf
APE/MPC/WV: support TotalTrack
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a86b2cb4f203af918c76f41216e51582c37aa2f8
---
modules/meta_engine/taglib.cpp | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/modules/meta_engine/taglib.cpp b/modules/meta_engine/taglib.cpp
index aec694a..0ce4c16 100644
--- a/modules/meta_engine/taglib.cpp
+++ b/modules/meta_engine/taglib.cpp
@@ -139,6 +139,13 @@ static void ReadMetaFromAPE( APE::Tag* tag, demux_meta_t*, vlc_meta_t* p_meta )
SET( "PUBLISHER", Publisher );
#undef SET
+
+ /* */
+ item = tag->itemListMap()["TRACK"];
+ if( !item.isEmpty() )
+ {
+ ExtractTrackNumberValues( p_meta, item.toString().toCString( true ) );
+ }
}
More information about the vlc-commits
mailing list