2013-03-30, 01:44
Hi everyone. I hope someone can help me with my scripts that I've tried to build by going through this topic. So I'm running TMT6 next to XBMC and I only want TMT to be called upon when selecting content that XBMC can't handle (well). The moment I try to open an ISO, the ISO mounts fine, TMT starts, the ISO (bluray) loads and after the first menu TMT shuts down or crashes and I'm back in XBMC again. Here are my scripts:
Playercorefactory file:
<playercorefactory>
<players>
<player name="ISO_BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\%username%\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>True</hidexbmc>
</player>
<player name="DISC_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\%username%\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}"</args>
<hidexbmc>True</hidexbmc>
</player>
</players>
<rules action="prepend">
<!-- Bluray ISO -->
<rule filetypes="iso|bdmv|mpls" player="ISO_BDMV_Player"/>
<!-- Bluray Disc -->
<rule filetypes="bd|ifo" player="DISC_Player"/>
</rules>
</playercorefactory>
PlayISO.bat:
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 6\uTotalMediaTheatre6.exe" G:
GOTO end
:plaympls
set pth=%1
set pth=%pth:~1,-25%
"C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 6\uTotalMediaTheatre6.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 6\uTotalMediaTheatre6.exe" %pth% exit
GOTO end
:end
exit
PlayDISC.bat:
@echo off
"C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 6\uTotalMediaTheatre6.exe" F:
Does anyone know what's wrong?
EDIT: turns out that I had a driver problem and that's why total media did not recognize any audio anymore. After reinstalling my Radeon drivers this issue had been fixed. Haven't fully tested these scripts yet though, if anyone can take a quick look and check if everything should be ok that would be great.
EDIT 2: ISO's load well. I have a problem with opening a BDMV folder/disc though. Selection through XBMC goes normally, I select the movie, select to play main title, TMT starts but shows no disc/movie and doesn't start playing of course. Anyone knows why not?
Playercorefactory file:
<playercorefactory>
<players>
<player name="ISO_BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\%username%\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>True</hidexbmc>
</player>
<player name="DISC_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\%username%\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}"</args>
<hidexbmc>True</hidexbmc>
</player>
</players>
<rules action="prepend">
<!-- Bluray ISO -->
<rule filetypes="iso|bdmv|mpls" player="ISO_BDMV_Player"/>
<!-- Bluray Disc -->
<rule filetypes="bd|ifo" player="DISC_Player"/>
</rules>
</playercorefactory>
PlayISO.bat:
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 6\uTotalMediaTheatre6.exe" G:
GOTO end
:plaympls
set pth=%1
set pth=%pth:~1,-25%
"C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 6\uTotalMediaTheatre6.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 6\uTotalMediaTheatre6.exe" %pth% exit
GOTO end
:end
exit
PlayDISC.bat:
@echo off
"C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 6\uTotalMediaTheatre6.exe" F:
Does anyone know what's wrong?
EDIT: turns out that I had a driver problem and that's why total media did not recognize any audio anymore. After reinstalling my Radeon drivers this issue had been fixed. Haven't fully tested these scripts yet though, if anyone can take a quick look and check if everything should be ok that would be great.
EDIT 2: ISO's load well. I have a problem with opening a BDMV folder/disc though. Selection through XBMC goes normally, I select the movie, select to play main title, TMT starts but shows no disc/movie and doesn't start playing of course. Anyone knows why not?