while( lua_next( L, -2 ) )
{
/* ... item meta key value */
- printf("%s => %s\n", lua_typename(L, lua_type(L, -2)),
- lua_typename(L, lua_type(L, -1)));
if( !lua_isstring( L, -2 ) || !lua_isstring( L, -1 ) )
{
msg_Err( p_this, "'meta' keys and values must be strings");
example: .options = { "fullscreen" }
.duration: stream duration in seconds (OPTIONAL)
.meta: custom meta data (OPTIONAL, meta data)
- A .meta field is a table of custom meta categories which
- each have custom meta properties.
- example: .meta = { ["Google video"] = { ["docid"] = "-5784010886294950089"; ["GVP version"] = "1.1" }; ["misc"] = { "Hello" = "World!" } }
+ A .meta field is a table of custom meta key value pairs.
+ example: .meta = { ["GVP docid"] = "-5784010886294950089", ["GVP version] = "1.1", Hello = "World!" }
Invalid playlist items will be discarded by VLC.
playlist.enqueue( ... ): like playlist.add() except that track isn't played.
playlist.get( [what, [tree]] ): Get the playlist.