[WINDOWS] Launcher plugin for XBMC - 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: [WINDOWS] Launcher plugin for XBMC (/showthread.php?tid=34834)
- WiSo - 2008-07-22 23:49
Just use the launcher script from this thread. leo might want to change it to execwait. depends on what fits better.
- kricker - 2008-07-23 05:00
I used the launcher script unmodified to test your "test" .exe. I used it to launch Firefox which before caused the command prompt issue. It worked perfectly (after I removed the quotes around the launch item that the launcher puts there by default). Firefox opened and XBMC minimized to the taskbar. As you mentioned there is no way to get back to XBMC though. When I closed FireFox, XBMC stayed in the taskbar. I can get around this with EventGhost myself, but I don't know how others will do it. I know when I do this with Meedio, it does not minimize, the app that is called just comes in front and when it is closed Meedio is already there waiting. I'm guessing this isn't an option for XBMC though.
What else should I test with this?
- kricker - 2008-07-23 08:51
XBMC with launcher plugin and SageTV in action:
- WiSo - 2008-07-23 08:58
Don't have the plugin in front of me but you can search for system.exec inside the *.py files and replace it by system.execwait. This will freeze XBMC (doesn't matter if you don't need it) but allows XBMC to maximize again.
- marlboroman1 - 2008-07-23 11:23
I tried this out but after overwriting the XBMC .exe I get this error "Wlanapi.dll not found" did I get the wrong end of the stick
- WiSo - 2008-07-23 11:44
grr, I've forgot to disable it in this build. The wlanapi is used to display information about the wlan hw. If you don't have wlan this dll isn't there (stupid MS). You can just copy it from somewhere I guess or insert a USB wlan stick and afterwards it should be there.
Next build will be of course without it ... hopefully
- marlboroman1 - 2008-07-23 19:45
thanks downloaded the dll and got the plugin working seems to work well for firebox. I all so tried vuze which seem hit and miss it loaded once but took ages but if it was already running in the system tray it switch to it no problem. I all so tried IMG burn that work well.
- kricker - 2008-07-23 20:02
WiSo Wrote:Don't have the plugin in front of me but you can search for system.exec inside the *.py files and replace it by system.execwait. This will freeze XBMC (doesn't matter if you don't need it) but allows XBMC to maximize again.Okay, I did that. It does work well for Firefox. For SageTV, not so well. SageTV is already running in the system tray. When I "launch" it from within XBMC the screen flashes as if it launched the program, then goes back to XBMC, then switches to Sage. If I sleep Sage back to the system tray, XBMC does not restore itself. This makes sense as SageTV never actually quits. For me system.exec works better in this instance (with EvenGhost maximizing XBMC after Sage sleeps).
I'm not sure what you are monitoring for the launched app to close, but can you monitor if it is minimized and not closed?
- WiSo - 2008-07-23 20:51
kricker Wrote:I'm not sure what you are monitoring for the launched app to close, but can you monitor if it is minimized and not closed?
When I launch the application I got a process handle back. Without launching an app I won't get it so with the current implementation I can't monitor an app not launched via XBMC.
- kricker - 2008-07-24 00:04
WiSo Wrote:When I launch the application I got a process handle back. Without launching an app I won't get it so with the current implementation I can't monitor an app not launched via XBMC.If it was launched by XBMC can you monitor if it was minimized or not?