Project

General

Profile

Actions

Bug #9

closed

Support windowed video in scripts

Added by maltesf almost 14 years ago. Updated almost 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 #1

Updated by ldotsfan almost 14 years ago

r25951 from mainline/trunk needs to be merged first since the stSettings struct was removed in that revision.

Actions #2

Updated by arnova almost 14 years ago

From the looks of it, it only needs merging r16987. Nothing to do with the stSettings struct....

Actions #3

Updated by arnova almost 14 years ago

  • Status changed from New to In Progress
Actions #4

Updated by arnova almost 14 years ago

  • Status changed from In Progress to Closed
  • Resolution set to fixed

Fixed in r30423

Actions

Also available in: Atom PDF