Kodi Community Forum
Another External Player Code, but Very Simple to Setup - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: Another External Player Code, but Very Simple to Setup (/showthread.php?tid=116724)



RE: Another External Player Code, but Very Simple to Setup - bluray - 2013-01-27

(2013-01-27, 13:25)chrisuk11 Wrote: I have added / edited the relevant files.
However whenever I try and play an mkv through XBMC it now keeps trying to play all files through TMT5 ? I only want it to play the bluray discs in the drive? Sad
You can post your playercorefactory codes in here.......




RE: Another External Player Code, but Very Simple to Setup - Filom - 2013-01-27

When blue ray booting via xbmc, I get a cli screen in Win7, it causes, the blue ray menu screen, on my TV does not display properly.
Is there a way to avoid this cli screen? Huh

playercorefactory:

<playercorefactory>
<players>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>I:\Users\Play\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>I:\Users\Play\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="Disc_Player" type="ExternalPlayer" audio="false" video="true">
<filename>I:\Users\Play\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
<filename>I:\Program Files\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>

</player>
</players>
<rules action="prepend">
<!-- Bluray ISO -->
<rule filename=".*iso.*" player="ISO_Player"/>
<!-- Bluray BDMV -->
<rule filename=".*bdmv.*" player="BDMV_Player"/>
<!-- Bluray Disc -->
<rule protocols="bd" player="Disc_Player"/>
</rules>
</playercorefactory>

thank you Laugh


RE: Another External Player Code, but Very Simple to Setup - acejh1987 - 2013-01-28

(2013-01-27, 20:07)Filom Wrote: When blue ray booting via xbmc, I get a cli screen in Win7, it causes, the blue ray menu screen, on my TV does not display properly.
Is there a way to avoid this cli screen? Huh

Try changing hideconsole to true, it should hide the command line box.



RE: Another External Player Code, but Very Simple to Setup - deadspeak - 2013-02-01

Hi Guys,

I'm trying to get frodo to launch TMT5 MCE as my external player for blu-ray iso file. But all i get is the menu to select the play list.
If go and doubleclick the iso.bat file then that opens up tmt5 no problem.
It appears to be a problem with frodo not mounting the iso images.
Below are my playercorefactory and iso.bat files.
Any help with this would be greatly appreciated. THis is the final piece to replacing windows mce completly.

<playercorefactory>
<players>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Paul\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>

</player>
<player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\dell\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>

</player>
<player name="Disc_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Dell\AppData\Roaming\XBMC\userdata\PlayDisc.exe</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>

</player>
<player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
<filename>D:\Media Player Classic - Home Cinema\mpc-hc.exe</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>

</player>
</players>
<rules action="prepend">
<!-- Bluray ISO -->
<rule filenames="iso" filetypes="iso" player="ISO_Player"/>
<!-- Bluray BDMV -->
<rule filenames="bdmv" filetypes="bdmv" player="BDMV_Player"/>
<!-- Bluray M2TS -->
<rule filenames="m2ts" filetypes="m2ts" player="Universal_Player"/>
<!-- Bluray MKV -->
<rule filenames="mkv" filetypes="mkv" player="Universal_Player"/>
<!-- Bluray AVI -->
<rule filenames="avi" filetypes="avi" player="Universal_Player"/>
<!-- Bluray TS -->
<rule filenames="ts" filetypes="ts" player="Universal_Player"/>

<!-- Bluray Disc -->
<rule filetypes="bd|ifo" player="Disc_Player"/>

</rules>
</playercorefactory>





@echo off
rem you can place your PlayISO file in \Roaming\XBMC\userdata\
rem you need to put the correct VCDMount drive letter in the command below

"C:\Program Files (x86)\Elaborate Bytes\VirtualCloneDrive\VCDMount.exe" /d=0 %1
"C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe" E:


Cheers
Paul



RE: Another External Player Code, but Very Simple to Setup - bluray - 2013-02-01

(2013-02-01, 00:42)deadspeak Wrote: Hi Guys,

I'm trying to get frodo to launch TMT5 MCE as my external player for blu-ray iso file. But all i get is the menu to select the play list.
Cheers
Paul
Try the simpler playercorefactory below-

playercorefactory.xml

<playercorefactory>
<players>
<player name="ISO_BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\Dell\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\Dell\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}"</args>
<hidexbmc>True</hidexbmc>
<hideconsole>true</hideconsole>
<forceontop>false</forceontop>

</player>
<player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
<filename>D:\Media Player Classic - Home Cinema\mpc-hc.exe</filename>
<args>"{1}"</args>
<hidexbmc>True</hidexbmc>
<hideconsole>true</hideconsole>
<forceontop>false</forceontop>


</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>

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 5\uTotalMediaTheatre5.exe" J:
"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\uTotalMediaTheatre5.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\uTotalMediaTheatre5.exe" %pth% exit
GOTO end

:end
exit

Since ISO and BDMV are combined with a single .bat, you can delete the PlayBDMV.bat from roaming folder......



RE: Another External Player Code, but Very Simple to Setup - unztopable - 2013-02-02

