Kodi Community Forum

Full Version: Playercorefactory question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
MPC-HC to play file types listed below.
TMT3 to play bluray folders and ISO.

Will this code work properly?

<playercorefactory>
<players>
<player name="TMTMCEPlayer" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\ArcSoft\TotalMedia Theatre 3\uMCEDVDPlayer.exe</filename>
<args>"D:"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\MPC-HC\mplayerc.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<rule name="Blu-Ray" protocols="bd" player="TMTMCEPlayer"/>
<rule filetypes="mkv" player="MPC-HC">
<rule filetypes="wmv" player="MPC-HC">
<rule filetypes="avi" player="MPC-HC">
<rule filetypes="m2ts" player="MPC-HC">
<rule filetypes="ts" player="MPC-HC">
<rule dvd="true" player="MPC-HC"/>
</rules>
</playercorefactory>
In the rules section your missing the / from the end of several of the <rule element, e.g.

Code:
<rule filetypes="mkv" player="MPC-HC">

should be

Code:
<rule filetypes="mkv" player="MPC-HC" />

It's always a good idea to double click any XML files you write to see if they will open in Internet Explorer. In this case IE reported the missing /.

Other than that the file looks OK. I don't have MPC-HC installed, but when I edited the file to use MPlayer it worked as expected. If you find the file doesn't work enable debug logging and the xbmc.log should tell you what's going wrong.

JR
no, the bd protocol is only used with bluray discs.
So how do I get bd iso to play in tmt3?
kedda Wrote:So how do I get bd iso to play in tmt3?

Either name them in some obvious way that you can pick up from a rule, or play the iso by pressing C and selecting "Play using" from the context menu.

JR
Horst's comment here is a good place to reference to get the blu ray iso to work. I used it and it worked great! http://forum.xbmc.org/showthread.php?tid...t=isomount