[vlc-commits] Meta: add a tracktotal value

Jean-Baptiste Kempf git at videolan.org
Tue Jun 12 01:49:44 CEST 2012


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jun 11 23:03:48 2012 +0200| [4962f70280a3883bc2a8361f4bfad94a7313c0fb] | committer: Jean-Baptiste Kempf

Meta: add a tracktotal value

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4962f70280a3883bc2a8361f4bfad94a7313c0fb
---

 include/vlc_input_item.h |    1 +
 include/vlc_meta.h       |    5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/include/vlc_input_item.h b/include/vlc_input_item.h
index 2f74077..0f9800d 100644
--- a/include/vlc_input_item.h
+++ b/include/vlc_input_item.h
@@ -227,6 +227,7 @@ INPUT_META(Publisher)
 INPUT_META(EncodedBy)
 INPUT_META(ArtworkURL)
 INPUT_META(TrackID)
+INPUT_META(TrackTotal)
 
 #define input_item_SetTrackNum input_item_SetTrackNumber
 #define input_item_GetTrackNum input_item_GetTrackNumber
diff --git a/include/vlc_meta.h b/include/vlc_meta.h
index 86f6653..db9f58a 100644
--- a/include/vlc_meta.h
+++ b/include/vlc_meta.h
@@ -48,10 +48,11 @@ typedef enum vlc_meta_type_t
     vlc_meta_Publisher,
     vlc_meta_EncodedBy,
     vlc_meta_ArtworkURL,
-    vlc_meta_TrackID
+    vlc_meta_TrackID,
+    vlc_meta_TrackTotal
 } vlc_meta_type_t;
 
-#define VLC_META_TYPE_COUNT 17
+#define VLC_META_TYPE_COUNT 18
 
 #define ITEM_PREPARSED       1
 #define ITEM_ARTURL_FETCHED  2



More information about the vlc-commits mailing list