Window.IsActive Questions
#1
1) Which window has id 604 ?(is used in Viewtype_List.xml) it isn´t listed in the wiki, or is it from a custom window I (or Hitcher) removed during modding?
2) Do Windows.IsActive(OSD Video Settings) and so on work? just curious because of the spaces...I changed the Delta Window IDs with the corresponding names to make it more readable so I don´t have too look so often in the wiki..

EDIT:

Another one: Is it possible to use Window.IsActive(music) or Window.IsActive(5) instead of "Window.IsActive(500) | Window.IsActive(501) | Window.IsActive(502)"?
(same for movies)
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#2
temmi2000 Wrote:1) Which window has id 604 ?(is used in Viewtype_List.xml) it isn´t listed in the wiki, or is it from a custom window I (or Hitcher) removed during modding?
So if it is not in the list, it should be a custom window.
Perhaps it is one of the Skin settings Windows or the old window for switch Viewmode.
temmi2000 Wrote:EDIT:

Another one: Is it possible to use Window.IsActive(music) or Window.IsActive(5) instead of "Window.IsActive(500) | Window.IsActive(501) | Window.IsActive(502)"?
(same for movies)
As far as I know you can take part id's, or use the main id, if you look into the empty skin, then have musicnav, musicsongs and musicplaylist the same id.
Reply
#3
Window.IsActive(Music) will always return false - there is no such window (it's a virtual link basically)

Window.IsActive(MusicFiles) is valid ofcourse.

You should always use the name of the window rather than the id - the id should not be trusted - they're all specified by XBMC itself, except for the case of custom skin windows, where specifying via the name of the xml file is preferable.

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#4
thx
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply
#5
Another Question:Is there a Container.Content() parameter for the "root"? (where you can choose if you want to browse by actor/year/studio/top100/etc)
Donate: https://kodi.tv/contribute/donate (foundation), 146Gr48FqHM7TPB9q33HHv6uWpgQqdz1yk (BTC personal)
Estuary: Kodis new default skin - ExtendedInfo Script - KodiDevKit
Reply

Logout Mark Read Team Forum Stats Members Help
Window.IsActive Questions0