From e7c108d7d307feb7cfecf8c9e5a47a64ab96afae Mon Sep 17 00:00:00 2001 From: Thomas Guillem Date: Fri, 19 Dec 2014 11:46:31 +0100 Subject: [PATCH] main: update VLC_META_TYPE_COUNT It was not updated after adding vlc_meta_ESNowPlaying. Signed-off-by: Ludovic Fauvet --- include/vlc_meta.h | 2 +- modules/lua/libs/input.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/vlc_meta.h b/include/vlc_meta.h index bb82c3be70..e466440619 100644 --- a/include/vlc_meta.h +++ b/include/vlc_meta.h @@ -60,7 +60,7 @@ typedef enum vlc_meta_type_t vlc_meta_DiscNumber } vlc_meta_type_t; -#define VLC_META_TYPE_COUNT 25 +#define VLC_META_TYPE_COUNT 26 #define ITEM_PREPARSED 1 #define ITEM_ARTURL_FETCHED 2 diff --git a/modules/lua/libs/input.c b/modules/lua/libs/input.c index a524a7d32d..d21da18198 100644 --- a/modules/lua/libs/input.c +++ b/modules/lua/libs/input.c @@ -328,6 +328,7 @@ static int vlclua_input_item_set_meta( lua_State *L ) META_TYPE( URL, "url" ) META_TYPE( Language, "language" ) META_TYPE( NowPlaying, "now_playing" ) + META_TYPE( ESNowPlaying, "now_playing" ) META_TYPE( Publisher, "publisher" ) META_TYPE( EncodedBy, "encoded_by" ) META_TYPE( ArtworkURL, "artwork_url" ) -- 2.39.2