[PATCH] LaunchPlayer - External Video Player Launcher (to launch third-party players)

  Thread Rating:
  • 3 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Closed
ashlar Offline
Member+
Posts: 2,048
Joined: Mar 2006
Reputation: 26
Post: #21
WiSo Wrote:And it shouldn't do that since once minimized XBMC stops rendering (can be tested with task manager open)
And does this patch correctly minimize XBMC when the external player is launched?

In any case, hats off to the original poster. This, if working correctly, provides, for the time being, the best of both worlds (even though... I'm curious to see what happens with the "autoswitch to 60Hz" problem I'm having. When I exit XBMC the refresh rate goes back automatically to what it was at the desktop level, I wonder if this will happen for the external player too, while XBMC is sitting in background).

I'll experiment tonight. For now, thanks for the effort!
find
WiSo Offline
Team-XBMC Developer
Posts: 2,483
Joined: Oct 2003
Reputation: 0
Location: Germany
Post: #22
ashlar Wrote:And does this patch correctly minimize XBMC when the external player is launched?

This isn't a patch just an internal function of XBMC. I'm minimize the window handle of XBMC which should be the same as choosing minimize from the window menu.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find
ashlar Offline
Member+
Posts: 2,048
Joined: Mar 2006
Reputation: 26
Post: #23
WiSo Wrote:This isn't a patch just an internal function of XBMC. I'm minimize the window handle of XBMC which should be the same as choosing minimize from the window menu.
I don't get what you mean, I think there's a spelling mistake somewhere, but I can't get your meaning. Smile
find
konfoo Offline
Member
Posts: 76
Joined: Nov 2008
Reputation: 0
Location: Los Angeles
Post: #24
ashlar Wrote:And does this patch correctly minimize XBMC when the external player is launched?

I'm not exactly sure what is 'correct' about minimizing XBMC. The effect of minimizing XBMC, seeing the windows desktop, then watching a player launch is very non-seamless and completely defeats the purpose. If you want this functionality you can get it by using events in something like eventghost (minimize xbmc on external player start, maximize on quit, etc).
find
room312 Offline
Junior Member
Posts: 24
Joined: Aug 2007
Reputation: 0
Post: #25
Minimizing XBMC gives similar results (can't tell if it's any better). I actually had to minimize through the Task Manager. Can anyone confirm this, or am I the only one?
find
costa Offline
Senior Member
Posts: 107
Joined: Nov 2008
Reputation: 3
Post: #26
Hi..

I need your help to get this launcher works.. here is the steps I did:

1- Downloaded : XBMCSetup-Rev16149.exe and installed it.
2- created a file named advancedsettings.xml and put it in this directory:
\Users\[user]\AppData\Roaming\XBMC on Vista .
Contains : <advancedsettings>
<launchplayer>
<defaultplayer>true</defaultplayer>
<filename>C:\Program Files\The KMPlayer\KMPlayer.exe</filename>
<args>-fs</args>
</launchplayer>
</advancedsettings>

The problem: When I right click on files I can't see launchplayer as the default! Dvdplayer is the default!!
when I click play using launcher.. nothing work.
I used the debug no messages at all ..only memory usage text above..

any help ?? please.

can you give me the exact steps like 1- 2- etc.


What is SVN ? ? ?
Thanks all
(This post was last modified: 2008-11-11 20:09 by costa.)
find
obstler Offline
Junior Member
Posts: 27
Joined: Feb 2005
Reputation: 0
Post: #27
WiSo Wrote:This isn't a patch just an internal function of XBMC. I'm minimize the window handle of XBMC which should be the same as choosing minimize from the window menu.

i just tried that with mpc, and while mpc launches just fine, xbmc stays in fullscreen in the background, causing playback stutter. are there any extra options that need to be set for xbmc to auto minimize?

this is with the full setup from the first post. thanks for this btw, i really need directshow filters but just want to use the xbmc gui, so this is the perfect combination for me.

edit/update: just manually minimized xbmc with taskman and even minimized it uses about 6% cpu, which would not matter all that much; but it still causes playback stutter and dropped frames in mpc.
(This post was last modified: 2008-11-11 23:40 by obstler.)
find
ashlar Offline
Member+
Posts: 2,048
Joined: Mar 2006
Reputation: 26
Post: #28
konfoo Wrote:I'm not exactly sure what is 'correct' about minimizing XBMC. The effect of minimizing XBMC, seeing the windows desktop, then watching a player launch is very non-seamless and completely defeats the purpose. If you want this functionality you can get it by using events in something like eventghost (minimize xbmc on external player start, maximize on quit, etc).
Confused I was referring to the fact that if XBMC stays maximized behind the external player we incur in a severe performance penalty. At least this is what I understand from what's been written so far.
find
WiSo Offline
Team-XBMC Developer
Posts: 2,483
Joined: Oct 2003
Reputation: 0
Location: Germany
Post: #29
obstler Wrote:i just tried that with mpc, and while mpc launches just fine, xbmc stays in fullscreen in the background, causing playback stutter. are there any extra options that need to be set for xbmc to auto minimize?

Nope. When calling an external program XBMC is minimized with
ShowWindow(g_hWnd,SW_MINIMIZE);

which works fine for me whenever I test it.
Do you have any other programs running which could disturb XBMC in doing so (even though I don't know what this could be Confused)
Do you use another program to launch XBMC which maybe has an option to let XBMC stay maximized on top?

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find
midgetspy Offline
Sick Beard Author
Posts: 867
Joined: Jan 2008
Reputation: 11
Location: Edmonton, Canada
Post: #30
costa Wrote:Hi..

I need your help to get this launcher works.. here is the steps I did:

1- Downloaded : XBMCSetup-Rev16149.exe and installed it.
2- created a file named advancedsettings.xml and put it in this directory:
\Users\[user]\AppData\Roaming\XBMC on Vista .
Contains : <advancedsettings>
<launchplayer>
<defaultplayer>true</defaultplayer>
<filename>C:\Program Files\The KMPlayer\KMPlayer.exe</filename>
<args>-fs</args>
</launchplayer>
</advancedsettings>

The problem: When I right click on files I can't see launchplayer as the default! Dvdplayer is the default!!
when I click play using launcher.. nothing work.
I used the debug no messages at all ..only memory usage text above..

any help ?? please.

can you give me the exact steps like 1- 2- etc.


What is SVN ? ? ?
Thanks all

It should be in your UserData folder.
find
Thread Closed