How do I incorporate VLC into XBMC, specifically for OpenElec?


RE: Another External Player Code, but Very Simple to Setup - Skank - 2013-02-03

Bluray, if i want to use the stock xbmc player (dvdplayer) for all dvd ifo files what do i enter then?


RE: Another External Player Code, but Very Simple to Setup - bluray - 2013-02-03

(2013-02-03, 11:27)Skank Wrote: Bluray, if i want to use the stock xbmc player (dvdplayer) for all dvd ifo files what do i enter then?
You can simply leave ifo out of the rule, and you'll be left with <rule filetypes="bd" player="Disc_Player"/>....




RE: Another External Player Code, but Very Simple to Setup - Skank - 2013-02-03

(2013-02-03, 21:04)bluray Wrote:
(2013-02-03, 11:27)Skank Wrote: Bluray, if i want to use the stock xbmc player (dvdplayer) for all dvd ifo files what do i enter then?
You can simply leave ifo out of the rule, and you'll be left with <rule filetypes="bd" player="Disc_Player"/>....

Bd or dvd? For filetype?
And should disc player be dvdplayer?


RE: Another External Player Code, but Very Simple to Setup - bluray - 2013-02-03

(2013-02-03, 23:00)Skank Wrote:
(2013-02-03, 21:04)bluray Wrote:
(2013-02-03, 11:27)Skank Wrote: Bluray, if i want to use the stock xbmc player (dvdplayer) for all dvd ifo files what do i enter then?
You can simply leave ifo out of the rule, and you'll be left with <rule filetypes="bd" player="Disc_Player"/>....

Bd or dvd? For filetype?
And should disc player be dvdplayer?
The rule is for external player only. If you don't want to playback DVD disc through external player, you can leave it out the rule. It'll playback using XBMC internal player....




RE: Another External Player Code, but Very Simple to Setup - wheatfield - 2013-02-03

I apologize in advance if this has been already answered, but when I use the BDMV player with uMCEPlayer5, it stops at the drive selection menu and doesn't load the movie.


RE: Another External Player Code, but Very Simple to Setup - bluray - 2013-02-04

(2013-02-03, 23:56)wheatfield Wrote: I apologize in advance if this has been already answered, but when I use the BDMV player with uMCEPlayer5, it stops at the drive selection menu and doesn't load the movie.
Make sure to enable "Use a fullscreen window rather than true fullscree" in XBMC video output....




RE: Another External Player Code, but Very Simple to Setup - Skank - 2013-02-04

(2013-02-03, 23:15)bluray Wrote:
(2013-02-03, 23:00)Skank Wrote:
(2013-02-03, 21:04)bluray Wrote: You can simply leave ifo out of the rule, and you'll be left with <rule filetypes="bd" player="Disc_Player"/>....

Bd or dvd? For filetype?
And should disc player be dvdplayer?
The rule is for external player only. If you don't want to playback DVD disc through external player, you can leave it out the rule. It'll playback using XBMC internal player....

Its actually like this: i'm using the dsplayer build
Now i want to use the dsplayer for all movie files , but for dvd files (not disc) i want to use the internal player...
So i want to know how i add this...


RE: Another External Player Code, but Very Simple to Setup - wheatfield - 2013-02-04

(2013-02-04, 06:49)bluray Wrote:
(2013-02-03, 23:56)wheatfield Wrote: I apologize in advance if this has been already answered, but when I use the BDMV player with uMCEPlayer5, it stops at the drive selection menu and doesn't load the movie.
Make sure to enable "Use a fullscreen window rather than true fullscree" in XBMC video output....

I have that option enabled. Actually, XBMC minimizes as it should. TMT5 opens up, but that's where it stops and goes no further, on the TMT5 menu screen.


RE: Another External Player Code, but Very Simple to Setup - bluray - 2013-02-04

(2013-02-04, 17:26)wheatfield Wrote:
(2013-02-04, 06:49)bluray Wrote:
(2013-02-03, 23:56)wheatfield Wrote: I apologize in advance if this has been already answered, but when I use the BDMV player with uMCEPlayer5, it stops at the drive selection menu and doesn't load the movie.
Make sure to enable "Use a fullscreen window rather than true fullscree" in XBMC video output....

I have that option enabled. Actually, XBMC minimizes as it should. TMT5 opens up, but that's where it stops and goes no further, on the TMT5 menu screen.
Did it give you option to select or press movie to start?


(2013-02-04, 09:10)Skank Wrote:
(2013-02-03, 23:15)bluray Wrote:
(2013-02-03, 23:00)Skank Wrote: Bd or dvd? For filetype?
And should disc player be dvdplayer?
The rule is for external player only. If you don't want to playback DVD disc through external player, you can leave it out the rule. It'll playback using XBMC internal player....

Its actually like this: i'm using the dsplayer build
Now i want to use the dsplayer for all movie files , but for dvd files (not disc) i want to use the internal player...
So i want to know how i add this...
I'm not familiar with Dsplayer. With Frodo and Eden, you don't need any rule to playback DVD file through internal player. You might want to relay your question to Dsplayer threat for help.....