Commit 667cee1d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

LUA: synchronise meta with the core

parent 2875b54d
......@@ -145,6 +145,7 @@ static int vlclua_input_metas_internal( lua_State *L, input_item_t *p_item )
PUSH_META( EncodedBy, "encoded_by" );
PUSH_META( ArtworkURL, "artwork_url" );
PUSH_META( TrackID, "track_id" );
PUSH_META( TrackTotal, "track_total" );
#undef PUSH_META
......@@ -341,6 +342,7 @@ static int vlclua_input_item_set_meta( lua_State *L )
META_TYPE( EncodedBy, "encoded_by" )
META_TYPE( ArtworkURL, "artwork_url" )
META_TYPE( TrackID, "track_id" )
META_TYPE( TrackTotal, "track_total" )
};
#undef META_TYPE
......
......@@ -91,6 +91,7 @@ vlclua_item_meta(publisher, Publisher)
vlclua_item_meta(encodedby, EncodedBy)
vlclua_item_meta(arturl, ArtworkURL)
vlclua_item_meta(trackid, TrackID)
vlclua_item_meta(tracktotal, TrackTotal)
static const luaL_Reg vlclua_item_reg[] = {
vlclua_item_luareg(title)
......@@ -110,6 +111,7 @@ static const luaL_Reg vlclua_item_reg[] = {
vlclua_item_luareg(encodedby)
vlclua_item_luareg(arturl)
vlclua_item_luareg(trackid)
vlclua_item_luareg(tracktotal)
{ NULL, NULL }
};
......
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