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

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



MAME Version which one?? - Id269 - 2010-04-26 05:57

Im running Lancher 1.4R1 all the snes nes saga works fine but MAME dosent work for me. what am i doing wrong?
Plz Help


MAME Error Message - Id269 - 2010-04-26 06:38

Using this launcher I get this "error unknown option D:DATA\XBMC\MAME\ROMS\1942.zip". im using The latest official MAME release it is version 0.137. Any help to fix this would be great.


Launcher Issues - Rhodizzle - 2010-04-26 20:41

Hello all!

Launcher is what got me into XBMC in the first place. I was previously using a combination of GameEx and Windows Media Center. I'm now very interested in what XBMC has to offer. First I need to get Launcher working right, and I believe that I have it working from a functional standpoint and have moved onto the eye candy factor. Most of the issues I've experienced are related to the thumbnail import code and was wondering what the best way would be to troubleshoot, as I know crap about python.

I've set up launcher for Nestopia, Snes9x, and Project 64 (I grew up on Nintendo). I have all of my roms imported and have started the arduous process of assigning graphics to each one. I've noticed 2 issues so far. On esome games, I get a a valid thumbnail when doing the search, but after the launcher re-indexes the image is blank (all black). Second, some games freeze up XBMC all together when looking for a thumbnail. One of them is 7th Saga, the other is Addams Family. The only thing I can think of is that the text is "7th Saga, The" and "Addams Family, The". the comma isn't doing it by itself because I've retrieved thumbs from games with thumbs in them.

So here are my questions thusfar:
1: Why do some pictures load as blank (black)?
2: Why do searches with specific text (possible having ,the at the end) cause XBMC to lock up?
3: Why aren't we using Google Images to do the searching rather than yahoo?
4: Is there a way to add a manual selection of a local file to load as the thumbnail rather than an internet images search?


Failure to Launch - Dobyken - 2010-04-27 15:04

I've tried on two different installations of Mythbuntu 10.04 (lucid) with XBMC 9.11svn to get Launcher 1.04 working. As soon as I click on Launcher a screen pops up saying "Loading Directory" and that's as far as I get. I can do a couple of keystrokes then it locks up. Clicking cancel shows a button press but doesn't cancel and I have to kill XBMC. The only error I see in the log is that Launchers.xml doesn't exist but since I haven't created any yet I assume that's normal.


