2016-07-22, 03:26
I am struggling trying to get Kodi to use MPC-HC as external player but for whatever the reason, it skip that and use internal decoder, ffmpeg. I created playercorefactory.xml and put it in the masterprofile, Appdata/roaming/kodi/userdata. The log show it did list MPC-HC as the external player but refuse to use it. It show that it is using ffmpeg and CDVDDemuxFFmpeg to handle the file. I set the rule to use MKV in MPC-HC, but it simply won't. I am not sure if I did it wrong. I check the wiki and guide and everything seem to be right but it is not working. I am not sure if Kodi is picky on the pathline or a custom mpc-hc such as KCP.
How can I get it to use the external player?
Here the debug log
Here the playercorefactory.xml
Edited: Posted a debug log in pastebin
How can I get it to use the external player?
Here the debug log
Here the playercorefactory.xml
Code:
<playercorefactory>
<players>
<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\KCP\MPC-HC\mpc-hc.exe</filename>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<rule filetypes="mkv" player="MPC-HC"/>
<rules name="system rules">
<rule name="mms/udp" protocols="mms|mmsh|udp" player="DVDPlayer" />
<rule name="lastfm/shout" protocols="lastfm|shout" player="PAPlayer" />
<rule name="rtmp" protocols="rtmp" player="videodefaultplayer" />
<!-- dvdplayer can play standard rtsp streams -->
<rule name="rtsp" protocols="rtsp" filetypes="!(rm|ra)" player="PAPlayer" />
<!-- Internet streams -->
<rule name="streams" internetstream="true">
<rule name="aacp/sdp" mimetypes="audio/aacp|application/sdp" player="DVDPlayer" />
<rule name="mp2" mimetypes="application/octet-stream" filetypes="mp2" player="PAPlayer" />
</rule>
<!-- DVDs -->
<rule name="dvd" dvd="true" player="DVDPlayer" />
<rule name="dvdimage" dvdimage="true" player="DVDPlayer" />
<!-- Only dvdplayer can handle these normally -->
<rule name="sdp/asf" filetypes="sdp|asf" player="DVDPlayer" />
<!-- Pass these to dvdplayer as we do not know if they are audio or video -->
<rule name="nsv" filetypes="nsv" player="DVDPlayer" />
<!-- pvr radio channels should be played by dvdplayer because they need buffering -->
<rule name="radio" filetypes="pvr" filename=".*/radio/.*" player="DVDPlayer" />
</rules>
</playercorefactory>
Edited: Posted a debug log in pastebin