2012-01-26, 03:41
archedrapier Wrote:hello i want to have the built-in dvdplayer as my default player and i want to be able to right-click and press "play using..." and use mpc-hc only for those that i chose. They will not always be a certain file type or name. So how do i go about doing that in the playercorefactory.xml file?You can used these codes:
Thanks in advance!
Note- you can place your PlayDisc.bat and Playercorefactory.xml files in \Roaming\XBMC\userdata\
PlayDisc.bat
@echo off
rem if your DVD-ROM drive is not E you need to enter the correct drive
"C:\Program Files\Media Player Classic - Home Cinema\mpc-hc64.exe" E:
Playercorectory.xml
<playercorefactory>
</player>
<player name="Disc_Player" type="ExternalPlayer" audio="false" video="true">
[COLOR="green"]<!-- You need to change the path below to match PlayDisc path on your HTPC -->
<filename>C:\Users\Dell\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<rule name="Blu-Ray" protocol="bd" player="Disc_Player"/>>
</rules>
</playercorefactory>[/COLOR]