Kodi Community Forum

Full Version: [CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
First off, this is a great plugin for Kodi. I absolutely love the query launchers, so much potential there.

I do have a couple of questions, however:

1) Is it possible for Advanced Launcher to recognize more than one genre at the same time?
2) Failing that, would it be possible for the launcher to recognize a "series" field in the nfo files?

Ideally what I'd like to do is create query launchers for each series (i.e. Zork, Super Mario Bros., Thief, etc.). The problem comes in with games within a series that have differing titles (i.e Enchanter, Sorcerer, and Spellbreaker are all part of the Enchanter Trilogy. Now, I realize that I could just file them under a made-up genre of "Enchanter Trilogy", but if the launcher cannot recognize more than one at a time, I cannot at a later time create a query launcher aimed at Text Adventures.

I'm not afraid of a little coding, so if someone could point me in the right direction to add this feature that would be great. Learning that the launcher already supports multiple genres would be even better.

Any help would be appreciated. Thanks, as always.
Any suggestions for getting Openbox to work? I must use Fluxbox in Helix for my simple Firefox-script. But I'm having some problems sometimes that the FF window can't be resized and that clicking in it doesn't work. Would like to get Openbox to work again. This is my last message regarding this:

------
I've just updated (also tried installing from scratch) to Helix and having some problems with starting Firefox (and also Spotify) through A.L. This worked fine in 13.2. I'm using the same script:

#!/bin/bash
openbox &
/usr/bin/firefox
killall -9 openbox

Xbmc hangs when I'm trying to run the launcher.

I can start FF fine if I log into Lubuntu on the Xbmc computer.

Any suggestions?

UPDATE:

It seems to work with fluxbox, but not with openbox.
------
(2015-01-01, 01:52)ianrace Wrote: [ -> ]First off, this is a great plugin for Kodi. I absolutely love the query launchers, so much potential there.

I do have a couple of questions, however:

1) Is it possible for Advanced Launcher to recognize more than one genre at the same time?
2) Failing that, would it be possible for the launcher to recognize a "series" field in the nfo files?

Ideally what I'd like to do is create query launchers for each series (i.e. Zork, Super Mario Bros., Thief, etc.). The problem comes in with games within a series that have differing titles (i.e Enchanter, Sorcerer, and Spellbreaker are all part of the Enchanter Trilogy. Now, I realize that I could just file them under a made-up genre of "Enchanter Trilogy", but if the launcher cannot recognize more than one at a time, I cannot at a later time create a query launcher aimed at Text Adventures.

I'm not afraid of a little coding, so if someone could point me in the right direction to add this feature that would be great. Learning that the launcher already supports multiple genres would be even better.

Any help would be appreciated. Thanks, as always.
Advanced Launcher recognize only 1 genre field at the time. And there is no possibility to recognize a "series" field into an NFO file. From where come this NFO file? BTW, Advanced Launcher is not at all a games manager. If you want one for Kodi, use RCB : http://forum.kodi.tv/showthread.php?tid=70115

(2015-01-02, 11:03)fruitgull Wrote: [ -> ]Any suggestions for getting Openbox to work? I must use Fluxbox in Helix for my simple Firefox-script. But I'm having some problems sometimes that the FF window can't be resized and that clicking in it doesn't work. Would like to get Openbox to work again. This is my last message regarding this:

------
I've just updated (also tried installing from scratch) to Helix and having some problems with starting Firefox (and also Spotify) through A.L. This worked fine in 13.2. I'm using the same script:

#!/bin/bash
openbox &
/usr/bin/firefox
killall -9 openbox

Xbmc hangs when I'm trying to run the launcher.

I can start FF fine if I log into Lubuntu on the Xbmc computer.

Any suggestions?

UPDATE:

It seems to work with fluxbox, but not with openbox.
------
I'm not develloper for Kodi nor Openbox. So I cannot tell you why it is not working specifically with OpenBox. If you want a suggestion, the best way is to boot your system under Flubox or Openbox and automatically launch Kodi at start. Using Kodi as stand alone is not at all the right solution to start externals applications. "Standalone" means "with no other applications".
(2015-01-02, 18:54)Angelscry Wrote: [ -> ]From where come this NFO file?

It is possible to edit an NFO file manually. I would just add the "series" field, or whatever other information I felt was missing, myself. So it's not possible to get Advanced Launcher to reconize unique fields in an NFO file? If not, that's fine. I'll come up with a workaround.

I have tried RCB. It actually is able to seperate anything entered in the "genre" field seperated by a comma. For example, Action, Adventure would create two genre entities entitled Action and Adventure. Whereas Advanced Launcher would just create a single entity called Action, Adventure.

