2013-01-06, 14:01
Ghostdivision - Do you need both BDMV Folder and BD ISO working?
If you only need one its a easier fix.
If you need both working you need to combine the PlayBDMV and PlayISO rules and Bat files into one.
First in playercorefactory.xml you will only need one player for ISO and BDMV.
So get rid of one of the players in playercorefactory.xml
Lets assume you keep "ISO_Player" you can remove the following
Now change the rules to
Now you can delete the PlayBDMV.bat as it won't be used
Change the contents of PlayISO.bat to this
This batch file will check what file XBMC is sending (Either ISO, BDMV or MPLS)
The file type will then determine what part of the bat file it uses.
When launching ISO and BDMV folders in Frodo you can select any option on the Frodo popup menu, it will still work.
Let me know if something doesn't work or if you have problems.
If you only need one its a easier fix.
If you need both working you need to combine the PlayBDMV and PlayISO rules and Bat files into one.
First in playercorefactory.xml you will only need one player for ISO and BDMV.
So get rid of one of the players in playercorefactory.xml
Lets assume you keep "ISO_Player" you can remove the following
Code:
<player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:UsersMontyAppDataRoamingXBMCuserdataPlayBDMV.bat</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
Now change the rules to
Code:
<rules action="prepend">
<!-- Bluray ISO -->
<rule filetypes="iso|bdmv|mpls" player="ISO_Player"/>
<!-- Bluray MKV -->
<rule filename=".*mkv.*" player="Universal_Player"/>
<!-- Bluray M2TS -->
<rule filename=".*m2ts.*" player="Universal_Player"/>
<!-- Bluray Disc -->
<rule protocols="bd|dvd" player="Disc_Player"/>
</rules>
Now you can delete the PlayBDMV.bat as it won't be used
Change the contents of PlayISO.bat to this
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)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe" H:
"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)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.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)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe" %pth% exit
GOTO end
:end
exit
This batch file will check what file XBMC is sending (Either ISO, BDMV or MPLS)
The file type will then determine what part of the bat file it uses.
When launching ISO and BDMV folders in Frodo you can select any option on the Frodo popup menu, it will still work.
Let me know if something doesn't work or if you have problems.