2011-07-27, 18:39
el_Paraguayo Wrote:A question for you Giftie: is it possible to have the script launch in a preview window, rather than fullscreen?
Normally, when skinning, I could launch a video with PlayMedia and use the ",1" switch to play the video in a preview window.
The RunScript function doesn't have this argument and, I assume, the PlayMedia is within your code.
Is this something we could have as an option?
I appreciate that a "Cinema Experience" in a preview window is a bit counter-intuitive but a user in Cirrus forum has asked whether it's possible to add to the skin and I don't like to say no until I'm certain it can't be done!
Thanks,
el_P
The only problem is that the trivia slide show would not work, since it uses its own skin to display the images. The rest could be done though. The script is more or less a playlist builder and the command for starting the playback(in python) also has an optional window mode. I'm still working on the script for pre-eden changes and dharma integration. But if the user wants this ability now, they can change line 212 in file xbmcscript_trivia.py from:
Code:
xbmc.Player().play( self.playlist )
to
Code:
xbmc.Player().play( item=self.playlist, windowed=True )
Though I haven't tested it, the documentation says it should do the job.