[PATCH] LaunchPlayer - External Video Player Launcher (to launch third-party players) - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Development (/forumdisplay.php?fid=93)
+--- Thread: [PATCH] LaunchPlayer - External Video Player Launcher (to launch third-party players) (/showthread.php?tid=40136)
- ashlar - 2008-12-07 13:25
Fixed the defaultplayer, now it works as it should.
Nothing changed on the stay on top front.
ZoomPlayer 6, with Stay on top and fullscreen correctly set, starts in the background and stays in the background. There's no ALT-TABing to it.
And sorry to reiterate but there's nothing wrong with ZoomPlayer, that having been using for the same exact task for more than a year under Media Portal ()
I'll try to add a new log to the ticket.
- dpassent - 2008-12-07 13:46
i can confirm - ZP 6, MPC-HC both acting the same - stays in the background. I can hear audio but XBMC stays on top
- ashlar - 2008-12-07 16:17
dpassent Wrote:i can confirm - ZP 6, MPC-HC both acting the same - stays in the background. I can hear audio but XBMC stays on topXBMC stays on top even when run in windowed mode, not fullscreen. I can see the "borders" of the movie in the background and no amount of ALT-TABing changes a thing.
ALT-TABing makes XBMC lose focus, but it remains on top just the same.
IMPORTANT (maybe) FOR KONFOO
If you check my message here: http://forum.xbmc.org/showpost.php?p=242860&postcount=28 I was not having this problem with ZoomPlayer in the past. Since then I have not changed graphic drivers, I have not changed nor updated ZoomPlayer and I am launching the same exact file I had on my desktop then (as I'm waiting to configure network shares).
With the first version everything was working great in ZP.
- ashlar - 2008-12-07 18:00
Here's a picture of what happens. The black border on the outside of XBMC is instead the video playing in the background, you can see from the right click menu on the left that "Stay on top" is selected, to no avail.
I post the url, since it's a 1366x768 picture: http://i35.tinypic.com/28ilvth.jpg
I was afraid that the problem was the "Full Screen" stuff, but the picture above has been taken with XBMC running at 1280x720 in windowed mode. And from what you see above, alt-tabbing only switches the focus to Zoom, but XBMC remains on top (although the fact that the external player starts without focus is a problem in itself).
- konfoo - 2008-12-07 21:28
Fixed zoom player issue, it works for me now: externalplayer-16492.patch on Trac #5300.
See first post for new configuration settings.
- Jester - 2008-12-07 21:39
konfoo Wrote:Fixed zoom player issue, it works for me now: externalplayer-16492.patch on Trac #5300.
Doing a new build as we speak....
Build upped into the Test folder
- ashlar - 2008-12-07 23:52
Just tried Jester's latest build. The problem remains.
It's not ZoomPlayer not staying on top, is XBMC staying on top of the top I don't know what else to think. I use ZoomPlayer with VMR7 if that could help.
If I launch XBMC in Windowed mode, XBMC stays on top. It's frozen (if I enable debug all the data on the top part of XBMC freezes) but remains on top. Having the standard Windows dressing I can minimize it and then, only then, ZoomPlayer comes on top, playing in fullscreen.
Tell me if you wish another log, I'm really clueless at this point.
Edit: here's the log http://pastebin.com/f1095ecaf
Edit 2: I feel almost guilty in having this unsolvable problem, sorry...
- konfoo - 2008-12-08 00:00
ashlar Wrote:Just tried Jester's latest build. The problem remains.
It's supposed to be frozen. Rendering is halted so as not to consume memory while the external player runs.
Did you set
This tweak was added specifically because I experienced the same problem with zoom player. Adding workaround code (i.e. this tweak) resolves the issue for me and zp plays in the foreground.
I installed the latest zoomplayer and ran it with the same settings as per your debug log. I did no additional configuration to zp.
Since your problem can't be reproduced I have to chalk it down to your configuration, and there is no way to fix a bug that I cannot reproduce locally.
*EDIT* you have forceontop set to true, which forces xbmc to the top. Set it to false.
- ashlar - 2008-12-08 00:19
That was it. Now it works perfectly, with ZoomPlayer having the focus correctly. I can't thank you enough.
Thank you. Thank you. Thank you!!!
1) Forceontop "false" is counterintuitive when you consider that it's a configuration for externalplayer. I immediately thought I had to set it to true because I wanted the externalplayer on top.
2) In the first post you say that defaultplayer has to be set to true but instead your example has <defaultplayer>externalplayer</defaultplayer> which is working correctly. Maybe it's an old description?
But really, you have gone above and beyond in helping me (and hopefully others) so, once more, thank you.
- konfoo - 2008-12-08 00:24
ashlar Wrote:1) Forceontop "false" is counterintuitive when you consider that it's a configuration for externalplayer. I immediately thought I had to set it to true because I wanted the externalplayer on top.
1. Forceontop is actually for the externalplayer (corrected the first place). It backfires on some apps and grabs XBMC's window handle instead, however (zp).