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: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Haohmaru - 2013-08-18

Sorry I thought earlier that you have meant the launcher when you wrote standalone. I'm using an Ubuntu 12.10 minimal installation.
That makes sense now why the script won't work. What do I have to do to make it work without slowing the system with a desktop and other things I don't necessarily need?
Also can this be the cause of the no sound problem too ?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-08-18

(2013-08-18, 15:15)Haohmaru Wrote: Sorry I thought earlier that you have meant the launcher when you wrote standalone. I'm using an Ubuntu 12.10 minimal installation.
That makes sense now why the script won't work. What do I have to do to make it work without slowing the system with a desktop and other things I don't necessarily need?
Also can this be the cause of the no sound problem too ?
But it is precisely because your are using XBMC into standalone mode and not using a desktop/windows manager that you have all these problems.

First, you need to change the way XBMC is started on your systeme. XBMC must be started somewhere on your system (into .xinitrc or .xsession file) like this :

Code:
...
xbmc --standalone
...

Just replace this line by

Code:
...
xbmc
...

Then you will have to fix the way that your are not using a desktop/windows manager. Here are some ways to do it : http://forum.xbmc.org/showthread.php?tid=85724&pid=1429403#pid1429403


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - lordzerg - 2013-08-18

killall - 9 = is wrong too must be ="killall -9" no space between - and a 9


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Gingerbread Man - 2013-08-25

Hi there. I've successfully set it up to launch Internet Explorer and also Google's Chrome.

Once in any of the browsers, I have to switch to my keyboard or a tablet/ phone app, but can I map a button to the Harmony One remote I'm using to exit the browser and to return to XBMC?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-08-25

(2013-08-25, 17:00)Gingerbread Man Wrote: Hi there. I've successfully set it up to launch Internet Explorer and also Google's Chrome.

Once in any of the browsers, I have to switch to my keyboard or a tablet/ phone app, but can I map a button to the Harmony One remote I'm using to exit the browser and to return to XBMC?
Yes I think you can. Under my linux HTPC system I have write a small .sh script that close every potential application that could be started from Advanced Launcher. Then I have mapped one of my MCE button to a condination key and that combination key call the .sh script. It must be possible to do the same under windows using a .bat script that would be called from one of the button of your Harmony One remote.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Gingerbread Man - 2013-08-25

Hi, thanks for replying. So it's possible, just needs some simple know how? Where is a good place to find this knowledge?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-08-25

(2013-08-25, 17:52)Gingerbread Man Wrote: Hi, thanks for replying. So it's possible, just needs some simple know how? Where is a good place to find this knowledge?
Maybe here : http://forums.logitech.com/t5/Harmony-Remotes/Considering-Harmony-Remote-but-Have-Questions/m-p/451814#M48165


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - teeedubb - 2013-08-25

(2013-08-25, 17:52)Gingerbread Man Wrote: Hi, thanks for replying. So it's possible, just needs some simple know how? Where is a good place to find this knowledge?

Similar to what Angelscry does, I use event ghost (windows) to launch a batch file on a remote key press that kills all emulators that I can launch. You could do something similar but kill your browsers instead.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - sagaopc - 2013-08-26

Angels, u can help me? i need create a autoit exe to 2 itens:

