2005-05-10, 06:33
i have modified the startupmp3.py script to start a video when xbmc starts, but the video is maximized. how can i change the script to play the video minimized automatically? i ask this because project mayhem iii has a really nice feature of minimizing music and videos to the background. here is the code in the python script i am using:
===== start =====
import xbmc
file = 'path\to\video.mpeg'
xbmc.player().play(file)
===== stop =====
===== start =====
import xbmc
file = 'path\to\video.mpeg'
xbmc.player().play(file)
===== stop =====