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 - teeedubb - 2013-09-02

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

Firefox has a add on that will open a new tab and give Firefox focus when a new instance is run when Firefox is already running, in essence only allowing one Firefox window to be open, maybe chrome has something similar?


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

(2013-09-02, 22:42)Angelscry Wrote:
(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 ?

Thank you for your interest Smile

No, I'm only using Alsa. Pulseaudio is not installed.
Yes. I'm using openbox/fluxbox. But if you have another way to try to start them, I'll try it. This is the script I'm using to start Spotify/Firefox:

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

-----

aplay -l:

Code:
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

Now I've tried to change my .asoundrc to use NVidia as card (instead of 0):
defaults.pcm.!card NVidia
defaults.ctl.!card NVidia
defaults.pcm.!device 3
defaults.ctl.!device 3

No sound though.

This is the audio device I've always used and is working perfect in Xbmc: HDA NVidia, SEC EPSON PJ on HDMI #3, both for passthrough and pcm.

But I couldn't change the audio devices to custom (I have no such choice) (according to https://gist.github.com/jasongill/2385863). But perhaps this is not needed.


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

All seems correct... I know that you have already play with those parameters, but have you try to set them like this :
  • set into Advanced Launcher the option to let XBMC play sound,
  • set into XBMC audio output to analogic,
  • and disable navigation sounds into XBMC

but all at the same time (not one by one)?


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

(2013-09-03, 15:19)Angelscry Wrote: All seems correct... I know that you have already play with those parameters, but have you try to set them like this :
  • set into Advanced Launcher the option to let XBMC play sound,
  • set into XBMC audio output to analogic,
  • and disable navigation sounds into XBMC

but all at the same time (not one by one)?

I did as you asked.
Rebooted Xbmc
Set all the settings at once.
Tried Spotify/Chromium
But no sound Sad

I could try to activate the on-board sound card and use it's spdif output for PCM and the Nvidia card's hdmi still for passthrough. But in my experience having several sound cards active can cause problems.
Anyway; thanks for your help!


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

Unfortunately, I do not have any other idea. As it is a problem directly linked to XBMC, the best move will be to report this issue to XBMC developers : http://trac.xbmc.org/


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

Not really true.... I have 2 other ideas...
To check if the problem is really related to XBMC, you can try this :

Code:
#!/bin/bash
killall -9 xbmc
openbox &
/usr/bin/spotify
killall -9 openbox
xbmc

Also... Normally XBMC automatically release sound after 10s. So you can try to add a delay to check if it is the case :

Code:
#!/bin/bash
sleep 15
openbox &
/usr/bin/spotify
killall -9 openbox

Normally you must have sound on the 2 cases. If not, then the problem is related to your system configuration.


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

(2013-09-03, 17:12)Angelscry Wrote: Not really true.... I have 2 other ideas...
To check if the problem is really related to XBMC, you can try this :

Code:
#!/bin/bash
killall -9 xbmc
openbox &
/usr/bin/spotify
killall -9 openbox
xbmc

Also... Normally XBMC automatically release sound after 10s. So you can try to add a delay to check if it is the case :

Code:
#!/bin/bash
sleep 15
openbox &
/usr/bin/spotify
killall -9 openbox

Normally you must have sound on the 2 cases. If not, then the problem is related to your system configuration.

First script doesn't work as intended because xbmc starts automatically when you kill it. So in my case I kill xbmc, and xbmc is immediately started, then Spotiy is started. When I exit Spotify Xbmc is started a second time.

The second script doesn't work (no sound).

BUT, I've got it to work by enabling my on-board sound card and using the spdif on it for PCM! HDMI is still used for passthrough. Now all sound works Smile I've associated that spdif output with Xbmc's AV profile in my receiver and everything works now. Now both passthrough HDMI sound and SPDIF PCM works when on that AV profile.


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

Rofl


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Dam0 - 2013-09-05

ive tried to search, so i apologise if this has been asked previously...

can this add-on open any web browser and give focus/kill xbmc, then when browser is exited restart xbmc/switch focus back to xbmc on Raspbmc distro?

thx,
D.


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

(2013-09-05, 10:19)Dam0 Wrote: ive tried to search, so i apologise if this has been asked previously...

can this add-on open any web browser and give focus/kill xbmc, then when browser is exited restart xbmc/switch focus back to xbmc on Raspbmc distro?

thx,
D.
As Raspbmc is based on linux and can use command line, yes it it possible.
http://www.gwenael.org/forum/viewtopic.php?id=39
http://www.gwenael.org/forum/viewtopic.php?id=40
You may also need to modify your script to use a light windows/desktop manager.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Dam0 - 2013-09-05

thank you for the informative reply.

by chance could you also recommend a light windows/desktop manager that might be suitable, remembering that raspberry pi only has 512mb ram?

thx,
Dam0


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

(2013-09-05, 13:22)Dam0 Wrote: thank you for the informative reply.

by chance could you also recommend a light windows/desktop manager that might be suitable, remembering that raspberry pi only has 512mb ram?

thx,
Dam0
You can try to install Openbox (it use less 10MB of RAM).


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - n1md4 - 2013-09-05

(2013-09-05, 14:36)Angelscry Wrote: You can try to install Openbox ....

You should consider a FAQ section on your first post Wink

By the way, remember a while ago discussing about potentially configuring a book/magazine scraper to use Amazon? Ever something you've time/interest in?

Cheers!


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

(2013-09-05, 20:11)n1md4 Wrote:
(2013-09-05, 14:36)Angelscry Wrote: You can try to install Openbox ....

You should consider a FAQ section on your first post Wink
I think I will create a specific thread on Advanced Launcher dedicated board for this fact, but in my opinion, it is not necessary to create a FAQ for that.

(2013-09-05, 20:11)n1md4 Wrote: By the way, remember a while ago discussing about potentially configuring a book/magazine scraper to use Amazon? Ever something you've time/interest in?
Interest yes... but I definitively miss time.


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

(2013-09-05, 20:11)n1md4 Wrote:
(2013-09-05, 14:36)Angelscry Wrote: You can try to install Openbox ....

You should consider a FAQ section on your first post Wink
Fixed : http://www.gwenael.org/forum/viewtopic.php?pid=2367#p2367