Bug #9
closedSupport windowed video in scripts
0%
Description
Actually it is not possible to start a video in windowed mode when started within a script.
ldotsfan found out that there is a missing codeline in xbmc4xbox trunk:
xbmc (line 131)
http://xbmc.svn.sourceforge.net/viewvc/xbmc/trunk/xbmc/lib/libPython/xbmcmodule/player.cpp?revision=30459&view=markup
This line is missing:
// set fullscreen or windowed g_settings.m_bStartVideoWindowed = (0 != bWindowed);
I wrote a simple test script that starts a video in windowed mode. It works on windows but plays fullscreen on xbox: http://romcollectionbrowser.googlecode.com/files/WindowedVideoTest.zip
To test this, just go to resources\lib\gui.py and update line 24 with the path to a video on your xbox.
Would be great if you could integrate this functionality in xbmc4box.
regards,
malte
Updated by ldotsfan over 14 years ago
r25951 from mainline/trunk needs to be merged first since the stSettings struct was removed in that revision.
Updated by arnova over 14 years ago
From the looks of it, it only needs merging r16987. Nothing to do with the stSettings struct....
Updated by arnova over 14 years ago
- Status changed from In Progress to Closed
- Resolution set to fixed
Fixed in r30423