Kodi Community Forum

Full Version: Helix -- pvr window?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Was working on updating a skin for Helix, and I notice that pvr window still seems accepted? For example ActivateWindow(pvr) works (seems to give tvchannels) and Window.IsVisible(pvr) also works. Is this by design or just deprecated/left over that needs to be removed from skin? The visibility boolean in particular seems handy as it seems to return true for any of the new pvr windows.

scott s.
.
ActivateWindow(pvr) will indeed open the TVChannels window.
this is done for backward compatibility reasons.
(for instance, people may have ActivateWindow(pvr) in their custom keymaps)

i'm not sure on the visible condition.. i would say it will only return true on the tvchannels window,
but i haven't tested it. i can't think of a reason why it would return true for all pvr windows though.