08:32:45 T:3079440240 M:1772953600 DEBUG: Checking if window ID 10001 is locked.
08:32:45 T:3079440240 M:1772953600 DEBUG: ------ Window Deinit (Home.xml) ------
08:32:45 T:3079440240 M:1773047808 INFO: Attempting to default to:
08:32:45 T:3079440240 M:1773047808 DEBUG: ------ Window Init (MyPrograms.xml) ------
08:32:45 T:3079440240 M:1773047808 INFO: Loading skin file: MyPrograms.xml
08:32:45 T:3079440240 M:1773047808 DEBUG: Load MyPrograms.xml: 18.34ms
08:32:45 T:3079440240 M:1773047808 DEBUG: Alloc resources: 21.02ms (18.64 ms skin load)
08:32:45 T:3079440240 M:1773047808 DEBUG: CGUIMediaWindow::GetDirectory ()
08:32:45 T:3079440240 M:1773047808 DEBUG: ParentPath = []
08:32:45 T:3079440240 M:1773047808 WARNING: CRITSEC[0xb530291c]: Trying to initialze initialized section.
08:32:45 T:2909039472 M:1773047808 DEBUG: thread start, auto delete: 0
08:32:45 T:2909039472 M:1773047808 DEBUG: Thread 2909039472 terminating
08:32:49 T:3079440240 M:1772474368 DEBUG: SDLKeyboard: scancode: 36, sym: 13, unicode: 13, modifier: 0
08:32:49 T:3079440240 M:1772474368 DEBUG: OnKey: 61453 pressed, action is Select
08:32:49 T:3079440240 M:1772474368 DEBUG: CGUIMediaWindow::GetDirectory (plugin://programs/)
08:32:49 T:3079440240 M:1772474368 DEBUG: ParentPath = []
08:32:49 T:3079440240 M:1772474368 WARNING: CRITSEC[0xbff0ec6c]: Trying to initialze initialized section.
08:32:49 T:3079440240 M:1772474368 WARNING: CRITSEC[0xb530291c]: Trying to initialze initialized section.
08:32:49 T:2909039472 M:1772474368 DEBUG: thread start, auto delete: 0
08:32:49 T:2909039472 M:1772474368 DEBUG: Thread 2909039472 terminating
08:32:50 T:3079440240 M:1771896832 INFO: Python, unloading python24.dll because no scripts are running anymore
08:32:50 T:3079440240 M:1771896832 DEBUG: UnloadExtensionLibs, clearing python extension libraries
08:32:50 T:3079440240 M:1771896832 DEBUG: Unloading: strop.so
08:32:50 T:3079440240 M:1771896832 DEBUG: Unloading: _socket.so
08:32:50 T:3079440240 M:1771896832 DEBUG: Unloading: _ssl.so
08:32:50 T:3079440240 M:1771896832 DEBUG: Unloading: time.so
08:32:50 T:3079440240 M:1771896832 DEBUG: Unloading: collections.so
08:32:50 T:3079440240 M:1771896832 DEBUG: Unloading: python24-i486-linux.so
08:32:50 T:3079440240 M:1772224512 DEBUG: SDLKeyboard: scancode: 116, sym: 274, unicode: 0, modifier: 0
08:32:50 T:3079440240 M:1772224512 DEBUG: OnKey: 61480 pressed, action is Down
08:32:50 T:2833439600 M:1772224512 DEBUG: DoWork - took 3 ms to load special://masterprofile/Thumbnails/Programs/6bf762e0.tbn
08:32:52 T:3079440240 M:1772380160 DEBUG: SDLKeyboard: scancode: 36, sym: 13, unicode: 13, modifier: 0
08:32:52 T:3079440240 M:1772380160 DEBUG: OnKey: 61453 pressed, action is Select
08:32:52 T:3079440240 M:1772380160 DEBUG: CGUIMediaWindow::GetDirectory (plugin://programs/Launcher/)
08:32:52 T:3079440240 M:1772380160 DEBUG: ParentPath = [plugin://programs/]
08:32:52 T:2841897840 M:1772380160 DEBUG: StartScript - URL for plugin settings: Launcher/
08:32:52 T:2841897840 M:1772380160 DEBUG: StartScript - calling plugin special://home/plugins/programs/Launcher/default.py('plugin://programs/Launcher/','0','')
08:32:52 T:2841897840 M:1772380160 INFO: initializing python engine.
08:32:52 T:2841897840 M:1772380160 DEBUG: Loading: /usr/share/xbmc/system/python/python24-i486-linux.so
08:32:52 T:2841897840 M:1772380160 DEBUG: Python wrapper library linked with internal Python library
08:32:52 T:3079440240 M:1772507136 DEBUG: ------ Window Init (DialogBusy.xml) ------
08:32:52 T:3079440240 M:1772507136 INFO: Loading skin file: DialogBusy.xml
08:32:52 T:3079440240 M:1772507136 DEBUG: Load DialogBusy.xml: 1.09ms
08:32:52 T:3079440240 M:1772507136 DEBUG: Alloc resources: 1.19ms (1.19 ms skin load)
08:32:52 T:2841897840 M:1772466176 DEBUG: new python thread created. id=2
08:32:52 T:2841897840 M:1772466176 DEBUG: WaitOnScriptResult - waiting on the Launcher plugin...
08:32:52 T:2802666352 M:1772466176 DEBUG: thread start, auto delete: 0
08:32:52 T:2802666352 M:1772466176 DEBUG: Python thread: start processing
08:32:52 T:2802666352 M:1772339200 NOTICE: -->Python Interpreter Initialized<--
08:32:52 T:2802666352 M:1772339200 DEBUG: Process - The source file to load is special://home/plugins/programs/Launcher/default.py
08:32:52 T:2802666352 M:1772339200 DEBUG: Process - Setting the Python path to /home/ken/.xbmc/plugins/programs/Launcher:/usr/share/xbmc/system/python/python24.zip:/usr/share/xbmc/system/python/lib/python24.zip:/usr/share/xbmc/system/python/lib/python2.4/:/usr/share/xbmc/system/python/lib/python2.4/plat-linux2:/usr/share/xbmc/system/python/lib/python2.4/lib-tk:/usr/share/xbmc/system/python/lib/python2.4/lib-dynload
08:32:52 T:2802666352 M:1772339200 DEBUG: Process - Entering source directory /home/ken/.xbmc/plugins/programs/Launcher
08:32:52 T:2802666352 M:1772339200 DEBUG: xbp_dlopen loading python lib /usr/share/xbmc/system/python/python24.zip/time.so. flags: 2
08:32:52 T:2802666352 M:1772339200 DEBUG: Loading: /home/ken/.xbmc/temp/time.so
08:32:52 T:2802666352 M:1772339200 DEBUG: RegisterExtensionLib, adding time.so (0x9e28db8)
08:32:52 T:2802666352 M:1772339200 DEBUG: xbp_dlsym - load symbol inittime
08:32:52 T:2802666352 M:1771323392 DEBUG: xbp_dlopen loading python lib /usr/share/xbmc/system/python/python24.zip/strop.so. flags: 2
08:32:52 T:2802666352 M:1771450368 DEBUG: Loading: /home/ken/.xbmc/temp/strop.so
08:32:52 T:2802666352 M:1771450368 DEBUG: RegisterExtensionLib, adding strop.so (0xa83864b0)
08:32:52 T:2802666352 M:1771450368 DEBUG: xbp_dlsym - load symbol initstrop
08:32:52 T:2802666352 M:1771450368 DEBUG: xbp_dlopen loading python lib /usr/share/xbmc/system/python/python24.zip/_socket.so. flags: 2
08:32:52 T:2802666352 M:1771450368 DEBUG: Loading: /home/ken/.xbmc/temp/_socket.so
08:32:52 T:2802666352 M:1771450368 DEBUG: RegisterExtensionLib, adding _socket.so (0xa8061760)
08:32:52 T:2802666352 M:1771450368 DEBUG: xbp_dlsym - load symbol init_socket
08:32:52 T:2802666352 M:1771450368 DEBUG: xbp_dlopen loading python lib /usr/share/xbmc/system/python/python24.zip/_ssl.so. flags: 2
08:32:52 T:2802666352 M:1771450368 DEBUG: Loading: /home/ken/.xbmc/temp/_ssl.so
08:32:52 T:2802666352 M:1771450368 DEBUG: RegisterExtensionLib, adding _ssl.so (0xa8385048)
08:32:52 T:2802666352 M:1771450368 DEBUG: xbp_dlsym - load symbol init_ssl
08:32:52 T:2802666352 M:1771450368 INFO: Loading skin file: DialogProgress.xml
08:32:52 T:2802666352 M:1771450368 DEBUG: Load DialogProgress.xml: 1.79ms
08:32:52 T:2802666352 M:1771450368 DEBUG: DialogProgress::StartModal called
08:32:52 T:2802666352 M:1771450368 DEBUG: ------ Window Init (DialogProgress.xml) ------
08:32:52 T:2802666352 M:1771450368 DEBUG: Alloc resources: 0.02ms (0.00 ms skin load)
08:32:52 T:2802666352 M:1771450368 NOTICE: 0
08:32:52 T:2802666352 M:1771450368 NOTICE: ERROR: Main::get_xml_source (234) - [Errno 2] No such file or directory: '/home/ken/.xbmc/userdata/plugin_data/programs/Launcher/launchers.xml'
08:32:52 T:2802666352 M:1771450368 NOTICE: Launcher: found 0 launchers
08:32:52 T:2802666352 M:1771450368 INFO: Loading skin file: DialogSelect.xml
08:32:52 T:2802666352 M:1771450368 DEBUG: Load DialogSelect.xml: 2.43ms
08:32:52 T:3079440240 M:1771450368 DEBUG: ------ Window Init (DialogSelect.xml) ------
08:32:52 T:3079440240 M:1771450368 DEBUG: Alloc resources: 0.16ms (0.00 ms skin load)
08:32:53 T:3079440240 M:1771577344 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
08:32:54 T:2841897840 M:1771491328 DEBUG: DialogProgress::StartModal called (already running)!
08:32:54 T:2841897840 M:1771491328 DEBUG: ------ Window Init (DialogProgress.xml) ------
08:32:54 T:2841897840 M:1771491328 DEBUG: Alloc resources: 0.02ms (0.00 ms skin load)
08:33:09 T:3079440240 M:1771319296 INFO: CheckIdle - Closing session to http://xoap.weather.com (easy=0xa8502ab8, multi=0xa8502700)
08:33:09 T:3079440240 M:1771319296 INFO: CheckIdle - Closing session to http://feeds.feedburner.com (easy=0x9fc9888, multi=0x9e2e948)
08:33:19 T:2841897840 M:1771409408 DEBUG: WaitOnScriptResult- cancelling plugin Launcher
08:33:19 T:2841897840 M:1771409408 INFO: Stopping script with id: 2
08:33:20 T:2833439600 M:1771409408 DEBUG: Thread 2833439600 terminating (autodelete)


Closing launched emulators? - andjusticeforal - 2010-04-29 17:46

Hey guys,

I've got launcher working (using aeon skin), and its totally awesome, just using it for snes and genesis at the moment, i think im using snes9x and gens for my emulators. Ive noticed that when you quit the emulator xbmc loads up again just fine, but I dont want to use my keyboard & mouse to close the emulator, how are you guys getting around this problem? am I missing something obvious?? I'd like to be able to close it using a button or combo of buttons on my wireless 360 (I use xpadder to control xbmc with my 360 controller)

Cheers!!!


- Aenima99x - 2010-04-29 20:59

Dobyken Wrote:I've tried on two different installations of Mythbuntu 10.04 (lucid) with XBMC 9.11svn to get Launcher 1.04 working. As soon as I click on Launcher a screen pops up saying "Loading Directory" and that's as far as I get. I can do a couple of keystrokes then it locks up. Clicking cancel shows a button press but doesn't cancel and I have to kill XBMC. The only error I see in the log is that Launchers.xml doesn't exist but since I haven't created any yet I assume that's normal.

I'm having the exact same issue and I'm guessing that it's possibly something to do with Lucid?


Folders? - HisshouBuraiKen - 2010-04-29 22:18

I haven't gotten a chance to mess with this yet (new to XBMC) but can Launcher do folders? It'd be nice to have:

Code:
NES
  -- A
      -- Arkanoid
      -- Astyanax
      ...
  -- B
      -- Battletoads

Doable?


- Izod517 - 2010-04-30 04:07

HisshouBuraiKen Wrote:I haven't gotten a chance to mess with this yet (new to XBMC) but can Launcher do folders? It'd be nice to have:

Code:
NES
  -- A
      -- Arkanoid
      -- Astyanax
      ...
  -- B
      -- Battletoads

Doable?

You'd have to add each folder individually as I understand. Last I saw there was no planned support for this. Someone feel free to correct me.


- CraiZE - 2010-05-09 10:47

In the latest stable XBMC Version (9.11 Camelot), the sorting order is all wrong. Is there a way to fix this?


- rausch101 - 2010-05-11 08:44

CraiZE Wrote:In the latest stable XBMC Version (9.11 Camelot), the sorting order is all wrong. Is there a way to fix this?

Look 1 page back from here...I'm trying to solve this issue too but no luck. There was a fix for earlier versions of XBMC but not newer ones it seems


- CraiZE - 2010-05-12 16:52

Well, since I dont use it for emulation (but rather a front-end for my emulators) i rewrote the code. It works for regular stand-alone applications but not roms.

I might invest the time and fix it all together at some stage though.


- rausch101 - 2010-05-13 00:30

CraiZE Wrote:Well, since I dont use it for emulation (but rather a front-end for my emulators) i rewrote the code. It works for regular stand-alone applications but not roms.

I might invest the time and fix it all together at some stage though.

Did you have to change many things?


- CraiZE - 2010-05-13 15:50

I would say "yes" to that, but most likely, for someone who is familiar with the language it isnt. I am unfamiliar with it (heck, i just dusted my knowledge off and dove into manuals to do it).

Plus I ended up not making it sort by alphabetical order, but by order within the XML file, as I do like the option to sort it myself manually Smile


- vkylau - 2010-05-14 23:03

Does this mean, i can launch any *.exe program within XBMC? Once I clicked launch it, XBMC will hide behind the launched *.exe program? And once I closed the *.exe program, XBMC will be there in front immediately again?

Does this works with Linux XBMC too?

Thank you in adcance for your reply Smile i m still very new with XBMC.


- Edward - 2010-05-15 02:26

https://pastee.org/q5esk

That fixes the sort order. Sort of. You can't sort by any other order, but at least it's alphabetical like that. I'll work on allowing other sort orders when I get the time to.