External video player playing mp3's despite not being set to do so
#1
Having a problem where mpc-hc is playing my audio files despite the playercorefactory.xml being set to use the internal player, any help greatly appreciated. It uses the internal players when I go to Music->Singles, but if I go to Music->Artists it uses mpc-hc. My current playercorefactory.xml is:

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

    </player>
</players>

<rules action="prepend">
<rule filename=".*mkv.*" player="MPC-HC"/>
<rule filename=".*m2ts.*" player="MPC-HC"/>
<rule filename=".*mts.*" player="MPC-HC"/>
<rule filename=".*ts.*" player="MPC-HC"/>
<rule filename=".*avi.*" player="MPC-HC"/>
<rule filename=".*mp4.*" player="MPC-HC"/>
<rule filename=".*xvid.*" player="MPC-HC"/>
</rules>
</playercorefactory>
Reply
#2
I'd suggest using the filetypes rule rather than filename, if you're only intending to match on the file extension.

A single rule:
Code:
<rule filetypes="mkv|m2ts|mts|ts|avi|mp4|xvid" player="MPC-HC"/>
would suffice.

Why this is likely connected to your issue with music files is because with your filename rules the match can occur anywhere in the file path.

So with the music in the library, when you go via the Artists...
Reply
#3
That worked great, thank you
Reply

Logout Mark Read Team Forum Stats Members Help
External video player playing mp3's despite not being set to do so0