PDA

View Full Version : starting video playback on home screen


martingu1979
2008-11-17, 14:35
hi!

is there a possibility to start video playback without going fullscreen automatically?

What I want to do is to start playing a video upon startup of the xbmc, which works quite well. But it also automatically enters full screen.

Is there any way I can tell the script to toggle out of fullscreen mode?

Thanks in advance

rwparris2
2008-11-17, 22:33
I don't know if it is possible to do it like that, but you can definitely use ActivateWindow immediately after calling the play command. There may be a stutter or flash while it switches windows quickly though, you'll just have to try it to find out.

martingu1979
2008-11-18, 08:58
yes, I also already thought of that. after issuing the play command I do
xbmc.executebuiltin("XBMC.ActivateWindow(Home)")

but this command is not executed by the script.

that's because I thought, maybe I should simulate pushing the "display" button on the remote, which actually executes a ToggleFullScreen command.

does anyone know how I can issue this command from a script?