2014-07-29, 06:57
This is a modified version of "bluray"'s code from the first post. It is working with Arcsoft Totalmedia 6.7.1 for DVD ISO, Bluray ISO, Bluray Folder, DVD Folder, MKV, TS, m2ts and AVI.
I suggest XBMC Launcher to make explorer.exe come back after closing XBMC
UPDATED
1.It always closes explorer before going to external player with no need of any other file to not see the taskbar during transition from XBMC to TMT6
2.When you play a mkv, ts, m2ts or avi you will not have to click Ok when you are back from external player.
When I figure it out how to enter directly to Show bluray menu when going to bluray disc I will share it. Greetings from Chile.
PlayDisc.bat
playercorefactory.xml
PlayISO.bat
PlayUniversal.bat
I suggest XBMC Launcher to make explorer.exe come back after closing XBMC
UPDATED
1.It always closes explorer before going to external player with no need of any other file to not see the taskbar during transition from XBMC to TMT6
2.When you play a mkv, ts, m2ts or avi you will not have to click Ok when you are back from external player.
When I figure it out how to enter directly to Show bluray menu when going to bluray disc I will share it. Greetings from Chile.
PlayDisc.bat
PHP Code:
@echo off
rem you can place your PlayDisc file in \Roaming\XBMC\userdata\
Taskkill /IM explorer.exe /F
"C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 6\uLaunchTMT6.exe" D:
playercorefactory.xml
PHP Code:
<playercorefactory>
<players>
<player name="ISO_BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Germini\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>true</hideconsole>
<forceontop>false</forceontop>
</player>
<player name="Disc_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Germini\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>true</hideconsole>
<forceontop>false</forceontop>
</player>
<player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Germini\AppData\Roaming\XBMC\userdata\PlayUniversal.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<forceontop>false</forceontop>
<hideconsole>true</hideconsole>
</player>
</players>
<rules action="prepend">
<!-- Bluray ISO/BDMV/DVD/VIDEO_TS -->
<rule filetypes="iso|bdmv|mpls|ifo|dvd" player="ISO_BDMV_Player"/>
<!-- Multiple files -->
<rule filetypes="m2ts|mkv|avi|ts" player="Universal_Player"/>
<!-- Bluray Disc -->
<rule filetypes="bd" player="Disc_Player"/>
</rules>
</playercorefactory>
PlayISO.bat
PHP Code:
Taskkill /IM explorer.exe /F
set pth=%1
set pth=%pth:~1,-22%
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 next2)
:next2
Set file=%1
Set dummy=%file:ifo=%
IF NOT %dummy% == %file% (GOTO playifo) 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" D:
"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 6\uTotalMediaTheatre6.exe" "%pth%"
GOTO end
:playifo
set pth=%1
set pth=%pth:~1,-22%
"C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 6\uTotalMediaTheatre6.exe" "%pth%"
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%
GOTO end
:end
exit
PlayUniversal.bat
PHP Code:
Taskkill /IM explorer.exe /F
set pth=%1
set pth=%pth:~1,-1%
"C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 6\uTotalMediaTheatre6.exe" "%pth%"
exit