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


Version 1.4.1 - Angelscry - 2011-05-24

Version 1.4.1: This new version just fix some mistake (string texts) and bug (filename title not working during automatic scan) from the last version (1.4.0).

ChangeLog:
  • Fix filename title for automatic scrapping.
  • Fix settings strings mistakes.



- st graveyard - 2011-05-24

Angelscry Wrote:Version 1.4.1: This new version just fix some mistake (string texts) and bug (filename title not working during automatic scan) from the last version (1.4.0).

ChangeLog:
  • Fix filename title for automatic scrapping.
  • Fix settings strings mistakes.

I'll try to give this a go tonight!

thanks for the great support.


- Jurai - 2011-05-27

Angelscry Wrote:No there is. If you want, for example, to start an external application into background. Wink

Considering Advanced Launcher could pause XBMC in the past, and must be able to do it itself, why not just add an option to the individual launchers for whether to pause & resume XBMC or not when a specific launcher is used?


- Angelscry - 2011-05-27

Jurai Wrote:Considering Advanced Launcher could pause XBMC in the past, and must be able to do it itself, why not just add an option to the individual launchers for whether to pause & resume XBMC or not when a specific launcher is used?
Into original Launcher add-on, the availability to pause or not a process is made by the use of the XBMC.System.ExecWait() and XBMC.System.Exec() XBMC internal python functions. These functions are only used for Windows systems. The problem with that these 2 functions are not able to correctly start command lines under windows : not able to start roms with filenames containing coma, not able to support "current working directory" variable, generate double quotes problems, etc... And this is REALLY annoying when you think that the main goal of Advanced launcher is to start applications using command line. That's why these 2 XBMC internal python functions have been replaced by a common python function to start application.

The only consequence was that Windows users have lost the possibility the put XBMC into pause directly from XBMC, but still have the possibility to do it from an external .bat script. Advantage of external scripts if that after starting them from Advanced Launcher users can control EXACTLY ALL what they want on their system, better than directly from XBMC. Also, to help users with those kind of scripts, an Advanced Launcher dedicated WIKI page and forums have been created. If you have a problem to start a specific application, just ask and we will try to help you.


- fr500 - 2011-05-30

Jurai Wrote:Considering Advanced Launcher could pause XBMC in the past, and must be able to do it itself, why not just add an option to the individual launchers for whether to pause & resume XBMC or not when a specific launcher is used?

If you´re in windows I have a fairly well tested batch script to pause XBMC when using ALA, let me know if you need help


- fr500 - 2011-05-30

Jurai Wrote:Considering Advanced Launcher could pause XBMC in the past, and must be able to do it itself, why not just add an option to the individual launchers for whether to pause & resume XBMC or not when a specific launcher is used?

Here it is if you need it

This version even mounts an ISO image for you if you need so. I guess I could move most of the variables to arguments to be parsed from ALA itself and use the same bat for all games but it would be more of a hassle than help. I'll highlight the lines that represent variables since those are the only lines you need to modify.

Still have to add a way to unpause XBMC if game/app didn't start for any reason, I just thought about it now I'll look into it later

Quote:@echo off

REM pause XBMC
REM ----------------------------------------------------------------------------------------------------------------------------------------

pssuspend XBMC.exe

REM mount ISO image (optional, remove REM to use it, 5 second wait to make sure image is ready, needs filetype to be associated with daemon tools)
REM ----------------------------------------------------------------------------------------------------------------------------------------

REM start "IMAGE" "PrinceOfPersiaSOT.MDS"
REM timeout 5


REM start the game (I use shortcuts on the same path as the .bat to make it easier, I also use shortcuts so I don't have to mess
REM with quotes when filename.exe has spaces)
REM for steam games you can either use shortcuts created from steam (right click game and select create desktop icon) or you can use steam urls
REM like this: start "GAME" "steam://rungameid/440"
REM ----------------------------------------------------------------------------------------------------------------------------------------

start "GAME" "PrinceOfPersiaSOT.lnk"

REM set the app process name so it can be tracked, you can check using the taskmanager. In many cases it's just the filename.exe that you're starting
REM but not always, especially when you start steam games with steam://urls
REM ----------------------------------------------------------------------------------------------------------------------------------------

set process_1="POP.exe"
set ignore_result=INFO:

REM check if process has started, otherwise go to 1
REM ----------------------------------------------------------------------------------------------------------------------------------------

:1

set var=notrunning
for /f "usebackq" %%A in (`tasklist /nh /fi "imagename eq %process_1%"`) do if not %%A==%ignore_result% set var=running
echo variable %var%
timeout 1
if %var% == notrunning goto :1

REM check if process is still running, if not exit the loop
REM ----------------------------------------------------------------------------------------------------------------------------------------

:2

set var=notrunning
for /f "usebackq" %%A in (`tasklist /nh /fi "imagename eq %process_1%"`) do if not %%A==%ignore_result% set var=running
echo variable %var%
timeout 1
if %var% == running goto :2

REM resume XBMC, add any post game tasks here (unmount images, close steam, close xpadder, etc, whatever you need)
REM ----------------------------------------------------------------------------------------------------------------------------------------

pssuspend -r XBMC.exe



- fasteddy - 2011-06-01

If any linux users are interested, I added instructions on using your remote to exit emulators on the AL forums


- Angelscry - 2011-06-02

fasteddy Wrote:If any linux users are interested, I added instructions on using your remote to exit emulators on the AL forums
Thank you very much fasteddy. I think a lot of people will be interested. Wink


- ali2k1 - 2011-06-03

Hey bruv is there anyway of me importing ala settings to another profile so I don't have to rescrape the emulators at the moment the ala directory is empty with the new profile.


- Angelscry - 2011-06-03

ali2k1 Wrote:Hey bruv is there anyway of me importing ala settings to another profile so I don't have to rescrape the emulators at the moment the ala directory is empty with the new profile.
Normally, if you are on the same system, you just have to copy/paste the launchers.xml and settings files into the ala empty directory.


- Baldios - 2011-06-03

Italian translation, if it can be useful ...
http://pastebin.com/nW3cFZ5R
Thank you Angelscry for your hard work.


- Angelscry - 2011-06-03

Baldios Wrote:Italian translation, if it can be useful ...
http://pastebin.com/nW3cFZ5R
Thank you Angelscry for your hard work.
Thnak you very much Baldios, for this translation. It will be added into the next version of Advanced Launcher.


- ali2k1 - 2011-06-03

thank you it worked.


- igotdvds - 2011-06-03

Is there a list of all available infolabels?


- Angelscry - 2011-06-03

igotdvds Wrote:Is there a list of all available infolabels?
  • listitem : name, iconImage, thumbnailImage
  • listitem.setProperty : fanart_image
  • listitem.setInfo : Title, Plot, Studio, Genre, Premiered, Writer, Trailer
Because XBMC plugins Programs do no have specific dedicated infolabels we must used tv shows infolabels. So, Writer infolabel is used for Game System and Trailer infolabel is used for extrafanart.