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 - bluray - 2012-05-02 17:57

(2012-05-02 17:35)DBott Wrote:  
(2012-05-02 03:40)bluray Wrote:  
(2012-05-01 22:31)DBott Wrote:  Greetings...

Thanks Bluray for your help and support.

I am using your main files that plays everything through TMT5 as the XBMC for some reason is a little jumpy for me if I don't exit out and restart it before I play.
David Bott
I'm glad that you got it to work......Nod

If you still having problem with stuttering, you can try these-

<hidexbmc>true</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>

The Stuttering issue is with XBMC, not TMT5. It is weird, for if I come into XBMC from the desktop I can play just fine. If I leave it in XBMC for some time and then go to play something, it can stutter. It drops frames now and again. Thus TMT5 use.

One new thing...With everything going thought your all in one solution...I can no longer play trailers.

Are the above commands for XMBC player? Are you suggesting just trying these settings in the file vs the settings that run TMT5? Just checking.


Thanks

David
The above codes are for XBMC external player, and it can be changed in "playercorefactory". If you right click "playercorefactory" and then select edit, you'll see the codes in it.

You can specify the type of files for playback using TMT5 in "playercorefactory" rule, and the un-specified files still can playback using XBMC......


RE: Another External Player Code, but Very Simple to Setup - jh87 - 2012-05-07 02:14

I have tried two days and unable to get TMT 5 work. Can anyone tell if xbmc able to launch TMT 5 to play bluray folder file on hard drive.


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

(2012-05-07 02:14)jh87 Wrote:  I have tried two days and unable to get TMT 5 work. Can anyone tell if xbmc able to launch TMT 5 to play bluray folder file on hard drive.
Yes, with the playercorefactory codes below:

Playercorefactory.xml

<playercorefactory>
<players>
<player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Users\log in name go here\AppData\Roaming\XBMC\userdata\PlayBDMV.bat</filename>
<args>"{1}"</args>
<hidexbmc>false</hidexbmc>
<hideconsole>true</hideconsole>
<warpcursor>none</warpcursor>
</player>

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

<!-- Bluray BDMV -->
<rule filename=".*bdmv.*" player="BDMV_Player"/>

</rules>
</playercorefactory>


PlayBDMV.bat

@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 (x86)\ArcSoft\TotalMedia Theatre 5\uMCEPlayer5.exe" %pth% exit



RE: Another External Player Code, but Very Simple to Setup - ali2k1 - 2012-05-10 11:44

thank you bluray i finally got powerdvd12 to work. i had to map ctrl n to remote which minimzes it comes back to xbmc. i can play my files now. thank u


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

(2012-05-10 11:44)ali2k1 Wrote:  thank you bluray i finally got powerdvd12 to work. i had to map ctrl n to remote which minimzes it comes back to xbmc. i can play my files now. thank u
I'm glad that it work out for you.......Nod


RE: Another External Player Code, but Very Simple to Setup - Greenja - 2012-05-13 12:18

Thanks for this guide Bluray, i'm having a bit of trouble that i'm hoping you or someone else could help me with though.

I've copied your .bat and .xml files from the first post and i'm using PowerDVD12. I've edited the .xml and .bat files to point to my "username" folder and to the location of the PowerDVD12 executable.

I only have MKV files so that is all i've tested with, but when I go to play an MKV through XBMC then PowerDVD12 opens, but no file is played. Its like the file is not being passed to PowerDVD12.

I've been trying for the last couple of days to get this to work but no luck, really hoping someone here can help me out! Smile


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

@greenja-

Can you post your playercorefactory codes in here? Maybe, somebody or I can take a look at it for you....


RE: Another External Player Code, but Very Simple to Setup - Greenja - 2012-05-13 19:50

<playercorefactory>
<players>
<player name="BDMV_Player" type="ExternalPlayer" audio="false" video="true">
<!-- You can place your PlayBDMV file anywhere -->
<filename>C:\Users\Greenja\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)\CyberLink\PowerDVD12\PDVDLaunchPolicy.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\Greenja\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\Greenja\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>


Thanks bluray, any help would be greatly appreciated.


RE: Another External Player Code, but Very Simple to Setup - ali2k1 - 2012-05-14 00:21

with powerdvd12 it has to be running from xbmc when you play a movie it will play. i let pdvd12 to run on startup i delayed xbmc by 10 sec. the problem is when you play a movie you have to stop it and then minimize pdvd12 with ctrl n which i mapped to the remote otherwise when you play another movie it doesnt work. then i had the problem where xbmc would lose focus and my remote would not respond but i got it sorted with hide taskbar. it works very well im happy.
here is link for hidetaskbar if you need it

http://www.sevenforums.com/customization/79667-remove-taskbar-100-a.html

i hope i can help!


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

@Greenja-
Try these codes for Universal_Player:

<player name="Universal_Player" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\CyberLink\PowerDVD12\PDVDLaunchPolicy.exe</filename>
<args>"{0}"</args>
<hidexbmc>true</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>


and these rules:

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