Project

General

Profile

Actions

Bug #9

closed

Support windowed video in scripts

Added by maltesf over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
arnova
Category:
Python Code and/or Scripts
Target version:
Start date:
Due date:
% Done:

0%

Resolution:
fixed
Affected Version:

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:

xbmc4xbox:
http://xbmc4xbox.svn.sourceforge.net/viewvc/xbmc4xbox/trunk/xbmc/lib/libPython/xbmcmodule/player.cpp?revision=30357&view=markup

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

Actions

Also available in: Atom PDF