JSON-RPC: create playlist
#1
Hey!

I was wondering if it is possible to create a playlist via json-rpc. Maybe I overlooked the method in the wiki. Sorry for this stupid question...

Greetz
Reply
#2
In Eden you can access a music, video and picture playlist. If you want to put together a playlist, you first need to call Playlist.Clear() and then Playlist.Add()/Insert() to add new items to it. You can then start playing that playlist with Player.Open(). These methods should all be in the wiki article on JSON-RPC API v4 (and v5) but they are rather hacked together because playlist support in xbmc itself is very limited.
Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
Reply
#3
Thank you! At first I had some problems with the "item" parameter, but now all works. :-)
Reply

Logout Mark Read Team Forum Stats Members Help
JSON-RPC: create playlist0