Truth to tell, I just prefer Advanced Launcher as a matter of preference. Is there a way to simulate the functionality I described above -- where items listed in the "genre" field and seperated by a comma, semi-colon, etc. create multiple entities in Advanced Launcher?

Thanks, as always.
(2015-01-02, 22:54)ianrace Wrote: [ -> ]It is possible to edit an NFO file manually. I would just add the "series" field, or whatever other information I felt was missing, myself. So it's not possible to get Advanced Launcher to reconize unique fields in an NFO file? If not, that's fine. I'll come up with a workaround.
No that's not possible that you simply put anything you want into an NFO file and that Advanced Launcher recognize it an know what to do with it.

(2015-01-02, 22:54)ianrace Wrote: [ -> ]I have tried RCB. It actually is able to seperate anything entered in the "genre" field seperated by a comma. For example, Action, Adventure would create two genre entities entitled Action and Adventure. Whereas Advanced Launcher would just create a single entity called Action, Adventure.
I don't understand what is the problem. Adventure/Action games are not simply Action games or Adventure games. Its a game genre by itself.

(2015-01-02, 22:54)ianrace Wrote: [ -> ]Truth to tell, I just prefer Advanced Launcher as a matter of preference. Is there a way to simulate the functionality I described above -- where items listed in the "genre" field and seperated by a comma, semi-colon, etc. create multiple entities in Advanced Launcher?
No.
(2014-12-30, 21:34)Angelscry Wrote: [ -> ]
(2014-12-30, 20:45)graysky Wrote: [ -> ]Thanks for the code; I have it running on Kodi. I am using it to simply launch /usr/bin/chromium which it does, but the resulting browser runs in a smaller window which I am unable to modifyx. What am I doing wrong?

I am launching kodi via a systemd service that does this:
Code:
/usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/kodi-standalone2 -- :0 -nolisten tcp vt7

Image
If you use Kodi into standalone mode, so it means that you do not have any windows manager actually running. So you system is not able to correctly display and manage application windows (like the chromium one). If you want to start correctly external application you mainly have 2 solutions:

  1. start XBMC into a light desktop/windows manager (so not into standalone-mode) and then start your applications simply directly from XBMC.
  2. continue to use XBMC into standalone mode, but then start form XBMC scripts that will launch a desktop/windows manager prior to start your applications.

I created ~/bin/firefox-launch which contains:
Code:
#!/bin/bash
openbox &
/usr/bin/firefox
killall -9 openbox

