Kodi Community Forum
[RELEASE] Launcher - application launcher plugin for Linux, Mac, Windows, and Xbox - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] Launcher - application launcher plugin for Linux, Mac, Windows, and Xbox (/showthread.php?tid=35739)



- rausch101 - 2010-06-16

I can't seem to get the Launcher plugin to show up as an addon.

I put the contents of "plugin.program.launcher-201006160144.tar" into my program files/XBMC/addons, loaded up XBMC, went to settings->addons and then hit "check for updates", but nothing comes up.

Any suggestions?

Great to hear that someone is actually working on porting this!!!!!!

EDIT: I'm on svn30199

EDIT2: Updated to SVN 31095 and it works like a charm!

FANTASTIC WORK ZERQENT! THIS NEEDS TO BE STICKIED!!!!!!!


- Zerqent - 2010-06-16

It still isn't a 100%, at least not for me. What happens is that if I add a new launcher (rom collection) and try to open it, it will scan fine but then xbmc will hang. If I kill xbmc and restart the launcher works however.

*Edit*
Workaround: When you have added a Launcher (for a rom collection) bring up the context menu and select scan instead of just trying to enter that folder, this will make the scan run without xbmc crashing.


- Erik_M - 2010-06-18

Hi guys,

I know this sounds stupid, but I really searched a lot now and didn't find real help... Sad

I installed the launcher 1.04 on my Linux 10.04 system with XBMC 9.11 running on it.
I also installed Stella (VC2600 emu) and put some roms in a special directory.

Now when I start launcher and I choose "File launcher (e.g. emulator)" I am supposed to choose the launcher application. But stella is located at /usr/bin/stella ... and I can't access this path... so what to do?

Or am I totally mistaken?

Is there anywhere a step-by-step guide how to install emus like stella or else?

Thanks a lot,

Erik


- amr* - 2010-06-18

Erik_M Wrote:Hi guys,

I know this sounds stupid, but I really searched a lot now and didn't find real help... Sad

I installed the launcher 1.04 on my Linux 10.04 system with XBMC 9.11 running on it.
I also installed Stella (VC2600 emu) and put some roms in a special directory.

Now when I start launcher and I choose "File launcher (e.g. emulator)" I am supposed to choose the launcher application. But stella is located at /usr/bin/stella ... and I can't access this path... so what to do?

Or am I totally mistaken?

Is there anywhere a step-by-step guide how to install emus like stella or else?

Thanks a lot,

Erik

I'm not sure if this is the best solution, but I just made symlinks. For example, if you make a directory called launcher-apps in your home directory, just do this:

Code:
$ ln -s /usr/bin/stella ~/launcher-apps/stella



- Erik_M - 2010-06-18

Hi amr*,

thanks, that helped. At least I can now set up the launcher to fin all roms and start them. Pretty cool...

Only thing, I can't get it to full screen mode.

Arguments used are :

-fullscreen 1 -center 1 -uselauncher 0

With additional -fullres 1360x768 the rom doesn't start at all.

The -uselauncher 0 is used to end the launcher with ending the rom, so I don't see the launcher screen after exiting the rom but go straight to the xbmc.

Any ideas anyone?

Thanks again for your help.

Smile Erik


- shassino - 2010-06-19

I have a little trouble with launcher.

I have a minibuntu + xbmc standalone svn 31202
emu: zsnes, mupen64plus

if i run an emu in a window they start ok and game are ok.

If i run an emu in fullscreen i get only a black screen.


- wipmonkey - 2010-06-22

shassino Wrote:I have a little trouble with launcher.

I have a minibuntu + xbmc standalone svn 31202
emu: zsnes, mupen64plus

if i run an emu in a window they start ok and game are ok.

If i run an emu in fullscreen i get only a black screen.

I assume that there is no windows manager installed. I had this same issue with xbmc-live and snes9x-gtk.. Try installing fluxbox and adding the following to ~/.xsession

Code:
fluxbox&

I also changed near line 192 of ~/.xbmc/plugins/programs/Launcher/resources/lib/launcher_plugin.py:
Code:
elif (sys.platform.startswith('linux')):
                    xbmc.executebuiltin("LIRC.Stop")
                    os.system("%s %s" % (launcher["application"], launcher["args"]))
                    xbmc.executebuiltin("LIRC.Start")

to

Code:
elif (sys.platform.startswith('linux')):
                    xbmc.executebuiltin("LIRC.Stop")
                    xbmc.executehttpapi("Action(199)")
                    os.system("%s %s" % (launcher["application"], launcher["args"]))
                    xbmc.executebuiltin("LIRC.Start")
                    xbmc.executehttpapi("Action(199)")

I know it sounds counter intuitive that it will launch in window mode without a windows manager, but no fullscreen. I was using a script to start and stop fluxbox but it caused issues. fluxbox atm is using .2% of my 2GB o ram or somewhere around 4MB


