Win HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players ISO Menus
I followed the guide to enable playing ISO files on my Windows HTPC, but I am running into an issue where the ISO file isn't actually being mounted, so MPC-HC continues to error out "cannot render file" and I don't see the ISO being mounted in the Windows Explorer either. Here is the BAT file and the PCF file respectively. Please take a look and let me know where the issue is:

PCF file:
<playercorefactory>
<players>
    <player name="isoPlayer" type="ExternalPlayer" audio="false" video="true">
      <filename>C:\Users\XYZ\AppData\Roaming\Kodi\userdata\PlayISO.bat</filename>
      <args>"{1}"</args>
      <hidexbmc>false</hidexbmc>
      <hideconsole>false</hideconsole>
      <warpcursor>none</warpcursor>
      <forceontop>false</forceontop>
      <playcountminimumtime>1140</playcountminimumtime>
    </player>
    <player name="MPC-HC" type="ExternalPlayer" audio="false" video="true">
      <filename>C:\Program Files\MPC-HC\mpc-hc64.exe</filename>
      <args>"{1}" /fullscreen /close</args>
      <hidexbmc>false</hidexbmc>
      <hideconsole>false</hideconsole>
      <warpcursor>none</warpcursor>
      <forceontop>false</forceontop>
      <playcountminimumtime>1140</playcountminimumtime>
    </player>
</players>
<rules action="prepend">
    <rule filetypes="iso" player="isoPlayer"/>
    <rule filetypes="mkv|avi|bdmv|mpls|m2ts" player="MPC-HC"/>
    <rule internetstream="true" player="VideoPlayer"/>
</rules>
</playercorefactory>


PlayISO.bat file:
Set file=%1
Set dummy=%file:iso=%
IF NOT %dummy% == %file% (GOTO playiso) ELSE (goto next)

:next
Set file=%1
Set dummy=%file:mpls=%
IF NOT %dummy% == %file% (GOTO plaympls) ELSE (goto playbdmv)

:playiso
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /enable
timeout /t 3
"C:\Program Files\MPC-HC\mpc-hc64.exe" A:
"C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvstlink.exe" /disable
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 /u
GOTO end

:plaympls
set pth=%1
set pth=%pth:~1,-25%
"C:\Program Files\MPC-HC\mpc-hc64.exe" "%pth%" exit
GOTO end

:playbdmv
set pth=%1
set pth=%pth:BDMV\MovieObject.bdmv=%
set pth=%pth:BDMV\index.bdmv=%
"C:\Program Files\MPC-HC\mpc-hc64.exe" %pth% exit
GOTO end

:end
exit

Where am I going wrong? Please help.
Reply


Messages In This Thread
RE: Kodi 3D Guide - by brazen1 - 2015-06-15, 22:20
RE: Kodi 3D Guide - by brazen1 - 2015-06-15, 22:29
RE: Kodi 3D Guide - by michaelsammler - 2015-06-22, 00:38
RE: Kodi 3D Guide - by brazen1 - 2015-06-23, 17:15
RE: Kodi 3D Guide - by michaelsammler - 2015-06-24, 02:23
RE: Kodi 3D Guide - by brazen1 - 2015-06-24, 17:22
RE: Kodi 3D Guide - by michaelsammler - 2015-06-25, 09:26
HELP! - by brazen1 - 2018-08-22, 18:50
RE: HELP! - by zxaura1 - 2018-08-24, 09:32
Problem with DXVA scaling videos - by obstler - 2018-10-27, 10:13
RE: HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players - by the_jaguar - 2019-05-02, 13:29
Logout Mark Read Team Forum Stats Members Help
HOW TO - Kodi 2D - 3D - UHD (4k) HDR Guide Internal & External Players ISO Menus39