From 7110c7216f08fdfaa51b5c60b4f0147c094d1354 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 14 Feb 2013 00:29:01 +0000 Subject: [PATCH] vorbistag: add mapping for TOTALTRACKS and TOTALDISCS tags Found TOTALTRACKS in a FLAC file instead of TRACKTOTAL, we should at least read this if present. http://www.hydrogenaudio.org/forums/index.php?showtopic=91496&st=0&p=773857&#entry773857 --- gst-libs/gst/tag/gstvorbistag.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst-libs/gst/tag/gstvorbistag.c b/gst-libs/gst/tag/gstvorbistag.c index c6fa94e0ca..ae4702c073 100644 --- a/gst-libs/gst/tag/gstvorbistag.c +++ b/gst-libs/gst/tag/gstvorbistag.c @@ -53,7 +53,9 @@ static const GstTagEntryMatch tag_matches[] = { {GST_TAG_TRACK_NUMBER, "TRACKNUMBER"}, {GST_TAG_ALBUM_VOLUME_NUMBER, "DISCNUMBER"}, {GST_TAG_TRACK_COUNT, "TRACKTOTAL"}, + {GST_TAG_TRACK_COUNT, "TOTALTRACKS"}, /* old / non-standard */ {GST_TAG_ALBUM_VOLUME_COUNT, "DISCTOTAL"}, + {GST_TAG_ALBUM_VOLUME_COUNT, "TOTALDISCS"}, /* old / non-standard */ {GST_TAG_ARTIST, "ARTIST"}, {GST_TAG_PERFORMER, "PERFORMER"}, {GST_TAG_COMPOSER, "COMPOSER"},