- moviebuff - 2010-06-25

When you run say Zsnes emulator with the launcher has anyone a way to exit the emulator and back into XBMC using just the remote control?


- wipmonkey - 2010-06-25

moviebuff Wrote:When you run say Zsnes emulator with the launcher has anyone a way to exit the emulator and back into XBMC using just the remote control?

Look under "Misc" --> "Misc Keys" :"Quick keys":"Exit" if that is no good I switched to snes9x-gtk better sound and filters and I know that you can use joystick for exit/save/load state.


- Zerqent - 2010-06-26

moviebuff Wrote:When you run say Zsnes emulator with the launcher has anyone a way to exit the emulator and back into XBMC using just the remote control?

Run with -m parameter, this disables the GUI. ESC will then exit the emulator, and at least on my Asrock MCE remote this is the same as the "clear" button.


- moviebuff - 2010-06-26

Not sure what -m parameter is but ill try both of those options out. Thank you so much for the help wipmonkey and Zegent ) This gets me in the right direction )


- Hopelessone - 2010-06-26

Hi,

Ubuntu 10.04 64bit

I get Error:
Code:
19:39:46 T:140443122775824 M:2918932480  NOTICE: -->Python Interpreter Initialized<--
19:39:47 T:140443258537744 M:2918240256  NOTICE: My Music: Scanning for music info using worker thread, operation took 00:02
19:39:49 T:140443275323152 M:2918526976  NOTICE: My Videos: Scanning for video info using worker thread, operation took 00:04
19:39:54 T:140443266930448 M:2912280576  NOTICE: -->Python Interpreter Initialized<--
19:39:55 T:140443266930448 M:2909868032  NOTICE: Traceback (most recent call last):
19:39:55 T:140443266930448 M:2909868032  NOTICE:   File "/home/blade/.xbmc/scripts/My Scripts/Launcher/default.py", line 20, in ?
19:39:55 T:140443266930448 M:2909868032  NOTICE: plugin.Main()
19:39:55 T:140443266930448 M:2909868032  NOTICE:   File "/home/blade/.xbmc/scripts/My Scripts/Launcher/resources/lib/launcher_plugin.py", line 68, in __init__
19:39:55 T:140443266930448 M:2909868032  NOTICE: self._handle = int(sys.argv[ 1 ])
19:39:55 T:140443266930448 M:2909868032  NOTICE: AttributeError
19:39:55 T:140443266930448 M:2909868032  NOTICE: :
19:39:55 T:140443266930448 M:2909868032  NOTICE: 'module' object has no attribute 'argv'
19:39:55 T:140443266930448 M:2909868032   ERROR: Scriptresult: Error
19:39:57 T:140443266930448 M:2909581312  NOTICE: -->Python Interpreter Initialized<--
19:39:58 T:140443676231712 M:2910085120   ERROR: SelectItemFromPoint: Speed 1.000000
19:39:58 T:140443676231712 M:2910085120   ERROR: SelectItemFromPoint: Speed 1.000000
19:40:00 T:140443676231712 M:2910695424  NOTICE: Storing total System Uptime
19:40:00 T:140443676231712 M:2910695424  NOTICE: Saving settings
19:40:00 T:140443676231712 M:2910818304  NOTICE: stop all
19:40:00 T:140443676231712 M:2910818304  NOTICE: ES: Stopping event server
19:40:00 T:140443676231712 M:2910818304  NOTICE: stopping zeroconf publishing
19:40:00 T:140443233359632 M:2910691328  NOTICE: DS: DBUS server stopped
19:40:00 T:140443241752336 M:2910691328  NOTICE: ES: UDP Event server stopped
19:40:00 T:140443676231712 M:2910691328  NOTICE: stop dvd detect media
19:40:00 T:140443676231712 M:2910691328  NOTICE: stop sap announcement listener
19:40:00 T:140443676231712 M:2910691328  NOTICE: clean cached files!
19:40:00 T:140443676231712 M:2910691328  NOTICE: unload skin
19:40:02 T:140443676231712 M:2910228480  NOTICE: stop python
19:40:02 T:140443676231712 M:2910228480  NOTICE: stopped
19:40:02 T:140443676231712 M:2910228480  NOTICE: destroy
19:40:02 T:140443676231712 M:2910228480  NOTICE: unload sections



- teeedubb - 2010-06-29

Thanks alot for your help Zerqent!!! Got the launcher up and runing now!!


- moviebuff - 2010-06-30

Anyone have problems scraping rom cover art with launcher at all? Whenever I click to choose the art that scraped from yahoo nothing happens.


- AuXBoX - 2010-07-03

I get the following happen.
It loades with the selection of executable file etc, then after 1 second up comes something over this saying

Launcher

Loading Directory

Nothing happens and as soon as i press cancel xbmc freezes.