2015-03-29, 01:05
(2015-03-28, 21:34)lewwatt Wrote:(2015-03-28, 18:52)pagali Wrote: I think the problem might be in your <filename> line. It needs to be an actual full filename, usually the executable, for the program you want to use. For instance, mine is:Thanks for the speedy reply!
<filename>C:\Program Files (X86)\MPC-HC\mpc-hc.exe</filename>
Once you get that working, so it shows up as a choice under Play using... , then add this code to your playercorefactory.xml file to make it play all videos (above the ending </playercorefactory> tag):
<rules action="prepend">
<rule video="true" player="MPC-HC" />
</rules>
I actually did have the '.exe' at the end originally, but I must have lost that in one of my numerous copy-pastes of other people's configurations. But, I didn't know that the 'prepend' rule was a necessity, and I had removed that in my configurations, thinking that it was just an unnecessary condition for using MPC-HC, when I wanted it to be unconditional. I've implemented your suggestion, and the situation has been improved by the fact that MPC-HC is now clearly my default program upon pressing play, rather than having to use the context menu - but Kodi still only flickers away, then straight back, as if nothing happened. MPC-HC doesn't even get launched.
My playercorefactory.xml file now reads as such:
Quote:<playercorefactory>
<players>
<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\KCP\mpc-hc.exe</filename>
<args>"{1}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<rule video="true" player="MPC-HC" />
</rules>
</playercorefactory>
If the information is of any relevancy, I have, in System > Video Output, enabled 'Use a fullscreen window rather than true fullscreen'. I am also running Windows 7, 64-bit.
Where should I turn to next?
If using MPC-HC, I would turn to this guide:
HOW TO - Launch MPC-HC/MPC-BE with madVR as an External Player