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 - booth1983 - 2013-11-18

I have a problem with the Advanced Launcher.

I configured it, that when an external program starts, that the music keeps playing. But as soon as the song, that was playing when i startet the external program comes to an end, the music stops. The next song in the list (with manually and automaticly created playlists) doesn't start.

Any suggestions?

Greets & thanks

PS: XBMC is running on WinXP Pro with SP3


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - blunted1 - 2013-11-18

Fellow XBMC users,

I'm having a difficult time getting Advanced Launcher to work properly with 'Nestopia' the NES emulator I've been using. I have nestopia running fine in XBMCbuntu with my USB controller mapped correctly and video/sound play great. Now I'd like for Advanced Launcher to start this working configuration directly from XBMC.

It is my understanding that XBMCbuntu doesn't start any window manager by default which tends to cause problems for programs outside of XBMC. Thus, I've been trying to use this script to properly run nestopia.

Code:
#!/bin/bash
killall -STOP xbmc.bin
openbox &
/usr/local/bin/nestopia "$1"
killall -9 openbox
killall -CONT xbmc.bin

When I run the above script I get a completely blank screen. I can see via ssh that nestopia was properly started /usr/local/bin/nestopia /path/to/roms/rom.zip and I see an 'openbox' process has started as well, but nothing to work with on screen and no input from keyboard or gamepad. Forced to reboot.

What am I missing here?

FYI, I'm running these versions:

Ubuntu 12.10 - XBMCbuntu
XBMC Version: 2:12.2~git20130502.1706-frodo-0quantal
Nestopia - 1.45 (compiled from source)

Any assistance is greatly appreciated.

Thanks,
blunted1


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-11-19

(2013-11-18, 20:17)booth1983 Wrote: I have a problem with the Advanced Launcher.

I configured it, that when an external program starts, that the music keeps playing. But as soon as the song, that was playing when i startet the external program comes to an end, the music stops. The next song in the list (with manually and automaticly created playlists) doesn't start.

Any suggestions?

Greets & thanks

PS: XBMC is running on WinXP Pro with SP3
When it happens, when you return to XBMC, the song is playing XBMC (but you do not hear the sound) or the song is stopped. If it is the second case, that's mean that XBMC seems to had the focus to switch to another song, and I cannot fix this from XBMC.

(2013-11-18, 23:31)blunted1 Wrote: Fellow XBMC users,

I'm having a difficult time getting Advanced Launcher to work properly with 'Nestopia' the NES emulator I've been using. I have nestopia running fine in XBMCbuntu with my USB controller mapped correctly and video/sound play great. Now I'd like for Advanced Launcher to start this working configuration directly from XBMC.

It is my understanding that XBMCbuntu doesn't start any window manager by default which tends to cause problems for programs outside of XBMC. Thus, I've been trying to use this script to properly run nestopia.

Code:
#!/bin/bash
killall -STOP xbmc.bin
openbox &
/usr/local/bin/nestopia "$1"
killall -9 openbox
killall -CONT xbmc.bin

When I run the above script I get a completely blank screen. I can see via ssh that nestopia was properly started /usr/local/bin/nestopia /path/to/roms/rom.zip and I see an 'openbox' process has started as well, but nothing to work with on screen and no input from keyboard or gamepad. Forced to reboot.

What am I missing here?

FYI, I'm running these versions:

Ubuntu 12.10 - XBMCbuntu
XBMC Version: 2:12.2~git20130502.1706-frodo-0quantal
Nestopia - 1.45 (compiled from source)

Any assistance is greatly appreciated.

Thanks,
blunted1
Have you tried to go into Advanced Launcher settings > Miscellaneous > Delay and try to increase the value from 1000ms to 5000ms (for example)? On low config, XBMC take time to loose focus and could give a black screen if an application like Nestopia is started.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - blunted1 - 2013-11-19

(2013-11-19, 02:07)Angelscry Wrote: Have you tried to go into Advanced Launcher settings > Miscellaneous > Delay and try to increase the value from 1000ms to 5000ms (for example)? On low config, XBMC take time to loose focus and could give a black screen if an application like Nestopia is started.

I went into Advanced Launcher settings and made the requested change from 1000ms to 5000ms. Still not starting nestopia. When investigating it further via ssh I see it's started openbox and nestopia as processes. If I manually run the same script from command line it will start nestopia and allow me to play games.

Should I bump that delay up even further or look elsewhere?

