2009-01-02, 13:05
Hi all,
I'm want to start a video out of a python script in overlay mode and not in Fullscrren.
Is there a command to start the videoplayer windowed?
At this time i have a bad hack around:
Catch the onPlaybackstarted event and then wait until the player.getTime is 2sec., then send the screen toggle command "xbmc.executehttpapi("Action(18)")"
So it happens, that the player goes fullscreen for about 2seconds an the changes into overlay mode. This is not really nice
Is there a better way to start in overlay mode?
There is although an other problem:
Always when I change from Fullscreen back to the scriptwindow the onInit() Event from the Scriptwindow is called. And after the windowchange the "ScriptWindow" List is empty. This is realy bad for me, because my queryresult is hold in the WindowList. After a videoplayback the list is empty ;-(
Is there a solution for this problem?
Thanks,
Sebastian
I'm want to start a video out of a python script in overlay mode and not in Fullscrren.
Is there a command to start the videoplayer windowed?
At this time i have a bad hack around:
Catch the onPlaybackstarted event and then wait until the player.getTime is 2sec., then send the screen toggle command "xbmc.executehttpapi("Action(18)")"
So it happens, that the player goes fullscreen for about 2seconds an the changes into overlay mode. This is not really nice
Is there a better way to start in overlay mode?
There is although an other problem:
Always when I change from Fullscreen back to the scriptwindow the onInit() Event from the Scriptwindow is called. And after the windowchange the "ScriptWindow" List is empty. This is realy bad for me, because my queryresult is hold in the WindowList. After a videoplayback the list is empty ;-(
Is there a solution for this problem?
Thanks,
Sebastian