2009-10-09, 04:03
Orio Wrote:Hello!
I've just read about the external player function today and I thought I would give it a try.
I read the wiki about creating the files needed in the "userdata" folder and I've done so.
Created the playercorefactory.xml with these lines.
Code:<playercorefactory>
<players>
<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
<filename>H:\Program\Media Player Classic\MPC HomeCinema\mpc-hc.exe</filename>
<args>/play /fullscreen /close </args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<hidecursor>false</hidecursor>
</player>
</players>
<rules>
<rule video="true" player="MPC-HC">
</rule>
</rules>
</playercorefactory>
With these settings , nothing happens in XBMC. I tried right click on a movie, play using external player-> Nothing happens.
I also edited the advancedsettings.xml and added these lines
Code:<advancedsettings>
<video>
<defaultplayer>externalplayer</defaultplayer>
</video>
<externalplayer>
<filename>H:\Program\Media Player Classic\MPC HomeCinema\mpc-hc.exe</filename>
<args>-fs</args>
<forceontop>true</forceontop>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<hidecursor>false</hidecursor>
</externalplayer>
</advancedsettings>
Same thing, nothing happens. When I start up XBMC, and play a movie it starts right away but Im guessing its not using MPC. Not sure how to tell if IT is using MPC.
Very glad for any help!
Thank you for a very nice program.
Sorry, what version of XBMC are you using? That will tell you if you need to use advancedsettings.xml or playercorefactory.xml... I suggest getting a recent SVN and use playercorefactory.xml... After all, soon 9.10 will be out and advancedsettings.xml support for external players will be depreciated..