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

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Windows support (/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 - Hail.ceasar - 2012-06-17 17:24

Hello Bluray,

I am getting so frustrated with this codes. please help.

I am using the codes below for TMT 5 but i can not launch bdmv folder files from XBMC . It only launches bluray iso files;

<playercorefactory>
<players>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\MediaPC\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\ArcSoft\TotalMedia Theatre 5\uTotalMediaTheatre5.exe</filename>
<args>"{1}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="Bluray_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\ArcSoft\TotalMedia Theatre 5\uTotalMediaTheatre5.exe</filename>
<args>"{E:}"</args>
<hidexbmc>true</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="Universal_Player"/>
<rule filename=".*sbs3d.mkv*" protocols="*sbs3d.mkv*" player="Universal_Player"/>
<rule name="Blu-Ray" filename="E:\\.*" filetypes="bdmv" player="Bluray_Player"/>
</rules>
</playercorefactory>

<rule filetypes="bdmv" player="BDMV_Player"/>
<rule filetypes="iso" player="ISO_Player"/>

<rule name="Blu-Ray" protocol="bd" player="Disc_Player"/>>
</rules>
</playercorefactory>

Bat code:

@echo off
rem you can place your PlayBDMV file in \Roaming\XBMC\userdata\
set pth=%1
set pth=%pth:BDMV\index.bdmv=%
"C:\Program Files\ArcSoft\TotalMedia Theatre 5\uTotalMediaTheatre5.exe" %pth% exit


Please help

thanks


RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-06-17 17:44

(2012-06-17 15:48)fracharmant Wrote:  hi. guys i followed the instructions at the beginning...but i don't know why it doesn't work..
if i double click on the batch files they works right...but if i try to play it from xbmc it doesn't work..
please help !!
What blu-ray file do you want to playback using external player? Do you have all .bat and .xml files in roaming/xbmc/userdata? You can post your codes in here, and we'll see what you have in it.....


RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-06-17 17:56

@Hail.ceasar,
Remember what I said- TMT5 and PDVD11 works slightly different, and it required different playercorefactory codes. TMT5 required PlayBDMV.bat codes, and PDVD11 doesn't. If you mix the codes, it'll not work. Here is your complete codes-

Playercorefactory.xml:

<playercorefactory>
<players>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\MediaPC\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
<players>
<player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\MediaPC\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename>
<args>"{1}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\ArcSoft\TotalMedia Theatre 5\uTotalMediaTheatre5.exe</filename>
<args>"{1}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="Bluray_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\ArcSoft\TotalMedia Theatre 5\uTotalMediaTheatre5.exe</filename>
<args>"{E:}"</args>
<hidexbmc>true</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"/>
<rule filename=".*sbs3d.mkv*" protocols="*sbs3d.mkv*" player="Universal_Player"/>
<rule name="Blu-Ray" filename="E:\\.*" filetypes="bdmv" player="Bluray_Player"/>
</rules>
</playercorefactory>


PlayBDMV.bat:

@echo off

set pth=%1
set pth=%pth:BDMV\index.bdmv=%
"C:\Program Files\ArcSoft\TotalMedia Theatre 5\uTotalMediaTheatre5.exe" %pth% exit


RE: Another External Player Code, but Very Simple to Setup - Hail.ceasar - 2012-06-17 18:01

Thanks so much bluray.. you are a star. I will try them out and let you know


RE: Another External Player Code, but Very Simple to Setup - Hail.ceasar - 2012-06-17 18:16

Hello bluray. I used you new codes for TMT5. now XBMC dosent even try to launch the external player but just plays the file in XBMC straight away Sad

I didnnt change anything in the code. what could the problem be?

cheers




(2012-06-17 17:56)bluray Wrote:  @Hail.ceasar,
Remember what I said- TMT5 and PDVD11 works slightly different, and it required different playercorefactory codes. TMT5 required PlayBDMV.bat codes, and PDVD11 doesn't. If you mix the codes, it'll not work. Here is your complete codes-

Playercorefactory.xml:

<playercorefactory>
<players>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\MediaPC\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
<players>
<player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\MediaPC\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename>
<args>"{1}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\ArcSoft\TotalMedia Theatre 5\uTotalMediaTheatre5.exe</filename>
<args>"{1}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="Bluray_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files\ArcSoft\TotalMedia Theatre 5\uTotalMediaTheatre5.exe</filename>
<args>"{E:}"</args>
<hidexbmc>true</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"/>
<rule filename=".*sbs3d.mkv*" protocols="*sbs3d.mkv*" player="Universal_Player"/>
<rule name="Blu-Ray" filename="E:\\.*" filetypes="bdmv" player="Bluray_Player"/>
</rules>
</playercorefactory>


PlayBDMV.bat:

@echo off

set pth=%1
set pth=%pth:BDMV\index.bdmv=%
"C:\Program Files\ArcSoft\TotalMedia Theatre 5\uTotalMediaTheatre5.exe" %pth% exit



RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-06-17 21:01

@Hail.ceasar-
I make it easier for you. You can simply download and paste TMT5 files below in your roaming/xbmc/userdata folder-

1. playercorefactory.xml
2. PlayISO.bat
3. PlayBDMV.bat
4. PlayDisc.bat

I want to read good news from you this time......


RE: Another External Player Code, but Very Simple to Setup - Hail.ceasar - 2012-06-17 23:04

Guess what bluray its working now .. YaY!!!Laugh

I had to change the option in System setting to " use true fullscreen" and it allowed the TMT5 to launch. DO not know why this would have been a problem but there you and it and am certainly not complaining..

Will have a play and let you know. Thanks once again for all your help.

cheers

Big Grin


(2012-06-17 21:01)bluray Wrote:  @Hail.ceasar-
I make it easier for you. You can simply download and paste TMT5 files below in your roaming/xbmc/userdata folder-

1. playercorefactory.xml
2. PlayISO.bat
3. PlayBDMV.bat
4. PlayDisc.bat

I want to read good news from you this time......



RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-06-18 00:04

(2012-06-17 23:04)Hail.ceasar Wrote:  Guess what bluray its working now .. YaY!!!Laugh

I had to change the option in System setting to " use true fullscreen" and it allowed the TMT5 to launch. DO not know why this would have been a problem but there you and it and am certainly not complaining..

Will have a play and let you know. Thanks once again for all your help.

cheers

Big Grin
That is what I want to read from you......Nod

As far as fullscreen, you can do it two ways. You can either set external player codes to launche TMT5 in fullscreen or set TMT5 to launch in fullscreen.........it still should launch external player without fullscreen though..........


RE: Another External Player Code, but Very Simple to Setup - Hail.ceasar - 2012-06-18 00:25

Ok will try and play with it and hopefully not break it..lol

Is there no way at all to launch powerdvd12 with these codes?


RE: Another External Player Code, but Very Simple to Setup - shaktoo - 2012-06-18 13:28

has anyone got 3D subtitles working with PDVD11 ?
1- @Bluray the issue regarding on closing / exiting PDVD11 xbmc dosent take focus again and stays sitting in taskbar perists. Have you got everything working OK ? so on closing PDVD XBMC should "comeback " take focus again right .. , please help .
2- Also some films have foreign language parts ( e.g John Carter has Alien language parts ) and one would need 3D subtitles ( as there is a solution with idx/vob subtitling here's the thread----http://forum.xbmc.org/showthread.php?pid=990965%23pid990965#post990965, is working well in xbmc player but not in pdvd )
3- on a completely seperate note what is the difference between xbmc's native player playing 3D sbs content and PDVD ( just for the sbs content not for discs / ISO's).The Main issue as far as I was concerned was not thatxbmc could not play the sbs files but that it would not change the TV to the 3D mode automatically and one had to do that manually, This I think is that pdvd & other external softwares can work synergistically with the nvidia card ( that I have ) and hence achieve this. Could Xbmc be made to play friendly with Nvidia drivers and achieve this ?
meanwhile what I will try is add a sequence to my activity in logitech harmony one remote to switch tv to 3d SBS mode and that might do the trick at least in the short term . Any thoughts Anyone ?