2020-02-25, 15:09
Hello there,
I started working on my own home automation project and so far it works great and I enjoy using the JSON-RPC api. It was fairly easy to get the list of tvshows, match the label property to the requested tv show name and retrieve the tv show info.
Now I want to navigate to the tvshow using the api. I tried using GUI.ActivateWindow({ window: 'videos', parameters: [ tvshow.file ] }).
However since the tvshow.file field is the filesystem path to the folder of this tvshow, Kodi always opens up the folder view for this tvshow. So far I did not find any other tvshow field I could use here. I was hoping to get a videodb:// url somehow.
How can I tell kodi via JSON-RPC to open the tvshow in library view (the one with the "All Seasons" , "Season 1" , ...) listing?
Thanks in advance for any help!
I started working on my own home automation project and so far it works great and I enjoy using the JSON-RPC api. It was fairly easy to get the list of tvshows, match the label property to the requested tv show name and retrieve the tv show info.
Now I want to navigate to the tvshow using the api. I tried using GUI.ActivateWindow({ window: 'videos', parameters: [ tvshow.file ] }).
However since the tvshow.file field is the filesystem path to the folder of this tvshow, Kodi always opens up the folder view for this tvshow. So far I did not find any other tvshow field I could use here. I was hoping to get a videodb:// url somehow.
How can I tell kodi via JSON-RPC to open the tvshow in library view (the one with the "All Seasons" , "Season 1" , ...) listing?
Thanks in advance for any help!