2012-07-02, 13:42
Here's the latest playercorefactory.xml i've tried. None of my files have filetype-ish names. F.x. Master & Commander.iso and not Master & Commander.bdmv.iso.
And the batch files...
PlayBDMV.bat
PlayDisc.bat
PlayISO.bat - This one's modified a lot... the modifications allow PowerDVD to autostart the movie, and every other second it checks if PowerDVD is still running, and if not it'll unmount the image.
With the above playercorefactory.xml every type of AV media just starts PowerDVD with the previous selected drive. Nothing else happens. In fact, almost every combination of rules makes selecting any AV media start PowerDVD with either defualt drive or a previous manually selected drive. I'm trying to get XBMC to start PowerDVD and autoplay when I insert a BD-disc or select a movie with a BD-disc file structure (e.g. BDMV folder and so on). I'm on the Eden PVR v3 margro build because I don't want to use 3 different media center software for 1 complete solution. Live-TV is a necessity, and at the same time I'd rather have 1 complete (or at least almost 1 complete) UI solution.
Hope there's a solution... thanks a lot anyways!
Code:
<playercorefactory>
<players>
<player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Media Center\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="Disc_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Media Center\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\CyberLink\PowerDVD12\PDVDLaunchPolicy.exe</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>
<rules action="prepend">
<rule filetypes="bdmv" player="BDMV_Player"/>
<rule filetypes="m2ts" player="Universal_Player"/>
<rule name="Blu-Ray" protocols="bd" player="Disc_Player"/>
</rules>
</playercorefactory>
And the batch files...
PlayBDMV.bat
Code:
@echo off
set pth=%1
set pth=%pth:BDMV\index.bdmv=%
"C:\Program Files (x86)\CyberLink\PowerDVD12\PDVDLaunchPolicy.exe" %pth% exit
PlayDisc.bat
Code:
@echo off
"C:\Program Files (x86)\CyberLink\PowerDVD12\PDVDLaunchPolicy.exe" F:
PlayISO.bat - This one's modified a lot... the modifications allow PowerDVD to autostart the movie, and every other second it checks if PowerDVD is still running, and if not it'll unmount the image.
Code:
@echo off
"C:\Program Files (x86)\CyberLink\PowerDVD12\PDVDLaunchPolicy.exe" G:
timeout /T 2
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
:loop
timeout /T 2
tasklist /FI "IMAGENAME eq PowerDVDCinema12.exe" 2>NUL | find /I /N "PowerDVDCinema12.exe">NUL
if "%ERRORLEVEL%"=="0" goto loop
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 /u
With the above playercorefactory.xml every type of AV media just starts PowerDVD with the previous selected drive. Nothing else happens. In fact, almost every combination of rules makes selecting any AV media start PowerDVD with either defualt drive or a previous manually selected drive. I'm trying to get XBMC to start PowerDVD and autoplay when I insert a BD-disc or select a movie with a BD-disc file structure (e.g. BDMV folder and so on). I'm on the Eden PVR v3 margro build because I don't want to use 3 different media center software for 1 complete solution. Live-TV is a necessity, and at the same time I'd rather have 1 complete (or at least almost 1 complete) UI solution.
Hope there's a solution... thanks a lot anyways!