Thanks,
b1


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-11-19

(2013-11-19, 04:55)blunted1 Wrote:
(2013-11-19, 02:07)Angelscry Wrote: Have you tried to go into Advanced Launcher settings > Miscellaneous > Delay and try to increase the value from 1000ms to 5000ms (for example)? On low config, XBMC take time to loose focus and could give a black screen if an application like Nestopia is started.

I went into Advanced Launcher settings and made the requested change from 1000ms to 5000ms. Still not starting nestopia. When investigating it further via ssh I see it's started openbox and nestopia as processes. If I manually run the same script from command line it will start nestopia and allow me to play games.

Should I bump that delay up even further or look elsewhere?

Thanks,
b1
You can try to increase the delay to its maximum.... and see if it change something or not. You can also try to go into your launcher advanced settings and try to switch the "Toogle XBMC into Windows mode" option to OFF or ON depending your actual value.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - booth1983 - 2013-11-19

(2013-11-19, 02:07)Angelscry Wrote:
(2013-11-18, 20:17)booth1983 Wrote: I have a problem with the Advanced Launcher.

I configured it, that when an external program starts, that the music keeps playing. But as soon as the song, that was playing when i startet the external program comes to an end, the music stops. The next song in the list (with manually and automaticly created playlists) doesn't start.

Any suggestions?

Greets & thanks

PS: XBMC is running on WinXP Pro with SP3
When it happens, when you return to XBMC, the song is playing XBMC (but you do not hear the sound) or the song is stopped. If it is the second case, that's mean that XBMC seems to had the focus to switch to another song, and I cannot fix this from XBMC.

The song stopped. So if I interpred correctly, according to your post, it's not a advanced launcher problem, it's an xbmc problem.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-11-19

(2013-11-19, 09:46)booth1983 Wrote:
(2013-11-19, 02:07)Angelscry Wrote:
(2013-11-18, 20:17)booth1983 Wrote: I have a problem with the Advanced Launcher.

I configured it, that when an external program starts, that the music keeps playing. But as soon as the song, that was playing when i startet the external program comes to an end, the music stops. The next song in the list (with manually and automaticly created playlists) doesn't start.

Any suggestions?

Greets & thanks

PS: XBMC is running on WinXP Pro with SP3
When it happens, when you return to XBMC, the song is playing XBMC (but you do not hear the sound) or the song is stopped. If it is the second case, that's mean that XBMC seems to had the focus to switch to another song, and I cannot fix this from XBMC.

