• 1
  • 35
  • 36
  • 37(current)
  • 38
  • 39
  • 70
[RELEASE] Launcher - application launcher plugin for Linux, Mac, Windows, and Xbox
launcher developement has stopped

From zosky's bug report
http://code.google.com/p/xbmc-launcher/i...d=19&can=1

Quote:I'm sorry, Launcher plugin development has been stopped. I've developed a native application launcher in xbmc, I hope XBMC guys will add it to the main branch sometime.
Reply
Ah, bummer, so there's no way to launch external programs with the current build?
Reply
Launcher 1.04 still works the the latest builds - at least on Win7.
-stoli-
Reply
1.04 confired working in XBMClive too. It's far from perfect, but It's the best we have untill this becomes native, I guess. (Thanks Leo)
rPi 2&3 | android phones | fireHD8 | linux | win10 + NFS NAS w/ mySQL + props to...
libreElecyatse, titan, AELflexGet, context.manageTags (a zosky original)
Reply
Anyone ever get it working on Mac? I can tell from this thread that it is supposed, but never get it running. Can someone post "step-by-step".
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Reply
I tried using it with the new hulu destop plugin. It launchs but xbmc keeps control of my remote

Nevermind - it is a problem with huludestop, itself.
Reply
I receive the following error when trying to start the launcher application...

http://pastebin.com/m6435fb77
Motherboard P5N7A-VM, E8400 C2D 3.0 processor. NVIDIA 9300 graphics card. OpenELEC Stable - Generic x86_64 Version:3.2.4
Reply
Hi, can anyone tell me how to fix the sorting on this? I put everything in the order I want in the launchers.xml file, but when going to the script, it messes up and puts everything in a seemingly random order?

Is this possible to fix?
Reply
Ok I managed to come up with a solution to this, you simply change the indexing in the python script.

Open up C:\Program Files\XBMC\plugins\programs\Launcher\resources\lib\launcher_plugin.py

Find:
Code:
self._path = sys.argv[ 0 ]

# get users preference

Change it to:
Code:
self._path = sys.argv[ 0 ]
        
        # New Global Index
        global newIndex
        newIndex = 0

        # get users preference

Find:
Code:
# add launcher to the launchers list (using name as index)
            self.launchers[name] = launcherdata

Change it to:
Code:
# add launcher to the launchers list (using name as index)
            # Qj edit, changed this to an incremental index
            global newIndex
            newIndex += 1
            self.launchers[newIndex] = launcherdata

Then save the file and copy it to:
C:\Documents and Settings\*YOURUSERNAME*\Application Data\XBMC\plugins\Programs\Launcher\resources\lib

Delete launcher_plugin.pyo in that folder.

Start XBMC and you should now have everything in the same order as it is in your launchers.xml file. Good day!

EDIT: Oh dear, that broke a lot of stuff, working on resolving the issues caused by changing the index key... I might look at simply sorting the array instead, but I don't know how as I'm a python noob...
Reply
Qjimbo Wrote:EDIT: Oh dear, that broke a lot of stuff, working on resolving the issues caused by changing the index key... I might look at simply sorting the array instead, but I don't know how as I'm a python noob...

I haven't started looking through the python source yet, but what array needs sorting?

I'm definitely interested in getting this to a usable state, since native launching is probably a ways away.
Reply
I doubt native launching will happen in XBMC. My suggestion is for people to use the launcher script (or a python script) and call a macro inside of eventghost.
Reply
What exactly does this application do? Somebody told me that on an xbox, this application would allow me to run Windows Executables, such as Hulu Desktop, however, this does not seem very likely. This isn't possible is it?
Reply
No. The architecher is different
Reply
nitesh201 Wrote:What exactly does this application do? Somebody told me that on an xbox, this application would allow me to run Windows Executables, such as Hulu Desktop, however, this does not seem very likely. This isn't possible is it?

definitely not possible
Have a question? First try the XBMC online-manual and FAQ. Also: How to submit a debug log
Reply
Hi! Just wanted to share my solution to the fullscreen problem on Windows machines. If you have the problem that XBMC cannot minimize when in fullscreen and therefore you cannot use the launched application because xbmc is covering the screen, please follow these instructions:

Open launcher_plugin.py in
C:\Users\{your username}\AppData\Roaming\XBMC\plugins\Programs\Launcher\resources\lib
with a text editor and locate the function def _run_launcher(self, launcherName)

there you will see the line
Code:
xbmc.executebuiltin("%s(\"%s\" %s2\")" % (cmd, launcher["application"], launcher["args"]))
paste the following code before and after this line
Code:
xbmc.executehttpapi("Action(199)")

so it will look like

Code:
...
                if (sys.platform == 'win32'):
                    if (launcher["wait"] == "true"):
                        cmd = "System.ExecWait"
                    else:
                        cmd = "System.Exec"
            xbmc.executehttpapi("Action(199)")
                    xbmc.executebuiltin("%s(\"%s\" %s2\")" % (cmd, launcher["application"], launcher["args"]))
            xbmc.executehttpapi("Action(199)")
                elif (sys.platform.startswith('linux')):
...

This will switch XBMC to windowed mode before launching an application and switch back to fullscreen after the application is closed.
Reply
  • 1
  • 35
  • 36
  • 37(current)
  • 38
  • 39
  • 70

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Launcher - application launcher plugin for Linux, Mac, Windows, and Xbox7