• 1
  • 436
  • 437
  • 438(current)
  • 439
  • 440
  • 453
[CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC
Hello,

I would like to be able to launch a batch file in Kodi that opens a certain application (like Chrome, Spotify, or an emulation frontend), then closes Kodi, and when I close the application reopens Kodi again. That´s my intention but I´m quite new at programming and I don´t know what I have to put into the script.

I´ve been searching on this thread but I can´t find the code. I would appreciate if someone on this thread could give me any advice.

Sorry for my bad English but I´m from Spain and this is not my main language.

Best regards,
(2015-08-17, 20:39)idojius Wrote: Hello,

I would like to be able to launch a batch file in Kodi that opens a certain application (like Chrome, Spotify, or an emulation frontend), then closes Kodi, and when I close the application reopens Kodi again. That´s my intention but I´m quite new at programming and I don´t know what I have to put into the script.

I´ve been searching on this thread but I can´t find the code. I would appreciate if someone on this thread could give me any advice.

Sorry for my bad English but I´m from Spain and this is not my main language.

Best regards,

Good afternoon. Research a microsoft app called pssuspend. I use pssuspend to auto close KOdi/XBMC at the launch of an app and then re-activate after the app closes. When you set up a launcher you'll want to use the format of "filename/link" {exename of app to monitor}. For example, one of the batch files I use for loading PSP roms has an argument set of "Dungeon Siege Throne of Agony" PPSSPPWindows.exe.

Therefore, when the PPSSPPWindows.exe process ends, Kodi/EBMC will re-open and fullscreen maximize.

Hope that helps.

Thanks,
D
(2015-08-17, 20:57)dpandkp Wrote:
(2015-08-17, 20:39)idojius Wrote: Hello,

I would like to be able to launch a batch file in Kodi that opens a certain application (like Chrome, Spotify, or an emulation frontend), then closes Kodi, and when I close the application reopens Kodi again. That´s my intention but I´m quite new at programming and I don´t know what I have to put into the script.

I´ve been searching on this thread but I can´t find the code. I would appreciate if someone on this thread could give me any advice.

Sorry for my bad English but I´m from Spain and this is not my main language.

Best regards,

Good afternoon. Research a microsoft app called pssuspend. I use pssuspend to auto close KOdi/XBMC at the launch of an app and then re-activate after the app closes. When you set up a launcher you'll want to use the format of "filename/link" {exename of app to monitor}. For example, one of the batch files I use for loading PSP roms has an argument set of "Dungeon Siege Throne of Agony" PPSSPPWindows.exe.

Therefore, when the PPSSPPWindows.exe process ends, Kodi/EBMC will re-open and fullscreen maximize.

Hope that helps.

Thanks,
D

Thank you, I´m going to give it a try.
You could write a very simple batch file that does the same thing. Just have a batch file that contains:

taskkill /im kodi.exe /f && timeout 1 && "C:\path to application" && "C:\program files (x86)\kodi\kodi.exe"

Not sure if AL can point directly to a .BAT file but if not just make a shortcut to it and point to the .LNK file.

Edit: this version works much better. I use a VBS script personally but that's due to all my games being password protected from the kids.
Tbanks, I didn't have time yet to try, but I' ll do and see if it works. Thanks fior the answers.
Hi, I 'm totally despair and bekomm it just go not , I have to die with emulators RetroArch run as a starter here comes the Advanced Launcher to use ... but it's just not the emus not start here 's an example from the config - I have one probably yes was done wrong . Sorry for my english had to Google Translation

<id>4acfe08271bbe39dded21d07f2c1d8aa</id>
<name>Nintendo N64</name>
<category>default</category>
<application>I:\Emulatoren\RetroArch CRD\retroarch.exe</application>
<args>-f -D -L mupen64plus_libretro.dll "%ROM%"</args>
<rompath>D:\Roms\Nintendo N64\Roms Sotiert\</rompath>
<thumbpath>D:\Roms\Nintendo N64\Roms Sotiert\</thumbpath>
<fanartpath>D:\Roms\Nintendo N64\Roms Sotiert\</fanartpath>
<trailerpath></trailerpath>
<custompath></custompath>
<romext>z64|7z</romext>
<platform>Nintendo 64</platform>
<thumb></thumb>
<fanart></fanart>
<genre></genre>
<release></release>
<publisher></publisher>
<launcherplot></launcherplot>
<finished>false</finished>
<minimize>false</minimize>
<lnk>true</lnk>
<roms>
Try switching:

(2015-08-21, 21:59)icedeath82 Wrote: <args>-f -D -L mupen64plus_libretro.dll "%ROM%"</args>

to

<args>-f -D -L "/DIRECTORY/TO/THIS/mupen64plus_libretro.dll" "%rom%"</args>

??

Taking a swing in the dark here.
Howdy, folks! Long time reader, just joined the forums so that I can finally, properly participate. I'll be adding support in the future, naturally, but for the time being I'm curious to see if anyone has a clue where to start with expanding Advanced Launcher to include TVTunes functionality. This way we can have the themes from our games playing in the background as we go through the menu.

TVTunes normally only supports the Video menu/node in Kodi but its author says that you can add TVTunes (script add-on) functionality to other addons by using the "Custom Window" instructions found here: kodi.wiki/view/Add-on:TvTunes

I feel as though I'm at the cusp of being able to get this to work, albeit perhaps in a "hacky" way where all items in the "Programs" window might try to look for associated songs (I suppose that might happen if I tried to make a skin's "Program" view use TVTunes), but I dunno... Complicating this- or not? I'm not great at coding- is that both Advanced Launcher and TVTunes are programmed in Python, so it's not a simple matter of adding XML code to Advanced Launcher so far as I know. Honestly, this would add some wonderful charm to my PC games menu if I can get it to go, but I feel like it's just out of my grasp and I'm curious to see if anyone else has done this (nothing I'm finding here on the forums), or if someone with a better grasp for these things might be able to reason it out with more ease than I can.

I'll report back if I see any progress. Doesn't matter to me if I need to add a line or two to Advanced Launcher (the ideal), or if it can work in a more general way by adding a few lines of code to a skin's MyPrograms.xml file or something.

PS: For anyone interested, the Cirrus Extended skin supports Trailers with Advanced Launcher, so far as I can tell.
(2015-08-06, 18:12)brendansound Wrote: [quote='brendansound' pid='2070371' dateline='1438624979']

P.S: To the guy raging a few posts up.. that's a pretty shitty way of saying "i need help with this" but if you do want help setting up advanced launcher.. and you're in linux.. i can maybe help.

Brenden, I am using Ubuntu 14.04 and cannot seem to figure this out. I am def a noob with linux and kodi, but have been able to get some stuff figured out. But, here i am a little stumped. I was able to download this using the following url: https://github.com/Angelscry/plugin.prog...uncher.git . However, when I go into add a plugin from zip there is not anything there in the folder to install. all i get is the folders with no files in them. A little poke in the right direction would be greatly appreciated.

Thank you.
(2015-09-06, 16:41)kcraider81 Wrote:
(2015-08-06, 18:12)brendansound Wrote: [quote='brendansound' pid='2070371' dateline='1438624979']

P.S: To the guy raging a few posts up.. that's a pretty shitty way of saying "i need help with this" but if you do want help setting up advanced launcher.. and you're in linux.. i can maybe help.

Brenden, I am using Ubuntu 14.04 and cannot seem to figure this out. I am def a noob with linux and kodi, but have been able to get some stuff figured out. But, here i am a little stumped. I was able to download this using the following url: https://github.com/Angelscry/plugin.prog...uncher.git . However, when I go into add a plugin from zip there is not anything there in the folder to install. all i get is the folders with no files in them. A little poke in the right direction would be greatly appreciated.

Thank you.

The link you gave in your post is the .git link.. The Zip file is here: https://github.com/Angelscry/plugin.prog...master.zip

But i could have sworn advanced launcher was in the official repo? Maybe not.. can't remember for sure. But copy that Zip file to a usb/or anywhere on the kodi box.. Go to "Install add-on via zip" and point it to that.. should do the trick.
Is anyone else finding that the GameFAQs scraper no longer works properly? I've had it drop in and out intermittently in the past, but I've got a feeling that the issue might be more permanent this time.
(2015-09-08, 18:17)bleakassassin Wrote: Is anyone else finding that the GameFAQs scraper no longer works properly? I've had it drop in and out intermittently in the past, but I've got a feeling that the issue might be more permanent this time.

The Gamefaqs adm`s block any scraper service.
You can put a folder with shortcuts and PC games that will be upgrading alone, instead of putting one by one?
Lightbulb 
Hi,

A few weeks ago I posted here asking for help to write an script that I could use with Advanced Launcher and be able to close or suspend Kodi, launch some emuator games and after finishing reopen Kodi again.

First I tried using BigBox as a frontend because I thought It would be easier to add and scrape the rom files than using Advanced Launcher for that purpose. So, thanks to your help, I created a batch file and configured it in Advanced Launcher as a standalone executable.
It launches the BigBox application, Kodi goes into Window Mode and after quitting the frontend, Kodi goes fullscreen again, but while gaming is still running in the background.
This is the batch script that I used:

Code:
taskkill /f /im kodi.exe
START /WAIT "C:\Users\HTPC\Dropbox\LaunchBox\BigBox.exe"
"C:\Program Files (x86)\Kodi\Kodi.exe"
QUIT

Here are the settings that I used in Advanced Launcher:
Image

Then I changed my mind and decided to make it simple and only use Advanced Launcher to launch emulator games.I tested both batch and autoit scripts to integrate the emulators into Kodi.

First I tried with an Autoit script with the Dolphin emulator, compiled it to an .exe file, configured it in Advanced Launcher, scraped the games and everything seemed to work fine, but when I launched the emulator I got this error message:

Image

This is the Autoit script that I used with Dolphin:

Code:
HotKeySet("!{F4}", "Terminate")
#include <Misc.au3>

WinSetState("Kodi", "", @SW_MINIMIZE)

If $CmdLine[0] == 1 Then
    ProcessClose ( "Kodi.exe" )
   Run ( '"D:\Emuladores\Dolphin\Dolphin.exe" /b /U "D:\Emuladores\Dolphin\User" /e "' & $CmdLine[1] & '"', "D:\Emuladores\Dolphin\" )
    While 1
        Sleep(100)
    WEnd
EndIf

Func Terminate()
    ProcessClose("Dolphin.exe")
    Run ( '"C:\Program Files (x86)\Kodi\Kodi.exe"' )
    Exit 0
EndFunc

And the Advanced Launcher settings:

Image

So, what I´m doing wrong? I would like to have my Kodi setup as integrated as posible but I´m a beginner at programming and I don´t know how to get this to work.

Sorry if I made mistakes here and there but I´m from Spain and this is not my main language.

Best regards,
(2015-09-09, 13:51)mariano198596 Wrote: You can put a folder with shortcuts and PC games that will be upgrading alone, instead of putting one by one?

Can you explain what you are trying to achieve? Are you looking to launch PC Games using a shortcut .URL launcher?
  • 1
  • 436
  • 437
  • 438(current)
  • 439
  • 440
  • 453

Logout Mark Read Team Forum Stats Members Help
[CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC24