Hey guys,
here is the way im using to get MPC-HC works correctly and opens in FS-mode.
Im using AutoIt V3, get it here
http://www.autoitscript.com/cgi-bin/getf...-setup.exe
My way... Windows is starting and XBMC is running automaticly. But not with XBMC.exe in autostart, there is an AutoIT script in autostart.
MPC-HC Settings, Output on EVR Custom and Direct3D Fullscreen (Remove tearing)
Code:
;; When this script starts it execute XBMC with args -fs -p (Fullscreen)
Run("C:\Program Files\XBMC\XBMC.exe -fs -p", "", "")
;; It waits for a window called "Media Player Classic Homecinema"
WinWait("Media Player Classic Homecinema")
;; When the window gets detected the script closes the XBMC process
ProcessClose("xbmc.exe")
;; Script sleeps for 10 seconds (Cause im starting files from lan (smb://) and it takes time)
Sleep(10000)
;; Wait closing the process mplayerc.exe (MPC-HC)
ProcessWaitClose("mplayerc.exe")
;; When the process gets closed it starts this script again and begins from first line (Im closing MPC-HC via iMon Pad after movies end)
Run("C:\autostart.exe")
;; Script end
Exit
And my advancedsettings.xml:
Code:
<advancedsettings>
<video>
<defaultplayer>externalplayer</defaultplayer>
</video>
<externalplayer>
<filename>C:\python26\python.exe</filename>
<args>c:\mplayerc.py</args>
<forceontop>true</forceontop>
<hideconsole>true</hideconsole>
<hidecursor>false</hidecursor>
</externalplayer>
</advancedsettings>
Im using a python script to get MPC-HC works with SMB, you must put in here the mplayerc.exe directly when you dont watch movies via SMB.
Im using AutoIt V3 for sooo much things, its very easy and good.
Hope it helps a little bit and sorry for my bad english.