open tvshow in library view
#1
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!
Reply
#2
Some more hours of searching and I found some clues. I am using the parameter 'videodb://tvshows/titles/TVSHOWID/' now instead of tvshow.file which seems to work.
Reply

Logout Mark Read Team Forum Stats Members Help
open tvshow in library view0