Kodi Community Forum

Full Version: External player problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys,

To set MPC-HC as external player I create this XML:


Code:
<playercorefactory>
<players>
    <player name="PlayISO" type="ExternalPlayer" audio="false" video="true">
    <filename>C:\Users\XXXXX\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
            <args>"{1}" /fullscreen /close</args>
            <hidexbmc>false</hidexbmc>
                 <hideconsole>false</hideconsole>
                 <warpcursor>none</warpcursor>  
        </player>

<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
    <filename>C:\ProgramFiles(x86)\MPC-HC\mpc-hc.exe</filename>
            <args>"{1}" /fullscreen /close</args>
            <hidexbmc>false</hidexbmc>
                 <hideconsole>false</hideconsole>
                 <warpcursor>none</warpcursor>  
        </player>
        </players>

        <rules action="prepend">
        <rule filetype="*.iso" video="true" player="PlayISO"/>
           <rule filetype="*.avi" video="true" player="MPC-HC"/>
           <rule filetype="*.mkv" video="true" player="MPC-HC"/>
           <rule filetype="*.mts" video="true" player="MPC-HC"/>        
       </rules>
</playercorefactory>

Isos play ok, but for all other video files XBMC shows "External Player activated" on the top but I can't see any player or video files


Help please!
I'd check the path to the mpc-hc executable, shouldn't there be a space between 'Program' and 'Files'?
(2014-03-25, 14:46)jdlive Wrote: [ -> ]I'd check the path to the mpc-hc executable, shouldn't there be a space between 'Program' and 'Files'?

I tried all option PrograFiles(x86), Program Files(x86), Program Files (x86) but no working Sad
I changed with:

<rule filetype="mkv|avi|m2ts" player="MPC-HC"/>
<rule filetype="iso" player="PlayISO"/>

And now avi works but ISO don't, the file.bat doesn't start