2015-04-17, 23:48
Hi all,
I've just completed renovating a room into a home theatre with 106" screen and it really feels like being at Vue Cinema!
I currently use PowerDVD 14 as an external player but was wondering if it was possible to modify the XML code so that the Pearl & Dean Intro is automatically played each time before a movie starts in PowerDVD (the Pearl & Dean Intro is currently in MP4 format).
playercorefactory
<playercorefactory>
<players>
<player name="PowerDVD" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\?\AppData\Roaming\Kodi\userdata\PowerDVD.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
</player>
</players>
<rules action="prepend">
<rule filetypes="iso|bdmv|mpls" player="PowerDVD"/>
</rules>
</playercorefactory>
PowerDVD
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)\CyberLink\PowerDVD14\Movie\PowerDVD Cinema\PowerDVDCinema.exe" E:
"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 (x86)\CyberLink\PowerDVD14\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\PowerDVD14\Movie\PowerDVD Cinema\PowerDVDCinema.exe" %pth% exit
GOTO end
:end
exit
I've just completed renovating a room into a home theatre with 106" screen and it really feels like being at Vue Cinema!
I currently use PowerDVD 14 as an external player but was wondering if it was possible to modify the XML code so that the Pearl & Dean Intro is automatically played each time before a movie starts in PowerDVD (the Pearl & Dean Intro is currently in MP4 format).
playercorefactory
<playercorefactory>
<players>
<player name="PowerDVD" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\?\AppData\Roaming\Kodi\userdata\PowerDVD.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
</player>
</players>
<rules action="prepend">
<rule filetypes="iso|bdmv|mpls" player="PowerDVD"/>
</rules>
</playercorefactory>
PowerDVD
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)\CyberLink\PowerDVD14\Movie\PowerDVD Cinema\PowerDVDCinema.exe" E:
"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 (x86)\CyberLink\PowerDVD14\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\PowerDVD14\Movie\PowerDVD Cinema\PowerDVDCinema.exe" %pth% exit
GOTO end
:end
exit