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 - Pandorum - 2012-05-30

thanks for the quick answer

all the files you mention are in UserData folder and all paths are directed.

I have checked and "Microsoft Visual C + + 2010 Redistributable Package (x86)" there is.

Perhaps it is important. I have Nvidia Geforce 220 ​​that has a VGA and an HDMI / HTHD output. So there is a monitor connected to VGA and 1080p HD to HDMI.
XBMC starts up in 1080p.


RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-05-30

(2012-05-30, 00:31)Pandorum Wrote: thanks for the quick answer

all the files you mention are in UserData folder and all paths are directed.

I have checked and "Microsoft Visual C + + 2010 Redistributable Package (x86)" there is.

Perhaps it is important. I have Nvidia Geforce 220 ​​that has a VGA and an HDMI / HTHD output. So there is a monitor connected to VGA and 1080p HD to HDMI.
XBMC starts up in 1080p.
Can you post your bat/xml codes in here? Maybe, we might be able help you out.....




RE: Another External Player Code, but Very Simple to Setup - Pandorum - 2012-05-30

Of course I will.
(I removed mkv part because it did not work for me and let XBMC control mkv.
The only thing that has changed is the advice you gave bugdog's first question "1. Is there anyway to get the external player to launch (TMT5) without flashing to the desktop and flashing the blue TMT5-MCE screen before playing the movie?".)

Here you go:

<playercorefactory>
<players>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>I:\Users\xx\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>I:\Users\xx\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>I:\Users\xx\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 (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 Disc -->
<rule protocols="bd" player="Disc_Player"/>
</rules>
</playercorefactory>




RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-05-30

@Pandorum-

If you don't want to see desktop, here are the codes-

<playercorefactory>
<players>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>I:\Users\xx\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\xx\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\xx\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>false</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 Disc -->
<rule protocols="bd" player="Disc_Player"/>
</rules>
</playercorefactory>


RE: Another External Player Code, but Very Simple to Setup - Pandorum - 2012-05-30

(2012-05-30, 18:01)bluray Wrote: @Pandorum-

If you don't want to see desktop, here are the codes-

<playercorefactory>
<players>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>I:\Users\xx\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\xx\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\xx\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>false</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 Disc -->
<rule protocols="bd" player="Disc_Player"/>
</rules>
</playercorefactory>

thanks for that Laugh. But two questions.

1: Will the new code help on my black screen problem?
2. where is TMT5 code ?



RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-05-30

(2012-05-30, 20:16)Pandorum Wrote: thanks for that Laugh. But two questions.

1: Will the new code help on my black screen problem?
Make sure that all PlayDisc.bat, PlayISO.bat and PlayBDMV.bat and Playercorefactory.xml are save in <I:\Users\xx\AppData\Roaming\XBMC\userdata> folder. Is your roaming folder in "I" drive? It's usually in "C" driver.

(2012-05-30, 20:16)Pandorum Wrote: 2. where is TMT5 code ?
It's in PlayDisc.bat, PlayISO.bat and PlayBDMV.bat.




RE: Another External Player Code, but Very Simple to Setup - Pandorum - 2012-05-30

(2012-05-30, 21:37)bluray Wrote:
(2012-05-30, 20:16)Pandorum Wrote: thanks for that Laugh. But two questions.

1: Will the new code help on my black screen problem?
Make sure that all PlayDisc.bat, PlayISO.bat and PlayBDMV.bat and Playercorefactory.xml are save in <I:\Users\xx\AppData\Roaming\XBMC\userdata> folder. Is your roaming folder in "I" drive? It's usually in "C" driver.
(2012-05-30, 20:16)Pandorum Wrote: 2. where is TMT5 code ?
It's in PlayDisc.bat, PlayISO.bat and PlayBDMV.bat.


Yes to .bat + .xml.Yes to "I", I run vista and windows 7.Do not ask me why, it works best for me Big Grin
ok, I'll test it right now, thank you so much for your help Laugh




RE: Another External Player Code, but Very Simple to Setup - Pandorum - 2012-05-31

(2012-05-30, 23:18)Pandorum Wrote:
(2012-05-30, 21:37)bluray Wrote:
(2012-05-30, 20:16)Pandorum Wrote: thanks for that Laugh. But two questions.

1: Will the new code help on my black screen problem?
Make sure that all PlayDisc.bat, PlayISO.bat and PlayBDMV.bat and Playercorefactory.xml are save in <I:\Users\xx\AppData\Roaming\XBMC\userdata> folder. Is your roaming folder in "I" drive? It's usually in "C" driver.
(2012-05-30, 20:16)Pandorum Wrote: 2. where is TMT5 code ?
It's in PlayDisc.bat, PlayISO.bat and PlayBDMV.bat.


Yes to .bat + .xml.Yes to "I", I run vista and windows 7.Do not ask me why, it works best for me Big Grin
ok, I'll test it right now, thank you so much for your help Laugh


it did not work as it should.Sad
the black screen is gone,Smile
but blu-ray movies on disk does not start up.Sad
I get a pop-up screen where it stand that "External Player" is running, press ok and noting!


RE: Another External Player Code, but Very Simple to Setup - bluray - 2012-05-31

(2012-05-31, 01:21)Pandorum Wrote: it did not work as it should.Sad
the black screen is gone,Smile
but blu-ray movies on disk does not start up.Sad
I get a pop-up screen where it stand that "External Player" is running, press ok and noting!
Is your roaming folder look identical as shown below, especially under "Type" column.....

Image

Make sure that TMT5 is configured as shown below......

Image

Do you have this "Microsoft Visual C++ 2010 Redistributable Package (x86)" in your HTPC?

You can verify the code by double click on Playercorefactory, PlayDisc, PlayISO and PlayBDMV. When double click on Playercorefactory, it will display the codes via IE without any error. When double click on PlayDisc, PlayISO and PlayBDMV, it will launch TMT5.......




RE: Another External Player Code, but Very Simple to Setup - paolo1982 - 2012-05-31

the external player is started but does not start yet, if I say I do in tastodestro open with me and see the various iso br.ecc. but no one starts .. where wrong and besides how do I open the files in the folders and not bluray iso please help me I'm going crazy
this is my playercore factory

<playercorefactory>
<players>
<player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<!-- You can place your PlayBDMV file anywhere -->
<filename>C:\Users\Dell\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\Dell\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\Dell\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-05-31

@paolo-
Here is what you need to do-

1. Download these files:
a. Playcorefactory
b. PlayBDMV
c. PlayDisc
d. PlayISO

2. Save downloaded files in "\Users\xxx\AppData\Roaming\XBMC\userdata" folder

3. Replace all "Dell" in Playercorefactory codes with the correct user name in your HTPC

You should be able to playback blu-ray files using TMT5 as external player afterward......


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

Hi bluray
I changed it this way hoping that it works, I followed the pattern that you've posted to a user like me does not want to start visuallizzare the desktop you can check if everything is ok please.
I have another doubt, but the 4 files are copied only in userdata in xbmc right?

<playercorefactory>
<players>
<player name="ISO_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Utenti\Pablo Media Player\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>C:\Utenti\Pablo Media Player\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>C:\Utenti\Pablo Media Player\AppData\Roaming\XBMC\userdata\PlayDisc.bat</filename>
<args>"{1}" /fullscreen</args>
<hidexbmc>false</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 Disc -->
<rule protocols="bd" player="Disc_Player"/>
</rules>
</playercorefactory>


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

does not work does not start properly appointed external player but I still get the codecision with wordpad not know what to do ..... I have tried everything but I do not know more than the head.

single result falls outside the player started writing press ok but then will not start anything


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

(2012-06-01, 15:48)paolo1982 Wrote: does not work does not start properly appointed external player but I still get the codecision with wordpad not know what to do ..... I have tried everything but I do not know more than the head.

single result falls outside the player started writing press ok but then will not start anything
Check out the userdata folder carefully, and you can find my screen shot here- post #609.....it is not wordpad, and it should be notepad.....it should be saved as PlayDisc.bat, PlayISO.bat and PlayBDMV.bat and Playercorefactory.xml (Save as type: All Files)......




RE: Another External Player Code, but Very Simple to Setup - Pandorum - 2012-06-02

(2012-05-31, 04:00)bluray Wrote:
(2012-05-31, 01:21)Pandorum Wrote: it did not work as it should.Sad
the black screen is gone,Smile
but blu-ray movies on disk does not start up.Sad
I get a pop-up screen where it stand that "External Player" is running, press ok and noting!
Is your roaming folder look identical as shown below, especially under "Type" column.....

Image

Make sure that TMT5 is configured as shown below......

Image

Do you have this "Microsoft Visual C++ 2010 Redistributable Package (x86)" in your HTPC?

You can verify the code by double click on Playercorefactory, PlayDisc, PlayISO and PlayBDMV. When double click on Playercorefactory, it will display the codes via IE without any error. When double click on PlayDisc, PlayISO and PlayBDMV, it will launch TMT5.......

thank you so much for your help, appreciate the time you spend to help us all.Rofl

Now it works (almost), I used notepad and changed the "I: \ Program Files (68) \ ArcSoft \ TotalMedia Theatre 5 \ uMCEPlayer5.exe"%% PTH exit "
to
" I: \ Program Files \ ArcSoft \ TotalMedia Theatre 5 \ uMCEPlayer5.exe "%% PTH exit" + has put all. xml and. bat in the "UserData" folder = TMT5 started up like it should.

But, the framerate is not good,movie plays slowly and the sound + TV pictures are not in sync. Is there something I have overlooked.

Have a Nvidia Geforce 220 ​​and my Blu-Ray drive is a LG
BH10LS38 Blu-ray and has a ordinary LCD 1080p TV