2015-04-14, 12:56
Anybody here with a working syntax to launch a favourite via json in Kodi?
I have managed to work out a few ways to open certain windows and players, but the favourites seem like an obvious omission in the v6 documentation. I am pretty sure many would need this one?
Anything that works in a webbrowser would be a good start, like this example to open an addon:
something like: http://192.168.x.x:80/jsonrpc?request={"jsonrpc":"2.0","method":"Player.Open","params":{"directory":"plugin://plugin.program.super.favourites/? [name of favorite here?]"}, "id":1}
Ideally it would be addon independent and just launch whatever the favourite is in, simply do what happens when you select a favourite in the Kodi GUI, be it a stream, a movie or whatever.
Anybody with any hints or working examples would be fab.
I have managed to work out a few ways to open certain windows and players, but the favourites seem like an obvious omission in the v6 documentation. I am pretty sure many would need this one?
Anything that works in a webbrowser would be a good start, like this example to open an addon:
something like: http://192.168.x.x:80/jsonrpc?request={"jsonrpc":"2.0","method":"Player.Open","params":{"directory":"plugin://plugin.program.super.favourites/? [name of favorite here?]"}, "id":1}
Ideally it would be addon independent and just launch whatever the favourite is in, simply do what happens when you select a favourite in the Kodi GUI, be it a stream, a movie or whatever.
Anybody with any hints or working examples would be fab.