Commit 065f6bb1 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Vorbis: extract TotalTrack information

parent dee5fcf1
...@@ -109,6 +109,7 @@ static inline void vorbis_ParseComment( vlc_meta_t **pp_meta, const uint8_t *p_d ...@@ -109,6 +109,7 @@ static inline void vorbis_ParseComment( vlc_meta_t **pp_meta, const uint8_t *p_d
bool hasTitle = false; bool hasTitle = false;
bool hasAlbum = false; bool hasAlbum = false;
bool hasTrackNumber = false; bool hasTrackNumber = false;
bool hasTrackTotal = false;
bool hasArtist = false; bool hasArtist = false;
bool hasCopyright = false; bool hasCopyright = false;
bool hasDescription = false; bool hasDescription = false;
...@@ -151,6 +152,8 @@ static inline void vorbis_ParseComment( vlc_meta_t **pp_meta, const uint8_t *p_d ...@@ -151,6 +152,8 @@ static inline void vorbis_ParseComment( vlc_meta_t **pp_meta, const uint8_t *p_d
IF_EXTRACT("TITLE=", Title ) IF_EXTRACT("TITLE=", Title )
else IF_EXTRACT("ALBUM=", Album ) else IF_EXTRACT("ALBUM=", Album )
else IF_EXTRACT("TRACKNUMBER=", TrackNumber ) else IF_EXTRACT("TRACKNUMBER=", TrackNumber )
else IF_EXTRACT("TRACKTOTAL=", TrackTotal )
else IF_EXTRACT("TOTALTRACKS=", TrackTotal )
else IF_EXTRACT("ARTIST=", Artist ) else IF_EXTRACT("ARTIST=", Artist )
else IF_EXTRACT("COPYRIGHT=", Copyright ) else IF_EXTRACT("COPYRIGHT=", Copyright )
else IF_EXTRACT("ORGANIZATION=", Publisher ) else IF_EXTRACT("ORGANIZATION=", Publisher )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment