mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
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:
parent
03d4a69df4
commit
7110c7216f
1 changed files with 2 additions and 0 deletions
|
@ -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"},
|
||||
|
|
Loading…
Reference in a new issue