I linked that to a launcher but when I invoke it through Advanced Launcher, nothing happens... I do see openbox and firefox running but not on my screen, see PIDs 6926 2927 below:
Code:
% pg kodi
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
kodi      6678  0.0  0.0  15920   964 ?        Ss   15:47   0:00 /usr/bin/xinit /usr/bin/dbus-launch --exit-with-session /usr/bin/kodi-standalone -- :0 -nolisten tcp vt7
kodi      6680  0.0  0.1  35636  4176 ?        Ss   15:47   0:00 /usr/lib/systemd/systemd --user
kodi      6682  0.0  0.0  82008  1664 ?        S    15:47   0:00 (sd-pam)
kodi      6687  0.0  0.0  88188  1688 ?        S    15:47   0:00 (sd-pam
kodi      6688  0.5  0.7 269264 29756 tty7     S<sl+ 15:47   0:01 /usr/bin/Xorg.bin :0 -nolisten tcp vt7
kodi      6692  0.0  0.0  11848  2704 ?        S    15:47   0:00 /bin/sh /usr/bin/kodi-standalone
kodi      6695  0.0  0.0  15928   148 ?        S    15:47   0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/kodi-standalone
kodi      6696  0.0  0.0  31004  2120 ?        Ss   15:47   0:00 /usr/bin/dbus-daemon --fork --print-pid 4 --print-address 6 --session
kodi      6700  0.0  0.0  11848  2736 ?        S    15:47   0:00 /bin/sh /usr/bin/kodi --standalone
kodi      6709  4.0  3.0 1801444 124028 ?      Sl   15:47   0:09 /usr/lib/kodi/kodi.bin --standalone
kodi      6925  0.0  0.0  11848  2556 ?        S    15:50   0:00 /bin/bash /var/lib/kodi/bin/firefox-launch
kodi      6926  0.0  0.3 175192 15676 ?        S    15:50   0:00 openbox
kodi      6927  5.5  3.9 784460 158048 ?       Sl   15:50   0:03 /usr/bin/firefox
kodi      6932  0.0  0.1  41624  4236 ?        S    15:50   0:00 /usr/lib/GConf/gconfd-2
kodi      6946  0.0  0.1 261664  7172 ?        Sl   15:50   0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
kodi      6952  0.0  0.1 212800  5980 ?        Sl   15:50   0:00 /usr/lib/gvfs/gvfsd
kodi      6956  0.0  0.1 296220  6588 ?        Sl   15:50   0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/420/gvfs -f -o big_writes

Note pg is an alias:
Code:
% which pg
pg: aliased to echo "USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND" && ps aux | grep --color=auto
hello i am a huge fan of your work and recently i have had to switch to openelec on a old laptop its running 5.0 , kodi 14. Will you be doing what is necessary, making this run on this system? i have it installed, however it fails to play any games, if it does work and i am possibly missing somthing please enlighten me.
(2015-01-04, 07:28)bigamusj Wrote: [ -> ]hello i am a huge fan of your work and recently i have had to switch to openelec on a old laptop its running 5.0 , kodi 14. Will you be doing what is necessary, making this run on this system? i have it installed, however it fails to play any games, if it does work and i am possibly missing somthing please enlighten me.
Advanced Launcher perfectly works on Kodi. As Openelec is dedicated to run Kodi into standalone mode (without any dekstop or windows manager) that could be your problem. Which games do you want to start? Which dekstop/windows manager ar you using on your system?

(2015-01-03, 22:52)graysky Wrote: [ -> ]I linked that to a launcher but when I invoke it through Advanced Launcher, nothing happens... I do see openbox and firefox running but not on my screen, see PIDs 6926 2927 below:
Maybe it will be better four you to ask directly to OpenElec developers why openbox could not run correcty on OpenElec. Advanced Launcher is dedicated to start applications using command line, and as your screen show openbox has been effectively started.
Sorry should of been more specific, I only run openelec as a complete stand alone. I tried. Exe and Linux emulators can't get either to work
(2015-01-04, 19:23)bigamusj Wrote: [ -> ]Sorry should of been more specific, I only run openelec as a complete stand alone. I tried. Exe and Linux emulators can't get either to work
Exe files are windows application executables. They cannot be started on Openelec (linux based). So that's normal that they will not work. For linux emulators, how have you installed them? Manually? From Openelec packages? Are your sure they are working on Openelec?
Honestly no, I just tried setting it up the same I always have with advanced. Do you know of a good source to locate ones that work well?
(2015-01-04, 15:55)Angelscry Wrote: [ -> ]
(2015-01-03, 22:52)graysky Wrote: [ -> ]I linked that to a launcher but when I invoke it through Advanced Launcher, nothing happens... I do see openbox and firefox running but not on my screen, see PIDs 6926 2927 below:
Maybe it will be better four you to ask directly to OpenElec developers why openbox could not run correcty on OpenElec. Advanced Launcher is dedicated to start applications using command line, and as your screen show openbox has been effectively started.

I had the same problem after upgrading to Helix on a minimal Ubuntu installation running kodi-standalone. My script for launching applications:

Code:
#!/bin/sh

openbox &
$1
killall openbox

If I set Kodi to Windowed mode, I can see the launched application inside a new window. For some strange reasons, the Kodi Window won't get any window decorations and will always stay on top (see the screenshot below). If I remember correctly, the behavior in Frodo was different.

Image
picupload

I changed my system configuration so that I run openbox/kodi instead of kodi-standalone (I called the start script kodi-standalone-openbox):

Code:
#!/bin/sh

# start openbox
openbox &

# disable screen blanking
xset -dpms;xset s noblank

# draw background
hsetroot -solid black

# start kodi
kodi

# kill openbox
killall openbox
(2015-01-05, 06:37)enolive Wrote: [ -> ]I changed my system configuration so that I run openbox/kodi instead of kodi-standalone
And it works better with this new configuration?
Hi guys, I have a question regarding this plugin. My current Kodi setup is that the screen will dim after 2 mins of inactivity and then turn off after 5. Naturally Kodi recognizes when I watch videos so it doesn't dim or turn off the screen. I am using the advanced launcher plugin to start IE in fullscreen-mode to open up a website like Fox News to watch the live stream. The problem I have is that when IE is running, the screen dim's and then turns off because Kodi thinks there isn't any activity. Is there a setting I can add to my shortcuts that tell Kodi that while it's running that it is in fact an active process and that not to invoke the power saving features?

If this plugin isn't the right one for it maybe something else is? Thanks again!
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