an shortcut, Saint Seiya Online.lnk (because i'm using WTFast + Runasdate to launch the game) and Xpadder

u can help me?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-08-27

(2013-08-26, 19:05)sagaopc Wrote: Angels, u can help me? i need create a autoit exe to 2 itens:

an shortcut, Saint Seiya Online.lnk (because i'm using WTFast + Runasdate to launch the game) and Xpadder

u can help me?
Just create a .bat script that will launch Xpadder then add a line using the same command contained into your Saint Seiya Online.lnk.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - SwedishGojira - 2013-08-30

(2013-08-17, 16:00)Haohmaru Wrote: I am also using XBMC 13 on Linux and I have an other Problem.
The launcher starts gens only properly if I first manually change to Window mode. Another Problem is that I have no sound. I guess the solution would be a script to kill xbmc just before the emulator starts.

I have made a gens.sh script containing the following:

#!/bin/bash
killall - 9 xbmc.bin
/usr/games/gens - - fs - - quickexit $1
xbmc

then made it executable and lastly modified the launcher to start the script instead of the emulator directly.

The problem is that this way the emulator will not start only thing that happens is xbmc rebooting after a few seconds.

Can you please help me?
Don't know if you have written wrong here or not, but the line to start Gens has way too many spaces to work properly.

And as Angelcry tells you, you can not kill XBMC while it is in standalone.
You can however, stop it and then start another program. And when you stop the program you continue XBMC again.
This is what I do and it is working great (mostly).
Here is my script:
Code:
#!/bin/bash
/usr/bin/killall -STOP xbmc.bin
/usr/games/gens --fs --quickexit "$1"
/usr/bin/killall -CONT xbmc.bin

Just remember to set the launcher to window XBMC on emulator start or the emulator will never get focus.
It took me a while to find this out...
You might also want to turn off menu sounds in XBMC as they sometimes make XBMC still hog the sound even though it is paused.


New Window Chrome - jazzperm - 2013-08-30

I set Chrome in Advances Launcher on XBMC 12.2 on windows 7.

When Chrome is not running and I open it with advanced launcher, it opens chrome and gets the focus. When Chrome is already running and, I open it again from advanced launcher, it opens a new window that doesn't get focus. Is it possible to switch to the opened chrome window, instead of opening a new window?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-08-30

(2013-08-30, 15:06)jazzperm Wrote: I set Chrome in Advances Launcher on XBMC 12.2 on windows 7.

When Chrome is not running and I open it with advanced launcher, it opens chrome and gets the focus. When Chrome is already running and, I open it again from advanced launcher, it opens a new window that doesn't get focus. Is it possible to switch to the opened chrome window, instead of opening a new window?
As far as I know, it is not possible. That's a chrome problem (bug?).

It is possible to focus a windows using scripts... but in the case of chrome, when 2 chrome windows are open, it is not possible to get the focus on one specifically.

You can trick this by writing a dedicated chrome's script that will close any chrome process before launch chrome on a specific page. Something like this , using windows pskill application :

chrome-launcher.bat
Code:
pskill -t chrome.exe
C:\Users\USER\AppData\Local\Google\Chrome\Application\chrome.exe --kiosk "$1"



RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - fruitgull - 2013-09-02

I have the famous no sound in advanced launcher lanched applications Smile I've read quite a lot and tried many different solutions though.

One of them was the solution by Angelscry in post #4705 in this thread:
Adding ~/.asoundrc:
pcm.!default {
type hw
card 0
device 3
}

ctl.!default {
type hw
card 0
device 3
}


Card 0, dev 3 should be right because speaker-test -D hdmi:CARD=NVidia,DEV=3 -c 6 works fine. And I only have one card (0). Please note that speaker-test -D hw:0,3 -c 6 doesn't produce any sound.
aplay -D hw:0,3 wavfile.wav doesn't work either. It's finding the device. But no sound.
Also when I start Spotify the playing bar moves, but no sound is heard. If I change device in .asoundrc (to something other than 3) playback doesn't start at all and the playing bar does not move. So I'm quite certain I have the correct card/device. Sound doesn't work in Firefox or Chromium either. No spdif devices are muted in alsamixer.

I've also tried to toggle the setting in advanced launcher to stop or let play the xbmc sound. I'm also of course using the correct system/sound settings i xbmc (I've tried both hdmi and analogue here), and also with or without navigation sounds. All sound works fine in xbmc otherwise.

I'm using XBMCbuntu 12.2.
Any advice on how to continue?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-09-02

(2013-09-02, 19:44)fruitgull Wrote: I have the famous no sound in advanced launcher lanched applications Smile I've read quite a lot and tried many different solutions though.

One of them was the solution by Angelscry in post #4705 in this thread:
Adding ~/.asoundrc:
pcm.!default {
type hw
card 0
device 3
}

ctl.!default {
type hw
card 0
device 3
}


Card 0, dev 3 should be right because speaker-test -D hdmi:CARD=NVidia,DEV=3 -c 6 works fine. And I only have one card (0). Please note that speaker-test -D hw:0,3 -c 6 doesn't produce any sound.
aplay -D hw:0,3 wavfile.wav doesn't work either. It's finding the device. But no sound.
Also when I start Spotify the playing bar moves, but no sound is heard. If I change device in .asoundrc (to something other than 3) playback doesn't start at all and the playing bar does not move. So I'm quite certain I have the correct card/device. Sound doesn't work in Firefox or Chromium either. No spdif devices are muted in alsamixer.

I've also tried to toggle the setting in advanced launcher to stop or let play the xbmc sound. I'm also of course using the correct system/sound settings i xbmc (I've tried both hdmi and analogue here), and also with or without navigation sounds. All sound works fine in xbmc otherwise.

I'm using XBMCbuntu 12.2.
Any advice on how to continue?
Are you using pulseaudio on your XBMCbuntu system?
Are you starting your application under a windows/desktop manager environnement (like openbox)?
If using card(0) do not work but using "NVidia" work, maybe you could try to setup your .asoundrc file like this : https://gist.github.com/jasongill/2385863
What is the result of the command aplay -l ?