Posts: 5,238
Joined: Jul 2012
Reputation:
338
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.
.
Posts: 15,263
Joined: Jan 2009
Reputation:
727
ronie
Team-Kodi Member
Posts: 15,263
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.