[vlc-commits] Meta: add DiscTotal

Jean-Baptiste Kempf git at videolan.org
Fri Oct 16 19:08:55 CEST 2015


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Oct 16 18:31:29 2015 +0200| [a6ca4e4cc8aa40733cff0b64fa6e64b92262f8fc] | committer: Jean-Baptiste Kempf

Meta: add DiscTotal

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

 include/vlc_meta.h       |    5 +++--
 modules/lua/libs/input.c |    1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/include/vlc_meta.h b/include/vlc_meta.h
index e466440..381b211 100644
--- a/include/vlc_meta.h
+++ b/include/vlc_meta.h
@@ -57,10 +57,11 @@ typedef enum vlc_meta_type_t
     vlc_meta_ShowName,
     vlc_meta_Actors,
     vlc_meta_AlbumArtist,
-    vlc_meta_DiscNumber
+    vlc_meta_DiscNumber,
+    vlc_meta_DiscTotal
 } vlc_meta_type_t;
 
-#define VLC_META_TYPE_COUNT 26
+#define VLC_META_TYPE_COUNT 27
 
 #define ITEM_PREPARSED       1
 #define ITEM_ARTURL_FETCHED  2
diff --git a/modules/lua/libs/input.c b/modules/lua/libs/input.c
index d21da18..f251219 100644
--- a/modules/lua/libs/input.c
+++ b/modules/lua/libs/input.c
@@ -341,6 +341,7 @@ static int vlclua_input_item_set_meta( lua_State *L )
         META_TYPE( Actors, "actors" )
         META_TYPE( AlbumArtist, "album_artist" )
         META_TYPE( DiscNumber, "disc_number" )
+        META_TYPE( DiscTotal, "disc_total" )
     };
 #undef META_TYPE
 



More information about the vlc-commits mailing list