| playlist |
| add(str filename) |
Add a file into the playlist
Parameters str
filename - Filename of the file to add.
Return none
|
| count |
Return the number of items in the
playlist.
Parameters None
Return int
- Number of items in the playlist. |
| clear |
Clear the playlist.
Parameters None
Return None
|
| open(str filename) |
Load a playlist.
Parameters str
filename - Filename of the playlist.
Return None
|
| save(str filename) |
Save a playlist.
Parameters str
filename - Filename of the playlist.
Return None |
| swap(int Pos1, int Pos2) |
Swap two playlist position.
Parameters int
Pos1 - First position int Pos2
- Second position Return None
|
| actitem |
Return the actual playlist item.
Parameters None
Return playlistitem
object - the actual playlist item. |
| item(int itemindex) |
Return the item number itemindex
Parameters int
itemindex - Index of the item to return.
Return playlistitem
object - the actual playlist item. |
| random(int value) |
Turn On/ Turn Off random mode.
Parameters int
value - 0 =Random off / 1 = Random on (Optional)
Return int
- If no parameters return 0 = Random off / 1 = Random on
|
| isfileinqueue(str filename) |
Check if the file given in parameter
belong to the playlist.
Parameters str
filename - Filename to check. Return
int - 0 = Don't
belong to playlist / 1 = Belong to playlist. |
| repeat(int value) |
Turn On/ Turn Off repeat mode.
Parameters
int value - 0
=Repeat off / 1 = Repeat on (Optional) Return
int - If
no parameters return 0 = Repeat off / 1 = Repeat on |