2015-05-18, 20:55
This is the code I am trying right now:
powercorefactory:
PlayISO.bat:
When it runs the iso mounts and PowerDVDCinema starts. However it's not playing the H: drive. I am getting this:
As you can see it's looking at H: drive. Then I need to click the mouse and I will get this screen:
From here if I select H: this screen comes up:
If I click restart all works.
Also when I stop the movie it doesn't clock PowerDVD. I would like it to close to go back to Kodi.
If anyone knows what I might be doing wrong that would be great!
powercorefactory:
Code:
<playercorefactory>
<players>
<player name="ISO_BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Ray\AppData\Roaming\Kodi\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>True</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<!-- Bluray ISO -->
<!-- Bluray ISO/BDMV -->
<rule filetypes="iso|bdmv|mpls" player="ISO_BDMV_Player"/>
</rules>
</playercorefactory>
PlayISO.bat:
Code:
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
"D:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
"C:\Program Files (x86)\CyberLink\PowerDVD15\Movie\PowerDVD Cinema\PowerDVDCinema.exe" H:
"D:\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 (x86)\CyberLink\PowerDVD15\Movie\PowerDVD Cinema\PowerDVDCinema.exe" "%pth%" exit
GOTO end
:playbdmv
set pth=%1
set pth=%pth:BDMV\MovieObject.bdmv=%
set pth=%pth:BDMV\index.bdmv=%
"C:\Program Files (x86)\CyberLink\PowerDVD15\Movie\PowerDVD Cinema\PowerDVDCinema.exe" %pth% exit
GOTO end
:end
exit
When it runs the iso mounts and PowerDVDCinema starts. However it's not playing the H: drive. I am getting this:
As you can see it's looking at H: drive. Then I need to click the mouse and I will get this screen:
From here if I select H: this screen comes up:
If I click restart all works.
Also when I stop the movie it doesn't clock PowerDVD. I would like it to close to go back to Kodi.
If anyone knows what I might be doing wrong that would be great!