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
This commit is contained in:
Tim-Philipp Müller 2013-02-14 00:29:01 +00:00
parent 03d4a69df4
commit 7110c7216f

View file

@ -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"},