2016-12-29, 18:14
Now that I have the plugin running - and it works great, thanks a lot for your effort from myself as well! - I wonder if and how it can be controlled via the kodi json interface (port 9090)? What I mean, is it possible - or could it be added - to trigger functionalities directly via json commands, like
for going down in a list, but for more complex actions of the plugin itself and not only the Kodi GUI, like starting to play a certain playlist? If this was possible, I could assign direct buttons on my Logitech remote control, or wall buttons, to it and include Spotify in my home automation setup. I'm not too familiar with the Kodi concept if it comes to these things and don't know how this relates to the "plugin://plugin.audio.spotify/?action=add_track_to_playlist" and similar things mentioned elsewhere - these look like Kodi internal representations that can't be triggered via the TCP port, or am I wrong there?
Thanks, Andy
Code:
{"jsonrpc":"2.0","method":"Input.Down"}
for going down in a list, but for more complex actions of the plugin itself and not only the Kodi GUI, like starting to play a certain playlist? If this was possible, I could assign direct buttons on my Logitech remote control, or wall buttons, to it and include Spotify in my home automation setup. I'm not too familiar with the Kodi concept if it comes to these things and don't know how this relates to the "plugin://plugin.audio.spotify/?action=add_track_to_playlist" and similar things mentioned elsewhere - these look like Kodi internal representations that can't be triggered via the TCP port, or am I wrong there?
Thanks, Andy