2013-02-09, 13:37
(2013-02-09, 13:17)acejh1987 Wrote: The player names have to match the player names in the rules
try changing this line
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
to
<player name="ISO_BDMV_Player" type="ExternalPlayer" audio="false" video="true">
It might just be a typo but your BAT file is missing the first few lines too.
I tryed but It is not work.
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\Elaborate Bytes\VCDMount.exe" /d=0 %1
"C:\Program Files\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe" E:
"C:\Program Files\Elaborate Bytes\VCDMount.exe" /d=0 /u
GOTO end
:plaympls
set pth=%1
set pth=%pth:~1,-25%
"C:\Program Files\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\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe" %pth% exit
GOTO end
:end
exit
Code:
<playercorefactory>
<players>
<player name="ISO_BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\HTPC\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>True</hidexbmc>
<hideconsole>true</hideconsole>
<forceontop>false</forceontop>
</player>
<player name=""Disc_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\HTPC\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}" /fullscreen</args>
<forceontop>true</forceontop>
<hidexbmc>true</hidexbmc>
<hidecursor>false</hidecursor>
</player>
<player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
<filename>c:\Program Files\MPC-HC\mpc-hc.exe</filename>
<args>"{1}" /fullscreen</args>
<forceontop>true</forceontop>
<hidexbmc>true</hidexbmc>
<hidecursor>false</hidecursor>
</player>
</players>
<rules action="prepend">
<!-- Bluray ISO/BDMV -->
<rule filetypes="iso|bdmv|mpls" player="ISO_BDMV_Player"/>
<!-- Multiple files -->
<rule filetypes="m2ts|mkv|avi|ts" player="Universal_Player"/>
<!-- Bluray Disc -->
<rule filetypes="bd|ifo" player="Disc_Player"/>
</rules>
</playercorefactory>
What is the wrong? If I click on the movie It will not anything happen