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 - 2012-04-23

(2012-04-22, 23:32)andyd Wrote: Sorry to bother again on this but I can't figure out what's going on with my Star Wars bluray rips

All other bluray rips launch properly. If I load the movie manually into TMT5, that works. But if I try to launch within XBMC, it will return a VCDMount error which should never happen?
Check VCD drive that is dedicated for ISO to make sure that there is nothing mounted on it......




RE: Another External Player Code, but Very Simple to Setup - andyd - 2012-04-23

Definitely nothing mounted. I can switch between blurays no problem. It's just Star Wars that is giving me problems. What are the chances that the path name length is too long? It's set up like this...

\\HOMESERVER\Videos\Movies\Bluray\The Star Wars Saga\Star Wars Episode I - The Phantom Menace\BDMV


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

(2012-04-23, 02:30)andyd Wrote: Definitely nothing mounted. I can switch between blurays no problem. It's just Star Wars that is giving me problems. What are the chances that the path name length is too long? It's set up like this...

\\HOMESERVER\Videos\Movies\Bluray\The Star Wars Saga\Star Wars Episode I - The Phantom Menace\BDMV
I'm not quite sure then.....you can try to save it to a different name but shorter name....and try to playback it!




RE: Another External Player Code, but Very Simple to Setup - wraslor - 2012-04-23

Figured it out! The args caused the problem. Setting to only {0} and it all works.

<playercorefactory>
<players>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\media center\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\media center\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="Disc_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\media center\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>C:\Program Files (x86)\CyberLink\PowerDVD11\PDvdlaunchpolicy.exe</filename>
<args>"{0}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</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 M2TS -->
<rule filename=".*m2ts.*" player="Universal_Player"/>

<!-- Bluray Disc -->
<rule protocols="bd|dvd" player="Disc_Player"/>
</rules>
</playercorefactory>



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

(2012-04-23, 16:25)wraslor Wrote: Figured it out! The args caused the problem. Setting to only {1} and it all works.

<player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\CyberLink\PowerDVD11\pDvdlaunchpolicy.exe</filename>
<args>"{1}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
There is always one last try as I mentioned in post #553. I'm glad that it works out well for you.....every HTPC works slightly different....Nod




RE: - Monkeysweat - 2012-04-24

(2011-12-12, 15:59)bluray Wrote:
jhsrennie Wrote:Minor quibble (very minor really):



This is only needed if you're using a remote that doesn't use the eHome driver, i.e. not a Microsoft remote, HP remote, or other MS compatible remote. With eHome remotes you can configure the green button to do anything you want including starting XBMC.

JR
Thanks. I found that this launcher is very consistent. It's working great with my HP remote. I'm trying to make it as simple as possible for others to use it. It's ready out of the box sort of speak. Smile

I find in Windows, the best way to get xbmc to launch is to pin it next to the start button and then in MCEremote addon to assign "win-1" to the green button on the remote. This allows you to launch XBMC and to REFOCUS if a popup comes up or something.


RE: Another External Player Code, but Very Simple to Setup - Ghostdivision - 2012-04-26

If i just wanted an external player to play actual physical blu-ray discs, and not my bluray folder rips on my hard drive would I need just this rule

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


Also is there anyway to play a physical bluray disc in xbmc, im not quite clear on this.


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

(2012-04-26, 14:45)Ghostdivision Wrote: If i just wanted an external player to play actual physical blu-ray discs, and not my bluray folder rips on my hard drive would I need just this rule

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


Also is there anyway to play a physical bluray disc in xbmc, im not quite clear on this.
This rule will work better (<rule name="Blu-Ray" filename="E:\\.*" filetypes="bdmv" player="Disc_Player"/>).......

Since blu-ray discs are encrypted, XBMC will not work without help. If you install AnyDVD HD to run in the background, XBMC Play Disc option will playback blu-ray disc without external player......




RE: Another External Player Code, but Very Simple to Setup - Ghostdivision - 2012-04-27

Oh so, as long as i have anydvd running it will play the main movie then. Thanks.


RE: Another External Player Code, but Very Simple to Setup - Sonopanic - 2012-04-28

have read till page 8 and give it a try, but ended as bad as before.
On mkvs when TMT5 starts, xbmc shows a window "external player starts - press ok ..."

Bluray folder won´t start, but when i choose index.bdmv, the film starts with TMT5, but i can´t move or choose start in the BR Menu.

Not good at all, so far.

I have constellation on ipad and i need control of the timeline at films, but with mpc, i have no timeline. With TMT5 yes,
but how can i get rid of this %&/%!! external player announcement ?



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

(2012-04-28, 00:20)Sonopanic Wrote: have read till page 8 and give it a try, but ended as bad as before.
On mkvs when TMT5 starts, xbmc shows a window "external player starts - press ok ..."

Bluray folder won´t start, but when i choose index.bdmv, the film starts with TMT5, but i can´t move or choose start in the BR Menu.

Not good at all, so far.

I have constellation on ipad and i need control of the timeline at films, but with mpc, i have no timeline. With TMT5 yes,
but how can i get rid of this %&/%!! external player announcement ?
Can you post your playercorefactory code in here? Maybe, somebody or I can help you sort it out....

Are you trying to use TMT5 to playback MKV file and blu-ray disc?




RE: Another External Player Code, but Very Simple to Setup - Sonopanic - 2012-04-28

Yes, i try to use TMT5 for mkv and BR, because of the timeline control with ipad.
With MPC i cant jump to a scene.

<playercorefactory>
<players>
<player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<!-- You can place your PlayBDMV file anywhere -->
<filename>C:\Users\User\AppData\Roaming\XBMC\userdata\PlayBDMV.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>C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>

</player>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<!-- You can place your PlayISO file anywhere -->
<filename>C:\Users\User\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>

</player>
<player name="Disc_Player" type="ExternalPlayer" audio="false" video="true">
<!-- You can place your PlayDisc file anywhere -->
<filename>C:\Users\User\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>

</player>
</players>
<rules action="prepend">

<rule filetypes="bdmv" player="BDMV_Player"/>
<rule filetypes="m2ts|mkv|avi|ts" player="Universal_Player"/>
<rule filetypes="iso" player="ISO_Player"/>

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



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

@Sonopanic-
You can try the codes below to see if it make any different....

<playercorefactory>
<players>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\User\AppData\Roaming\XBMC\userdata\PlayISO.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\User\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="Disc_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\User\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>
<player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\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 MKV -->
<rule filename=".*mkv.*" player="Universal_Player"/>
<!-- Bluray M2TS -->
<rule filename=".*m2ts.*" player="Universal_Player"/>

<!-- Bluray Disc -->
<rule name="Blu-Ray" filename="E:\\.*" filetypes="bdmv" player="Disc_Player"/>
</rules>
</playercorefactory>


-After I selected the movie file, it start playing automatically on my HTPC. I didn't have to click anything else to start the movie. You can set TMT5 to Auto Fullscreen and Auto Play as shown in my screen shot below.....

Image


RE: Another External Player Code, but Very Simple to Setup - Ghostdivision - 2012-04-28

Quick question, does TMT work out of the box with mce remote? Or is there a way to make it work with mce remote?


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

(2012-04-28, 08:44)Ghostdivision Wrote: Quick question, does TMT work out of the box with mce remote? Or is there a way to make it work with mce remote?
Yes, mine work with MCE remote out of the box.....and it work better with uMCEPlayer5.exe!