2004-12-23, 16:34
hi all,
i'm currently writing a python script to view live tv from vdr. i manage to view live tv without a problem, that's not my problem.
my problem is :
if i use xbmc to watch a video, when i press display on my remote i still hear the sound, i have a visualisation window in the left bottom of the screen and i can play with xbmc menu (go back to the settings, ....).
i want to have the same behaviour in my script. but if i press display : i can hear the sound of tv, i can use all the menus but i don't have the visualisation box.
i found an old thread in this forum explaining that i should get this window id and show this window so i added :
self.visualisationwindow = xbmcgui.window(12006)
in the of my main class (which is simply a subclass of wbmcgui.window). 12006 is the id i found in key.h.
i tried to add some self.visualisationwindow.show() almost everywhere in my code but it never worked as expected.
can anybody help me please
thanks in advance.
i'm currently writing a python script to view live tv from vdr. i manage to view live tv without a problem, that's not my problem.
my problem is :
if i use xbmc to watch a video, when i press display on my remote i still hear the sound, i have a visualisation window in the left bottom of the screen and i can play with xbmc menu (go back to the settings, ....).
i want to have the same behaviour in my script. but if i press display : i can hear the sound of tv, i can use all the menus but i don't have the visualisation box.
i found an old thread in this forum explaining that i should get this window id and show this window so i added :
self.visualisationwindow = xbmcgui.window(12006)
in the of my main class (which is simply a subclass of wbmcgui.window). 12006 is the id i found in key.h.
i tried to add some self.visualisationwindow.show() almost everywhere in my code but it never worked as expected.
can anybody help me please
thanks in advance.