Hi everyone!
So I got myself a bluray
player the other day and then I came to this thread!
What's most important to me is to play my bluray discs (I'm using PowerDVD 14), I haven't yet ripped them or anything, but it would be nice to have that setup also for future use.
If I run
PlayDisc.bat I get the desired result, the movie starts in fullscreen. Instead if I run
PlayBDMV.bat it just opens
PowerDVD and I have to click play myself, which is not what I want. So PlayDisc.bat is the preferred way to launch the disc - but instead it uses
PlayBDMV.bat, easy fix I guess...
...but...here comes the weird part...when I rightclick the D: drive in XBMC and choose "Play Disc", not much happens, no difference if I'm using
PlayDisc.bat or
PlayBDMV.bat in the configuration in
playercorefactory.xml, it just says "
External Player Active" - "Click OK when playback has ended".
If I then check in Windows Taskmanager, it doesn't even launch PowerDVD, but...again, if use the .bat-files directly from Windows Explorer it starts, and again, by running
PlayDisc.bat, I get the result I want, when choosing "Play Disc" in XBMC.
Any one? Greatful for any help!
playercorefactory.xml
Code:
<playercorefactory>
<players>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="false">
<filename>C:\Users\techmo01\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}" /fullscreen</args>
<forceontop>false</forceontop>
<hidexbmc>false</hidexbmc>
<hidecursor>false</hidecursor>
</player>
<player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\techmo01\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename>
<args>"{1}" /fullscreen</args>
<forceontop>true</forceontop>
<hidexbmc>true</hidexbmc>
<hidecursor>false</hidecursor>
</player>
<player name="Disc_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\techmo01\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}" /fullscreen</args>
<forceontop>false</forceontop>
<hidexbmc>false</hidexbmc>
<hidecursor>false</hidecursor>
</player>
<player name="Universal_Player" type="ExternalPlayer" audio="false" video="false">
<filename>C:\Program Files (x86)\CyberLink\PowerDVD14\PowerDVD.exe</filename>
<args>"{1}" /fullscreen</args>
<forceontop>false</forceontop>
<hidexbmc>false</hidexbmc>
<hidecursor>false</hidecursor>
</player>
</players>
<rules action="prepend">
<!-- Bluray ISO -->
<rule filename=".*iso.*" player="ISO_Player"/>
<!-- Bluray BDMV -->
<rule filename=".*bdmv.*" player="BDMV_Player"/>
<!-- Bluray MKV -->
<rule filename=".*mkv.*" player="Universal_Player"/>
<!-- Bluray M2TS -->
<rule filename=".*m2ts.*" player="Universal_Player"/>
<!-- Bluray Disc -->
<rule protocols="bd" player="Disc_Player"/>
</rules>
</playercorefactory>
PlayDisc.bat
Code:
@echo off
rem you can place your PlayDisc file in \Roaming\XBMC\userdata\
"C:\Program Files (x86)\CyberLink\PowerDVD14\PowerDVD.exe" D:
PlayBDMV.bat
Code:
@echo off
rem you can place your PlayBDMV file anywhere
set pth=%1
set pth=%pth:BDMV\index.bdmv=%
"C:\Program Files (x86)\CyberLink\PowerDVD14\PowerDVD.exe" %pth% exit
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
"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
"C:\Program Files (x86)\CyberLink\PowerDVD14\PowerDVD.exe" F:
"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\PowerDVD.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\PowerDVD.exe" %pth% exit
GOTO end
:end
exit
...and last but not least...
xbmc.log - I just copied the interesting bits...
Code:
18:59:21 T:8344 NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
18:59:21 T:8344 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
18:59:21 T:8344 NOTICE: Loaded playercorefactory configuration
18:59:21 T:8344 NOTICE: Loading player core factory settings from special://profile/playercorefactory.xml.
18:59:21 T:8344 NOTICE: Loaded playercorefactory configuration
18:59:56 T:8344 NOTICE: ExternalPlayer Filename: C:\Users\techmo01\AppData\Roaming\XBMC\userdata\PlayBDMV.bat
18:59:56 T:8344 NOTICE: ExternalPlayer Tweaks: hideconsole (true), hidexbmc (true), islauncher (false), warpcursor ()
18:59:56 T:8344 NOTICE: CExternalPlayer::OpenFile: D:\BDMV\index.bdmv
18:59:56 T:8608 NOTICE: Thread ExternalPlayer start, auto delete: false
18:59:56 T:8608 NOTICE: CExternalPlayer::Process: Player : C:\Users\techmo01\AppData\Roaming\XBMC\userdata\PlayBDMV.bat
18:59:56 T:8608 NOTICE: CExternalPlayer::Process: File : D:\BDMV\index.bdmv
18:59:56 T:8608 NOTICE: CExternalPlayer::Process: Content:
18:59:56 T:8608 NOTICE: CExternalPlayer::Process: Args : "{1}" /fullscreen
18:59:56 T:8608 NOTICE: CExternalPlayer::Process: Start
18:59:56 T:8608 NOTICE: CExternalPlayer::Process: Hiding XBMC window
18:59:56 T:8300 NOTICE: Thread BackgroundLoader start, auto delete: false
18:59:57 T:8608 NOTICE: CExternalPlayer::ExecuteAppW32: "C:\Users\techmo01\AppData\Roaming\XBMC\userdata\PlayBDMV.bat" "D:\BDMV\index.bdmv" /fullscreen
18:59:57 T:8608 NOTICE: CExternalPlayer::ExecuteAppW32: WAIT_OBJECT_0
18:59:57 T:8608 NOTICE: CExternalPlayer::Process: XBMC cannot stay hidden for a launcher process
19:00:16 T:8608 NOTICE: CExternalPlayer::Process: Stop
19:00:16 T:8608 NOTICE: CExternalPlayer::Process: Showing XBMC window