2023-07-29, 23:08
is there a way to get the fullscreen / windowed status of the screen?
trying this:
def is_fullscreen(self):
window = xbmcgui.Window(xbmcgui.getCurrentWindowId())
mode = window.getProperty('fullscreen')
print("FULLSCREEN?", mode)
return mode.lower() == 'true'
but it returns nothing.
2023-07-29 17:00:43.421 T:8948 debug <general>: FULLSCREEN?
2023-07-29 17:00:43.421 T:8948 debug <general>:
2023-07-29 17:00:43.421 T:8948 debug <general>:
2023-07-29 17:00:43.421 T:8948 debug <general>:
thanks for any help!
trying this:
def is_fullscreen(self):
window = xbmcgui.Window(xbmcgui.getCurrentWindowId())
mode = window.getProperty('fullscreen')
print("FULLSCREEN?", mode)
return mode.lower() == 'true'
but it returns nothing.
2023-07-29 17:00:43.421 T:8948 debug <general>: FULLSCREEN?
2023-07-29 17:00:43.421 T:8948 debug <general>:
2023-07-29 17:00:43.421 T:8948 debug <general>:
2023-07-29 17:00:43.421 T:8948 debug <general>:
thanks for any help!