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
bl4ck Wrote:@Angelscry
Welcome
I need a modified file launcher_plugin.py , with the possibility of minimizing windows xbmc
I'll be grateful for the help
You can use an external script to do this. The WinSetState function of AutoIt do it perfectly.
Ok it seems i have to close and open xbmc for the new artwork to show up. Perhaps a fix is needed.

Maybe unrelated, but in kega I am getting 'directdraw init error #2, unable to create a primary surfice bla bla bla' when selecting a game. suggestions?
bl4ck Wrote:@Angelscry
Welcome
I need a modified file launcher_plugin.py , with the possibility of minimizing windows xbmc
I'll be grateful for the help
You can also control XBMC windows state from batch file using the small nircmd application. Example here.
Death-Axe Wrote:Ok it seems i have to close and open xbmc for the new artwork to show up. Perhaps a fix is needed.
That a problem related to the XBMC image cache update. Normally if you modify your images or their path directly FROM Advanced Launcher they are automatically updated. But if you modify your images or their path externally from XBMC (copy/paste images or manually edit the launchers.xml file), the only solution for you will be to wait a couple of days that the XBMC images cache was updated.

Death-Axe Wrote:Maybe unrelated, but in kega I am getting 'directdraw init error #2, unable to create a primary surfice bla bla bla' when selecting a game. suggestions?
I have not found the time yet to check, but I think it is mainly related to a conflit between XBMC and Kega Fusion when both using DirectDraw at the same time. And because it is working on my system, I think it is related to your graphic card configuration.

Actually I see 2 for you solutions :
  • Try to see if you can use another video renderer for Kega Fusion.
  • Force XBMC to close when starting Kega Fusion. Example here.
Death-Axe Wrote:Maybe unrelated, but in kega I am getting 'directdraw init error #2, unable to create a primary surfice bla bla bla' when selecting a game. suggestions?
I found it... The ultimate solution is to read the User Guide and activate the "Use a fullscreen window rather than true fullscreen" option into XBMC. Wink
Crusoer Wrote:Hi,

the addon works perfectly, but i have one question/request.

I use XBMC a lot to listen to music and have a display sleep timer (in system options) set to 5 minutes.

I use a launcher to start an external app (tvtime) to use my tv-card. Xbmc still activates the display sleep after 5 minutes. Is there a way to disable the display sleep timer while an external app is running?

Regards,
Robin

If you are using windows, use the windows power saving options for sleep/suspend, don't use the internal ones.

That should do it. The XBMC options check if XBMC has been active. That means you might be gaming (game will inhibit sleep from happening) but after returning from a game PC could go to sleep cuz timer expired.
Angelscry Wrote:Ho... maybe it will solve your problem : Do you have tried to use a external script (batch file) that will suspend XBMC when you will start tvtime, and then restore XBMC when tvtime will be closed? It is for a Windows or a Linux operating system?

Hi

it's for linux. The PsTools won't work but maybe i can find a linux equivalent.

I'm not sure if xbmc "causes" the suspend state or simply configures the x server to cause a monitor sleep after 5 minutes. Either way if i could manipulate the xbmc setting (maybe through a script) that would resolve the issue.

@fr500 i'm on linux, unfortunately tvtime doesn't prevent the sleep state...
Crusoer Wrote:Hi

it's for linux. The PsTools won't work but maybe i can find a linux equivalent.

I'm not sure if xbmc "causes" the suspend state or simply configures the x server to cause a monitor sleep after 5 minutes. Either way if i could manipulate the xbmc setting (maybe through a script) that would resolve the issue.

@fr500 i'm on linux, unfortunately tvtime doesn't prevent the sleep state...
The Linux equivalent to pause/resume XBMC is :

Code:
killall -STOP xbmc.bin
tvlive
killall -CONT xbmc.bin

This may work if XBMC cause the suspend state. But as you said, if XBMC configures the X server to cause a monitor sleep after 5 minutes, this will not work. In this case you can also try to close/start XBMC :

Code:
killall -9 xbmc.bin
tvlive
xbmc
Angelscry Wrote:You can also control XBMC windows state from batch file using the small nircmd application. Example here.

Welcome
Could I ask for the old versions of the Advanced Launcher with a working minimization?
bl4ck Wrote:Welcome
Could I ask for the old versions of the Advanced Launcher with a working minimization?
All released versions of Advanced Launcher are available here : http://code.google.com/p/xbmc-advanced-l...nloadCount
It may be all the versions prior to 0.9.0.
Thank you very much.
I'm having problems getting sound to work in anything I launch. I'm running on Windows 7 and have narrowed it down to something to do with the exclusive mode setting on my audio device.

I have the audio hooked up to my onboard SPDIF port. If I go Playback Devices->Properties for SPDIF->Advanced Tab and uncheck "Allow applications to take exclusive control of this device", then audio will work for both XBMC and anything loaded from Advanced Launcher. However, I lose the ability to play any video that has surround sound, as it seems that Windows 7 requires Exclusive Mode to be able to do surround.

Has anyone else had a similar issue?
A few things to let you know. Kega on some systems needs to be run without aero on allot of systems, so that error is now gone. (changed a compatibility mode setting in properties)

Running XBMC in window full screen mode isn't a solution for anything, as 1080p movies will stutter for most users. NOT recommended. As XBMC was intended for video and not launching emulators etc, this is not something you should be suggesting.

Next point; I was changing images within advanced launcher not externally, and I still needed to restart XBMC for the changed images to show. Not a huge problem problem, so don't worry about it.

Over all, you have done a great job in adding this functionality to XBMC. It's just a shame that XBMC doesn't like being minimised in such the way your addon does, as sometimes it wont restore after a game. Not your fault though.

Thanks for all your work :-)
Death-Axe Wrote:A few things to let you know. Kega on some systems needs to be run without aero on allot of systems, so that error is now gone. (changed a compatibility mode setting in properties).
By default I always desactivate Aero of my windows system... That's why I did not encounter this error. That's good to know. I will add a corresponding line on the WIKI page.

Death-Axe Wrote:Running XBMC in window full screen mode isn't a solution for anything, as 1080p movies will stutter for most users. NOT recommended. As XBMC was intended for video and not launching emulators etc, this is not something you should be suggesting.
Yes I know, but the problem is that some applications cannot been started correctly (like Kega Fusion) when XBMC is into fullscreen mode. It is not a display problem but a problem of DirectDraw access by both application at the same time. I could take a look I there is a way to by pass this.

Death-Axe Wrote:Next point; I was changing images within advanced launcher not externally, and I still needed to restart XBMC for the changed images to show. Not a huge problem problem, so don't worry about it.
Maybe I have forgotten to add the update cache runtime into certain case. What do you do when you change the images ?

Death-Axe Wrote:Over all, you have done a great job in adding this functionality to XBMC. It's just a shame that XBMC doesn't like being minimised in such the way your addon does, as sometimes it wont restore after a game. Not your fault though.
And it is very hard to do it from Advanced Launcher which is inside XBMC. To control exactly XBMC and started application windows state it is alway more easy to do it externally. That's why I strongly recommend to use external batch scripts to do it.
i'm using advanced launcher to launch 'gameex', an emulation frontend.

I point advanced launcher to a batch file containing this script

pssuspend XBMC.exe
cd "C:\GameEx\GameEx"
Gameex.exe %1
pssuspend -r XBMC.exe

it's been working just fine, except that xbmc is not in focus when it re initializes. is there any way to tell it to regain focus after coming back fron its suspended state?
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