Posts: 230
Joined: Jan 2007
Reputation:
0
I'm working on a skin, and I want to add a button from the main menu that links directly to a specific TV Show genre.
I have no problems with getting XBMC.ActivateWindow(MyVideoLibrary,tvshowgenres) to work, but that only takes you to a genre - is there any way to go one step further, specifying the genre?
Something like:
XBMC.ActivateWindow(MyVideoLibrary,tvshowgenres,science-fiction)
Thanks
Posts: 3,909
Joined: Dec 2004
Reputation:
20
Nuka1195
Skilled Python Coder
Posts: 3,909
2007-12-30, 01:21
(This post was last modified: 2007-12-30, 01:42 by Nuka1195.)
i'm not exactly sure what the correct values are, but "videodb://#/#/" where the first # is the main categories and i beleive then a second # could take you to the specific genre. You may have to search the source for videodb:// to find the values.
But first just test XBMC.ActivateWindow(MyVideoLibrary,videodb://1/1/), since it may not work
Posts: 5
Joined: Mar 2009
Reputation:
0
old thread I know, but I want to do the exact same thing...
At first I thought I had suceeded by using the videodb://1/1/x/
where x was a genre-id ...
however, I then discovered that the x-value is pretty dynamic, depending on the info in your video library database :/.
So I guess I'm back to square one. Any idea how I can solve this little trouble?
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
if you guys had trac'd this i'm sure "somebody" would have realized the usability issue long ago and added what you need.
i'd suggest activatewindow(videolibrary,moviegenres/nameofgenre)
etc