Commit 5fe74b9b authored by Rémi Duraffort's avatar Rémi Duraffort

lua: remove debug printf and update the doc

parent 7a3a6d64
......@@ -420,8 +420,6 @@ void __vlclua_read_custom_meta_data( vlc_object_t *p_this, lua_State *L,
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");
......
......@@ -284,9 +284,8 @@ playlist.add( ... ): Add a bunch of items to the playlist.
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.
......
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