Commit ede081f3 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

lua: attempt to clarify playlist documentation

(cherry picked from commit 4ea5fac340e627fafdc55704998235486a7b392f)
parent 076e58c4
...@@ -241,8 +241,8 @@ playlist.loop( [status] ): Toggle playlist loop or set to specified value. ...@@ -241,8 +241,8 @@ playlist.loop( [status] ): Toggle playlist loop or set to specified value.
playlist.random( [status] ): Toggle playlist random or set to specified value. playlist.random( [status] ): Toggle playlist random or set to specified value.
playlist.goto( id ): Go to specified track. playlist.goto( id ): Go to specified track.
playlist.add( ... ): Add a bunch of items to the playlist. playlist.add( ... ): Add a bunch of items to the playlist.
The playlist is a table of playlist objects. The playlist is a table of playlist items.
A playlist object has the following members: A playlist item has the following members:
.path: the item's full path / URL .path: the item's full path / URL
.name: the item's name in playlist (OPTIONAL) .name: the item's name in playlist (OPTIONAL)
.title: the item's Title (OPTIONAL, meta data) .title: the item's Title (OPTIONAL, meta data)
......
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