2011-12-12, 11:48
Can anyone PLEASE tell me how to write a playercorefactory.xml file that will allow me to mount and play (in MPC-HC) both dvd iso's as well as bluray iso's?
Here is my current playercorefactory file:
<playercorefactory>
<players>
<player name="mpc-hc-mkv" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\Media Player Classic - Home Cinema\mpc-hc.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="mpc-hc-bluray-iso" type="ExternalPlayer" audio="false" video="true">
<filename>C:\FOR_XBMC\BATCH_FILES\playblurayiso.bat</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="mpc-hc-dvd-iso" type="ExternalPlayer" audio="false" video="true">
<filename>C:\FOR_XBMC\BATCH_FILES\playdvdiso.bat</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<rule filetypes="mkv" filename="*MKV*" player="mpc-hc-mkv"/>
<rule filetypes="iso" filename="*.bluray" player="mpc-hc-bluray-iso"/>
<rule filetypes="iso" filename="*.dvd" player="mpc-hc-dvd-iso"/>
</rules>
</playercorefactory>
I believe the rules (at the end of the file) are the problem.
The first one works great for my MKV's, and the second works for my blurays, but it seems like the third one is never even read. Seems like that second rule is being applied to all my iso's, which makes the dvd iso's fail as they have a different directory structure and require a different MPC-HC command line to play. Do I have a syntax problem here?
Any suggestions?
Thanks very much.
Here is my current playercorefactory file:
<playercorefactory>
<players>
<player name="mpc-hc-mkv" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\Media Player Classic - Home Cinema\mpc-hc.exe</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="mpc-hc-bluray-iso" type="ExternalPlayer" audio="false" video="true">
<filename>C:\FOR_XBMC\BATCH_FILES\playblurayiso.bat</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="mpc-hc-dvd-iso" type="ExternalPlayer" audio="false" video="true">
<filename>C:\FOR_XBMC\BATCH_FILES\playdvdiso.bat</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<rule filetypes="mkv" filename="*MKV*" player="mpc-hc-mkv"/>
<rule filetypes="iso" filename="*.bluray" player="mpc-hc-bluray-iso"/>
<rule filetypes="iso" filename="*.dvd" player="mpc-hc-dvd-iso"/>
</rules>
</playercorefactory>
I believe the rules (at the end of the file) are the problem.
The first one works great for my MKV's, and the second works for my blurays, but it seems like the third one is never even read. Seems like that second rule is being applied to all my iso's, which makes the dvd iso's fail as they have a different directory structure and require a different MPC-HC command line to play. Do I have a syntax problem here?
Any suggestions?
Thanks very much.