Posts: 8
Joined: Apr 2012
Reputation:
0
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
Posts: 5,184
Joined: Jan 2009
Reputation:
131
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.
Posts: 8
Joined: Apr 2012
Reputation:
0
Thank you! At first I had some problems with the "item" parameter, but now all works. :-)