Kodi Community Forum

Full Version: External player Playcorefactory question
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Guys, I managed to get it working that MPC-BE plays my .m2ts (2D) movies as external player. What do I need to add to my playercorefactory to make it work so it keeps running my 2D movies (.m2ts files) with MPC-HC and my .ISO (3D) movies with PowerDVD? My playercorefactory now looks like this:

Code:
<playercorefactory>
<players>
   <player name="MPC-BE" type="ExternalPlayer" audio="false" video="true">
     <filename>C:\Program Files (x86)\MPC-BE\mpc-be.exe</filename>
     <args>"{1}" /fullscreen /close</args>
     <hidexbmc>false</hidexbmc>
     <hideconsole>false</hideconsole>
     <warpcursor>none</warpcursor>
   </player>
</players>
<rules action="prepend">
   <rule filetypes="mkv|m2ts|mov|bdmv|mpls" player="MPC-BE"/>
</rules>
</playercorefactory>
I have my 3D ISOs lablled: moviename.3D.ISO

So insert a player definition in the players section of Playcorefactory for an ISO_Player such as (with file path renamed appropriately):

<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\owner\AppData\Roaming\Kodi\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>


Then insert a rule in the rules section:

<rule filename=".*3D.*" player="ISO_Player"/>



Finally, create a PlayISO.bat file and place in the userdata folder. The following works for me with PowerDVD14:


:playiso
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
Timeout /t 5 /nobreak
"C:\Program Files (x86)\CyberLink\PowerDVD14\Movie\PowerDVD Cinema\PowerDVDCinema.exe" AUTOPLAY BD D:\
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0
:end
exit


Change path names as appropriate and you will also have to enable 3D mode on PowerDVD and install VirtualCloneDrive. For the latter the drive letter may also need changing in the bat file.

Good luck