[RELEASE] Launcher - application launcher plugin for Linux, Mac, Windows, and Xbox - Printable Version
+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Support (/forumdisplay.php?fid=33)
+--- Forum: Add-on 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)
a few bugs - micster - 2008-10-12 13:41
So I downloaded the latest version from SVN and ran into trouble on the xbox:
- frostwork - 2008-10-12 16:42
rv 12 refuses to work on my gentoo, too.
regarding my problem to launch apps in fullscreen (probably as xbmc occupies
mouse/keyboard when it's in fullscreen(?)) i did a somewhat dirty
workaround (in rv 11) which fixes the issue:
at the place where launcher executes the selected application in
launcher_plugin.py for linux (somewhere around line 170 and for emulators/roms at about 200)
i added the line
os.system("%s" % ('display -delay 1 /path/to/1x1.jpg &'))
which lets imagemagicks "display" show a 1x1 sized jpg for 1 sec
and forces xbmc to go into window mode.
the selected app launches in fullscreen then, as it should.
i tried with
wmctrl -x -r xbmc.bin.xbmc.bin -b toggle,fullscreen
before, which wasn't able to do this,
as it only works when xbmc is already in window mode.
ugly, but works for me.
maybe it helps someone else.
- elspero - 2008-10-12 19:57
I am using the plugin in Windows XP. I use the Aeon skin, and I don't understand how do I add a thumbnail and a wallpaper to the games/programs, manually.
Can someone please help? Where do I put them? What format/extension?
Update: Ok, so I somehow managed to get it working putting a .jpg and .tbn file in the userdata\Thumbnails\Programs folder.
But what about the custom wallpapers? (The so-called -fanart.jpg in Aeon)
- micster - 2008-10-12 23:10
@Frank and @elspero
Quote:any way of linking launcher to the games,app menuMaybe this will help you, maybe not.
Quote:But what about the custom wallpapers? (The so-called -fanart.jpg in Aeon)After doing these changes all of my background wallpapers (fanart) magically work.
Here is how I got Launcher working with the Aeon skin and linked it to the navigation button "Arcade" on the home screen.
NOTE: I had to make edits to the .xml files that are part of the Aeon skin because they seemed to have typos/missing information. I also run into a problem every now and then where the skin locks up when trying to execute the Launcher from the home menu. I will keep working on this, but for now this should get you going in the right direction.
There are three files within the Aeon skin folder we need to check:
- leo2 - 2008-10-13 16:14
1. I known that thumb search is stuck for some images, don't know why. I didn't see any error messages in the log files - only a message "script stopped". I'm pretty sure it's a bug in the usock.read() function. don't know how to solve it.
2. There is not quotations in the latest version of Lanucher.
3. There is one simple conventions that the thumbs will show up without searching - you should create png or jpg file in the Thumbnails directory (use plugin settings to find out which directory is it) with the same name of the rom file. for example: if you have rom named aladdin.zip you should create a file named aladdin.jpg or aladdin.png in the Thumbnails folder. the plugin will search it there.
- leo2 - 2008-10-13 16:23
micster, can you send a screenshot of the integration of Launcher with Aeon?
- elspero - 2008-10-13 16:31
@micster: Thanks, I'll try modifying those files.
I have another problem: the launcher doesn't launch roms who have spaces in the name.
I tried with zsnes for windows and snes9x for windows, both have the same problem.
If I try to launch a "D:\zsnesw\roms\Rom.smc" it works, with a "D:\zsnesw\roms\Rom Name.smc" it opens the emulator but the rom isn't executed.
The same thing happens with the GBA emulator, but this time it gives me an error message: "Unsupported file type: D:\VisualBoy\GBA\Rom", notice the "Rom Name.gba" has been truncated.
It is as if the " before and after the filename (with full path) is not used.
I don't know python, so I can't properly debug to understand what's going on.
- leo2 - 2008-10-13 16:53
elspero Wrote:@micster: Thanks, I'll try modifying those files.
I tried to System.Exec in many variations but none of them worked.
I guess you'll have to use filenames without spaces.
perhaps someone from XBMC guys will be able to fix System.Exec to support quotations to separate arguments.
- elspero - 2008-10-13 18:34
@micster: well, all those lines were already present in my Aeon installation, I added just the sources and activated the Arcade button from the Aeon menu.
But... the fanart is not showing, it shows only the wallpapers I put in the "Arcade Backgrounds" folder I created. Probably I'm trying to do something not supported by the skin, I'll search in other forum sections. Thanks
@leo2: So it is a known bug? Well, I guess I'll rename the files then. Thanks
- micster - 2008-10-13 20:05
Quote:1. I known that thumb search is stuck for some images, don't know why. I didn't see any error messages in the log files - only a message "script stopped". I'm pretty sure it's a bug in the usock.read() function. don't know how to solve it.I know we have already talked about this, but the recent changes seem to be worse on the xbox. Last month when I would search for thumbnails, only some would not work and they would not lock the xbox, they would just fail to get written and saved. Now it seems that every image from the Yahoo! search is effected and now if I choose one, the xbox locks up with the "saving progress" dialog box up.
Perhaps it's just my xbox that has gotten worse. I noticed a bunch of memory leaks in my logs that didn't use to be there (those are bad right?) and I'm thinking that might be why the xbox is freezing up.
I understand if this problem is going to have to wait. Personally I already have all of the thumbnails and being able to manually set them in the .xml file is nice. I'm still having trouble getting the thumbnails to show up automatically. They are named the same as the ROMs with a .png extension. After putting them all in the thumbnail folder before I scan for ROMs, I now get blank/missing thumbnail images where as before I was getting the default icon for my skin.
If I edit Launchers.xml by hand and specify the path to the thumbnails within the <thumb> field (which are all blank to start with) then it shows up. Are the <thumb> fields inside Launchers.xml suppose to be blank? I'm currently investigating how to get them to write the paths like the <filename> field does.
- micster - 2008-10-13 20:07
Quote:2. There is not quotations in the latest version of Lanucher.I noticed that the individual Launcher items work, like the link for my zsnexbox emulator and it has no quotes within Launcher.xml but the individual ROMs fail to launch. Editing the following code seems to solve the problem.
Line #433 of launcher_plugin.py
- darxide - 2008-10-13 20:47
I am unable to get svn rev 12 to launch anything. I can use ver 1.01 to work fine. any ideas why?
- micster - 2008-10-13 21:45
Quote:micster, can you send a screenshot of the integration of Launcher with Aeon?Sure, I was planning on creating a video once I got everything dialed in. The background images actually rotate and they are not all Halo images, I just used those because they match. I'm still having trouble getting Aeon to execute Launcher everytime. Sometimes it just hangs and never launches. I think this is a problem with the way I'm linking to Launcher from the Homescroller in Aeon.
Launcher after clicking "Arcade" above
My Super NES Emulator with ROMs
- micster - 2008-10-13 21:51
Quote:I am unable to get svn rev 12 to launch anything. I can use ver 1.01 to work fine. any ideas why?
- darxide - 2008-10-13 22:16
i am using windows xp sp3
launcher does run as it is supposed to until it is time to launch something the launcher popup window opens and then closes then it does nothing. however it doesn't freeze up
it wont launch anything whether it be a standalone prog or an emu with rom.