•   
  • 1
  • 2(current)
  • 3
  • 4
  • 5
  • 27
  •   
  Thread Closed
[PATCH] LaunchPlayer - External Video Player Launcher (to launch third-party players)
#16
Well, it works as advertised. Using it with Media Player Classic.

I might have to play around with some (MPC?) settings, but MPC doesn't always "take over" the screen and when it does, it's not in fullscreen -- just maximized. I made sure to put the /fullscreen in the args.

Also, I haven't noticed it before trying this out (never had any reason to), but XBMC running in the background is actually slowing down MPC playback. It's not directly related to LaunchPlayer because if I start a video outside of XBMC, the same thing happens.

Anyone have a reason as to why this might happen?
#17
room312 Wrote:Well, it works as advertised. Using it with Media Player Classic.

I might have to play around with some (MPC?) settings, but MPC doesn't always "take over" the screen and when it does, it's not in fullscreen -- just maximized. I made sure to put the /fullscreen in the args.

Also, I haven't noticed it before trying this out (never had any reason to), but XBMC running in the background is actually slowing down MPC playback. It's not directly related to LaunchPlayer because if I start a video outside of XBMC, the same thing happens.

Anyone have a reason as to why this might happen?

Same for me, Works as advertised however for some reason MPC wont launch in Fullscreen mode, The other command line switches (/play /close) seem to work. Something weird there...

Slow MPC playback is probably because of the way XBMC renders/Uses CPU. There is an option in MPC to use higher cpu priority, try that
#18
Has anybody got this working with Windows Media Player? It worked with MPC but with WMP it just launches WMP as though I launched it with no arguments (the file doesn't open/play). I tried launching it manually from the command line with a file as an argument and it worked (WMP played it immediately), so I'm not sure what's different when launching it from this. Here's the relevant log section:

Code:
01:43:49 T:3556 M:1350205440  NOTICE: CLAUPlayer:Filename: C:\Program Files\Windows Media Player\wmplayer.exe
01:43:49 T:3556 M:1350205440  NOTICE: CLAUPlayer:Args:
01:43:49 T:3556 M:1350205440  NOTICE: CLAUPlayer:Process: Start
01:43:49 T:3556 M:1350205440  NOTICE: CLAUPlayer:ExecuteApp: C:\Program Files\Windows Media Player\wmplayer.exe C:\Program Files\Windows Media Player\wmplayer.exe  "M:\TV\30 Rock\30.Rock.S01E11.The.Head.and.the.Hair.avi"
01:43:56 T:3556 M:1351028736  NOTICE: CLAUPlayer:WAIT_OBJECT_0
01:43:56 T:3556 M:1351127040  NOTICE: CLAUPlayer: Stop
#19
kizza42 Wrote:Same for me, Works as advertised however for some reason MPC wont launch in Fullscreen mode, The other command line switches (/play /close) seem to work. Something weird there...

Slow MPC playback is probably because of the way XBMC renders/Uses CPU. There is an option in MPC to use higher cpu priority, try that

Freeing up as much RAM as I could, etc., I got better results. Running XBMC on Low and MPC on AboveNormal to RealTime, I get 99% flawless playback. I didn't know XBMC could do this when just sitting idle. FWIW, I'm running a stock E4500 with 2GB RAM (dual channel).

Still not sure what's going on with fullscreen though, but that's a minor issue.
#20
room312 Wrote:I didn't know XBMC could do this when just sitting idle.

And it shouldn't do that since once minimized XBMC stops rendering (can be tested with task manager open)
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.
#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!
#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.
#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
#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).
#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?
#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
#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.
#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).
Huh 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.
#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 Huh)
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.
#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.
  •   
  • 1
  • 2(current)
  • 3
  • 4
  • 5
  • 27
  •   
  Thread Closed
 
Thread Rating:
  • 3 Vote(s) - 5 Average



Logout Mark Read Team Forum Stats Members Help
[PATCH] LaunchPlayer - External Video Player Launcher (to launch third-party players)53