The song stopped. So if I interpred correctly, according to your post, it's not a advanced launcher problem, it's an xbmc problem.
You may be able to confirm it by starting playing songs of your playlist, reduce XBMC (using "\" key), then use another software on your system (XBMC must not have the focus) until the end of the first song... and see what happen.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - mike351 - 2013-11-20

(2013-11-19, 13:28)Angelscry Wrote:
(2013-11-19, 09:46)booth1983 Wrote:
(2013-11-19, 02:07)Angelscry Wrote: When it happens, when you return to XBMC, the song is playing XBMC (but you do not hear the sound) or the song is stopped. If it is the second case, that's mean that XBMC seems to had the focus to switch to another song, and I cannot fix this from XBMC.

The song stopped. So if I interpred correctly, according to your post, it's not a advanced launcher problem, it's an xbmc problem.
You may be able to confirm it by starting playing songs of your playlist, reduce XBMC (using "\" key), then use another software on your system (XBMC must not have the focus) until the end of the first song... and see what happen.

As mentioned in another thread, I have this exact same problem, and have carried out some tests.

If XBMC is switched out of focus with ALT+TAB, and another program is run, it continues to play all the songs in the folder.

If I use Advanced Launcher to launch my program, the current song plays to the end and then stops.

My setup is Windows 7, XBMC 12.2 with the following add-ons: Advanced Launcher, Resume and Confluence Customizable Mod (skin).

Mike


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Platypus2 - 2013-11-20

I'm trying to launch (Arcsoft) Total media theater, but it seems like it Advanced Launcher does nothing.

Its works with fullscreen window instead of true fullscreen but I had hoped it would just minimize xbmc and launch...but it doesn't :S. I tried playercorefactory but that seemed to crash / hang so thought I would just launch straight into TMT through advanced launcher but it doesn't seem to work either.

Is there anyway to force xbmc to minimize? I tried doing .bat as well, which from desktop works fine but won't launch from Advanced Launcher in fullscreen either - is there a way to minimize xbmc and run a .bat if there isn't another solution?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-11-20

(2013-11-20, 02:08)Platypus2 Wrote: I'm trying to launch (Arcsoft) Total media theater, but it seems like it Advanced Launcher does nothing.

Its works with fullscreen window instead of true fullscreen but I had hoped it would just minimize xbmc and launch...but it doesn't :S. I tried playercorefactory but that seemed to crash / hang so thought I would just lhave to unch straight into TMT through advanced launcher but it doesn't seem to work either.

Is there anyway to force xbmc to minimize? I tried doing .bat as well, which from desktop works fine but won't launch from Advanced Launcher in fullscreen either - is there a way to minimize xbmc and run a .bat if there isn't another solution?
If you go into your launcher "Advanced Options", you will see an option to "Force XBMC to toggle into windowed mode" before starting your application. It will surely help. By default XBMC is let into fullscren (fullscreen window or true fullscreen mode). There is no option into Advanced Launcher to minimize XBMC (there is no really reasons to do so). But, if you want to do so, you must do it using your own .bat script.

For .bat scripts you must have to know that they are started hidden by default by Advanced Launcher. To see the related command windows, go into Advanced Launcher settings > Advanced > Debug Options > and activate the "Show batch command window" option.
.
Finally if your .bat script is not working corretly, so it means that you have an error into your script. To be able to see this reported error : start XBMC from a command prompt window. The error message of the application started by Advanced Launcher will be reported into the same command prompt window.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - mike351 - 2013-11-20

I figured a back to basics approach was needed, to see if anything might be interfering with your add-on, so I installed a vanilla copy of XBMC on another machine, with only your add-on. In this configuration, I noticed something different right away.

On the media centre pc which has all the other add-ons, when I select my external program, XBMC is completely minimised and my program is the only thing visible on the desktop. On my vanilla install, when I select my external program, XBMC remains visible, but out of focus, with my external program also visible, but in focus.

Perhaps it is one of the other two add-ons, either Confluence Customisable Mod or XBMC Resume, conflicts with your add-on.

I will run some more tests a bit later on, when I get some more time.

Mike


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2013-11-20

(2013-11-20, 02:52)mike351 Wrote: I figured a back to basics approach was needed, to see if anything might be interfering with your add-on, so I installed a vanilla copy of XBMC on another machine, with only your add-on. In this configuration, I noticed something different right away.

On the media centre pc which has all the other add-ons, when I select my external program, XBMC is completely minimised and my program is the only thing visible on the desktop. On my vanilla install, when I select my external program, XBMC remains visible, but out of focus, with my external program also visible, but in focus.

Perhaps it is one of the other two add-ons, either Confluence Customisable Mod or XBMC Resume, conflicts with your add-on.

I will run some more tests a bit later on, when I get some more time.

Mike
I just made a test on my linux system... but I was not able to reproduce your problem. I was using XBMC to play a folder containing MP3 files, and use at the same time Advanced Launcher to start VLC and play a video. Both, video and MP3 was playing correctly. I can hear the audio from the 2 sources at the same time. Also, once a MP3 file is finished, the next one is started automatically correctly. So... the problem could be effectively linked to something external to Advanced launcher, probably another add-on. I'm not sure it could be linked to a skin. It could be an addon that is running into background and that could be related to XBMC media player state.

(2013-11-20, 02:52)mike351 Wrote: On the media centre pc which has all the other add-ons, when I select my external program, XBMC is completely minimised and my program is the only thing visible on the desktop. On my vanilla install, when I select my external program, XBMC remains visible, but out of focus, with my external program also visible, but in focus.
As I just wrote to Platypus2, Advanced Launcher do not reduce XBMC but just let into into Window Mode or put into into window. So your vanilla install of XBMC is working as expected.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - mike351 - 2013-11-20

(2013-11-20, 03:08)Angelscry Wrote:
(2013-11-20, 02:52)mike351 Wrote: I figured a back to basics approach was needed, to see if anything might be interfering with your add-on, so I installed a vanilla copy of XBMC on another machine, with only your add-on. In this configuration, I noticed something different right away.

On the media centre pc which has all the other add-ons, when I select my external program, XBMC is completely minimised and my program is the only thing visible on the desktop. On my vanilla install, when I select my external program, XBMC remains visible, but out of focus, with my external program also visible, but in focus.

Perhaps it is one of the other two add-ons, either Confluence Customisable Mod or XBMC Resume, conflicts with your add-on.

I will run some more tests a bit later on, when I get some more time.

Mike
I just made a test on my linux system... but I was not able to reproduce your problem. I was using XBMC to play a folder containing MP3 files, and use at the same time Advanced Launcher to start VLC and play a video. Both, video and MP3 was playing correctly. I can hear the audio from the 2 sources at the same time. Also, once a MP3 file is finished, the next one is started automatically correctly. So... the problem could be effectively linked to something external to Advanced launcher, probably another add-on. I'm not sure it could be linked to a skin. It could be an addon that is running into background and that could be related to XBMC media player state.

(2013-11-20, 02:52)mike351 Wrote: On the media centre pc which has all the other add-ons, when I select my external program, XBMC is completely minimised and my program is the only thing visible on the desktop. On my vanilla install, when I select my external program, XBMC remains visible, but out of focus, with my external program also visible, but in focus.
As I just wrote to Platypus2, Advanced Launcher do not reduce XBMC but just let into into Window Mode or put into into window. So your vanilla install of XBMC is working as expected.

On my vanilla XBMC I have now installed XBMC Resume and Confluence Customisable Mod, and the issue isn't coming up. I believe I have also kept the settings the same as my media centre pc, so right now I am at a loss as to why I have this issue on one machine and not the other.

I'll keep looking to see if I can find what is causing the issue.

Mike

(2013-11-20, 03:08)Angelscry Wrote:
(2013-11-20, 02:52)mike351 Wrote: I figured a back to basics approach was needed, to see if anything might be interfering with your add-on, so I installed a vanilla copy of XBMC on another machine, with only your add-on. In this configuration, I noticed something different right away.

On the media centre pc which has all the other add-ons, when I select my external program, XBMC is completely minimised and my program is the only thing visible on the desktop. On my vanilla install, when I select my external program, XBMC remains visible, but out of focus, with my external program also visible, but in focus.

Perhaps it is one of the other two add-ons, either Confluence Customisable Mod or XBMC Resume, conflicts with your add-on.

I will run some more tests a bit later on, when I get some more time.

Mike
I just made a test on my linux system... but I was not able to reproduce your problem. I was using XBMC to play a folder containing MP3 files, and use at the same time Advanced Launcher to start VLC and play a video. Both, video and MP3 was playing correctly. I can hear the audio from the 2 sources at the same time. Also, once a MP3 file is finished, the next one is started automatically correctly. So... the problem could be effectively linked to something external to Advanced launcher, probably another add-on. I'm not sure it could be linked to a skin. It could be an addon that is running into background and that could be related to XBMC media player state.

(2013-11-20, 02:52)mike351 Wrote: On the media centre pc which has all the other add-ons, when I select my external program, XBMC is completely minimised and my program is the only thing visible on the desktop. On my vanilla install, when I select my external program, XBMC remains visible, but out of focus, with my external program also visible, but in focus.
As I just wrote to Platypus2, Advanced Launcher do not reduce XBMC but just let into into Window Mode or put into into window. So your vanilla install of XBMC is working as expected.

On my vanilla XBMC I have now installed XBMC Resume and Confluence Customisable Mod, and the issue isn't coming up. I believe I have also kept the settings the same as my media centre pc, so right now I am at a loss as to why I have this issue on one machine and not the other.

I'll keep looking to see if I can find what is causing the issue.

Mike


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - mike351 - 2013-11-20

Ok, I have identified one difference, and so far it's the only difference I can see.

My tests have been conducted on three machines, two running Windows 7 Starter, and one Windows 7 Home Premium.

The two machines running Windows 7 Starter both exhibit the same issue, that is, when the external program is selected via Launcher, XBMC minimises and the external program is executed.

On the machine with Windows 7 Home Premium, this does not happen. XBMC stays in screen, and the external program pops up taking the focus away from XBMC.

So, perhaps it's an OS issue. If I get time tonight, i'll install Win7HP on the media centre and see what the result is...

Mike


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - mike351 - 2013-11-20

Well I have just finished installing Win7HP on to the media centre pc, and XBMC still minimises itself when my external program is launched using Advanced Launcher. This pc is a netbook, with 1g ram, 1.6ghz atom cpu, intel graphics chipset and realtek audio.

Maybe this is something Windows is doing due to either the cpu type or amount of ram?

Mike