Kodi Community Forum

Full Version: [RELEASE] Launcher - application launcher plugin for Linux, Mac, Windows, and Xbox
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
clock2113 Wrote:Thanks for your help zosky... way too complicated for me! I just deleted the keymap now that I know where it's at from your post - I only use the controllers for video games, not XBMC - and now it works perfect Big Grin

thats one way to do it. glad i could help (somewhat)
keep one thing in mind... they will come back each time you upgrade xbmc.

i found one of these for 7$ on eBay. now im waiting for it to arrive, then ill do the same
Mission Accomplished!

Image
Image
Image

Fanart for Standalone Launchers/Roms both functional in Night!

Thank you to all who helped!!!
alexpigment Wrote:That's fine. I really just wanted to make sure there was something officially logged about it. I plan on making a start-to-finish tutorial on getting everything setup with regards to ROMs, and that was the one area where it was going to be really janky to explain (i.e. now choose this option which freezes your box, then restart XBMC, etc).

I fixed this, however the fix is so weird that I really want some feedback if this actually works for others.

To test:
Comment out line 573: pDialog.close()
in /addons/plugin.program.launcher/resources/lib/launcher_plugin.py

and please leave feedback in:
http://code.google.com/p/xbmc-launcher/i...tail?id=31

EDIT: Should be line 573 not 571 as previously stated.
this may be beyond the scope of this script or thread, but if you could help me with this id be forever thankful.

what would be necessary to link directly to the script that launches a specific program?

basically what i am trying to do is launch hulu desktop from the main menu. I have edited the xml in the skin to add an option that says "launch hulu" to the main screen, which i can then have send me to the program>add-ons section from which i can select launcher and then hulu. id like to skip the additional steps and have it launch huludesktop when i click the main menu option. i think this is technically possible if i knew the script/arguments to have it run but unfortunately this is where i get lost. any help would be appreciated?
also, what arguement is needed to bring the launched program into focus? i can launch hulu desktop from launcher, and it will display on top of xbmc, however any keyboard/remote presses are caught by xbmc and not hulu desktop and i have verified xbmc is still in focus on the windows taskbar.
thesuffering Wrote:this may be beyond the scope of this script or thread, but if you could help me with this id be forever thankful.

what would be necessary to link directly to the script that launches a specific program?

basically what i am trying to do is launch hulu desktop from the main menu. I have edited the xml in the skin to add an option that says "launch hulu" to the main screen, which i can then have send me to the program>add-ons section from which i can select launcher and then hulu. id like to skip the additional steps and have it launch huludesktop when i click the main menu option. i think this is technically possible if i knew the script/arguments to have it run but unfortunately this is where i get lost. any help would be appreciated?

make it a favorite, then open up the favorites.xml file and find the entry for your hulu desktop and use the information (ActivateWindow(10001,plugin://plugin.program.launcher/xxxxx) found there to link strait to it from a menu...
marjanovich Wrote:make it a favorite, then open up the favorites.xml file and find the entry for your hulu desktop and use the information (ActivateWindow(10001,plugin://plugin.program.launcher/xxxxx) found there to link strait to it from a menu...

this sounds like a great idea. problem im having now is finding the favorites.xml file to find that info. there is a DialogFavourites.xml in the 720p folder of the skin, but it doesnt contain any info about what is contained within my favourites.

is that file not part of the skin, but rather part of xbmc?
forget my previous post, its in the userdata folder.
thesuffering Wrote:also, what arguement is needed to bring the launched program into focus? i can launch hulu desktop from launcher, and it will display on top of xbmc, however any keyboard/remote presses are caught by xbmc and not hulu desktop and i have verified xbmc is still in focus on the windows taskbar.

to expand upon this, it seems like whats happening is launcher tries minimizing xbmc, then maximizes it, then launches my program, so xbmc still stays in focus
alexpigment Wrote:I'd like to make a feature request for launcher to have the ability to temporarily disable controller keymaps while the outside program (game emulator in my case) is launched. I ran into this problem and while zosky tried to help me out on this, I guess it may just be too complicated for me. Zosky even said it was a huge pain to workaround on his end. I feel that without this feature built in, launcher might never be friendly to those who use controllers as xbmc remotes. Perhaps I am a little bit hung up on the way the old Xbox worked.

You could use a program such as Pinnacle Game Profiler.
This is the last version of my modified launcher_plugin.py file for the Launcher addon : http://pastebin.com/jYZZYYzg. Nothing new, just bug fixes.
XmemphistoX Wrote:You could use a program such as Pinnacle Game Profiler.

I'm using XBMC Live (Linux-based), so I don't think this is applicable. Secondly, I don't have a keyboard or mouse attached to my system, and I use my XBOX360 controllers as my XBMC remotes, so I need this to be an automatic process. Otherwise, I'll have to go looking for a keyboard/mouse every time I want to jump into a game.
I've tried with the last launcher_plugin.py but it still doesn't work:

http://pastebin.com/jYZZYYzg

What i am doing wrong? I've tried with the night skin. Please Heeelp Huh

Here the modified launchers.xml:


PHP Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<launchers>
    <launcher>
        <name>Recorder</name>
        <application>C:\Programme\CamStudio\Recorder.exe</application>
        <args></args>
        <rompath></rompath>
        <romext></romext>
        <thumb>C:\XBMC\Thumb\recorder.jpg</thumb>
        <fanart>C:\XBMC\Fanart\recorder.png</fanart>
        <genre>Desktop Recorder</genre>
        <release></release>
        <publisher></publisher>
        <launcherplot></launcherplot>
        <wait>true</wait>
        <roms>
        </roms>
    </launcher>
</launchers> 
butchabay Wrote:I've tried with the last launcher_plugin.py but it still doesn't work
What is not working exactly?
Angelscry Wrote:What is not working exactly?

I don't see any thumb or fanart when i'm on selected item.