TotalMedia Theatre 6 External Player Fix
#1
Hi,

I'm new here but I've been hovering around XBMC for a while now. I've lately been trying to get my HTPC set up and am having a little bit of trouble getting the external player code to work. at the moment I've got it launching only on DVD and BR playback and for the most part it works in true fullscreen mode... but there's a few things I would like to fix up if possible.

First off this is how I launch TMT6 at the moment (the only way I can seem to get it working... and I've tried a lot). First Ive set up my playercorefactory.xml to link to a .bat command which then launches TMT6 directly into the disc.
Quote:<playercorefactory>
<players>
<player name="arcsoft" type="ExternalPlayer" audio="false" video="true">
<filename>C:\Program Files (x86)\XBMC\bd.cmd</filename>
<args>"{1}" /fullscreen /close</args>
<hidexbmc>false</hidexbmc>
<hideconsole>false</hideconsole>
<warpcursor>none</warpcursor>
</player>
</players>

<rules action="prepend">
<rule filetypes="bd|dvd" player="arcsoft"/>
</rules>

</playercorefactory>

And my .cmd, bd.cmd is
Quote:"C:\Program Files (x86)\ArcSoft\TotalMedia Theatre 6\uMCEPlayer6.exe" D:

This minimizes the XBMC window and brings the cmd prompt to the front which works but is ugly. I've messed around with some .vbs files and autoit to try to minimize XBMC run the uMCEPlayer6.exe and then on exit to maximise XBMC... but no luck. The furthest I've gotten, which is with autoit (sorry I cant remember the exact commands used) and it allowed me to minimize or close XBMC and open uMCEPlayer.exe with no ugly command prompt windows, but when it came to closing uMCEPlayer.exe it did not reopen/restart XBMC. It seems to be a problem with the ProccessWaitClose and the WinWaitClose commands in Autoit not recognising TMT6's process or window (possibly a naming error from me but I think not). So I've come to the conclusion that what I need it to write an .exe from AutoIt that minimizes/closes XBMC, opens TMT6 directly to disc, then on pressing the backspace key (which closes uMCEPlayer6.exe) maximizes/reopens XBMC. And thats where I'm stuck, I have a very limited knowledge of the AutoIt Commands so I'm not sure how to do this or if it is possible from AutoIt.
Does anyone Know and commands that will allow this?
I will post up a final product when I have it working as a reference for other people.
I apologize if this is posted in the wrong place.
Thanks,
Jak.
Reply


Messages In This Thread
TotalMedia Theatre 6 External Player Fix - by jakhazell - 2013-08-02, 23:44
Logout Mark Read Team Forum Stats Members Help
TotalMedia Theatre 6 External Player Fix0