|
Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
|
Kodi's Play List class. More...
Classes | |
| class | XBMCAddon::xbmc::PlayList |
Functions | |
| XBMCAddon::xbmc::PlayList::getPlayListId () | |
| |
| XBMCAddon::xbmc::PlayList::add (...) | |
| |
| XBMCAddon::xbmc::PlayList::load (...) | |
| |
| XBMCAddon::xbmc::PlayList::remove (...) | |
| |
| XBMCAddon::xbmc::PlayList::clear () | |
| |
| XBMCAddon::xbmc::PlayList::size () | |
| |
| XBMCAddon::xbmc::PlayList::shuffle () | |
| |
| XBMCAddon::xbmc::PlayList::unshuffle () | |
| |
| XBMCAddon::xbmc::PlayList::getposition () | |
| |
Kodi's Play List class.
Class: xbmc.PlayList(playList) To create and edit a playlist which can be handled by the player.
| playList | [integer] To define the stream type
|
Example:
| void XBMCAddon::xbmc::PlayList::add | ( | ... | ) |
Function: add(url[, listitem, index]) | url | string or unicode - filename or url to add. |
| listitem | [opt] listitem - used with setInfo() to set different infolabels. |
| index | [opt] integer - position to add playlist item. (default=end) |
Example:
| void XBMCAddon::xbmc::PlayList::clear | ( | ) |
Function: clear() | XBMCAddon::xbmc::PlayList::getPlayListId | ( | ) |
| int XBMCAddon::xbmc::PlayList::getposition | ( | ) |
Function: getposition() | bool XBMCAddon::xbmc::PlayList::load | ( | ... | ) |
Function: load(filename) Clear current playlist and copy items from the file to this Playlist filename can be like .pls or .m3u ...
| filename | File with list to play inside |
| void XBMCAddon::xbmc::PlayList::remove | ( | ... | ) |
Function: remove(filename) | filename | The file to remove from list. |
| void XBMCAddon::xbmc::PlayList::shuffle | ( | ) |
Function: shuffle() | int XBMCAddon::xbmc::PlayList::size | ( | ) |
Function: size() | void XBMCAddon::xbmc::PlayList::unshuffle | ( | ) |
Function: unshuffle()