Kodi Community Forum
[CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC - 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: Game Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=291)
+---- Thread: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC (/showthread.php?tid=85724)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453


RE: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC - idojius - 2015-08-17

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,


RE: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC - dpandkp - 2015-08-17

(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


RE: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC - idojius - 2015-08-18

(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.


RE: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC - dcquence - 2015-08-19

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.


[CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC - idojius_86 - 2015-08-19

Tbanks, I didn't have time yet to try, but I' ll do and see if it works. Thanks fior the answers.


RE: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC - icedeath82 - 2015-08-21

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>


RE: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC - brendansound - 2015-08-22

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.


RE: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC - saeta44 - 2015-09-04

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.


RE: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC - kcraider81 - 2015-09-06

(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.program.advanced.launcher.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.


RE: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC - brendansound - 2015-09-06

(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.program.advanced.launcher.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.program.advanced.launcher/archive/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.


RE: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC - bleakassassin - 2015-09-08

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.


RE: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC - Soujirou Seta - 2015-09-08

(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.


RE: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC - mariano198596 - 2015-09-09

You can put a folder with shortcuts and PC games that will be upgrading alone, instead of putting one by one?


RE: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC - idojius - 2015-09-09

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,


RE: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC - UsefulG - 2015-09-09

(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?