[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 - Angelscry - 2012-10-23 (2012-10-23, 13:28)SwedishGojira Wrote: As I could not rollback I removed the 1.10.2 version via the add-on menu and installed the 1.9.1 version via the downloaded zip-file. I then got error from "addon.py". If I update the plugin to 1.10.2 I still don't get an option to rollback.That's normal. You cannot rollback because 1.9.1 version of Advanced Launcher in not working/compatible with latest GIT versions of XBMC. Versions 1.10.x of Advanced Launcher are supposed to bring back the compatibility between Frodo and Advanced Launcher... but that's not perfect yet... RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - AmericanAl - 2012-10-23 Just a quick update: The newest version of Aeon MQ4 works perfectly with Advanced Launcher now. Game info and everything RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - NTolerance - 2012-10-23 I'm running 1.10.2 on Frodo using Ubuntu 12.04. I'm able to reproduce the issue of external applications not starting. I've tried zsnes and gedit. Neither seem to get executed. Is there a way to get logging information when this happens? My xbmc.log doesn't update when the issue occurs. Here is my launchers.xml (edited for readability): Code: <?xml version="1.0" encoding="utf-8" standalone="yes"?> RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-10-23 Here is version 1.10.3 : http://xbmc-advanced-launcher.googlecode.com/files/plugin.program.advanced.launcher-1.10.3.zip The repository will be updated this evening (I cannot do it from where I'm actually). This version definitively fix the tooglefullscreen option/feature under XBMC Frodo. If some of you still occuring problem or error, please post a complete bug report here (with xbmc.log file with XBMC debug mode activated). Thanks. RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - SwedishGojira - 2012-10-23 It seems to be working much better in 1.10.3, but it seems that sometimes the programs get launched "out of focus", like they were launched in the background and are waiting for xbmc to stop so they can get focus instead. I have launch scripts that look like this: Code: #!/bin/bash Most of the time the programs launch but every now and then I have to force kill XBMC to let the program run. When I kill XBMC it automatically respawns and I can hear the program I launched running in the background until I kill it with the escape-button. Here are links to some debug logs. Hope they can help you. I can sey for sue that the last thing I did recording these logs was killing XBMC because so the programs could run. https://www.dropbox.com/s/r9s90k8ghln9yby/xbmc.log https://www.dropbox.com/s/ew3ou53die3y9ja/xbmc.old.log RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-10-23 (2012-10-23, 20:58)SwedishGojira Wrote: It seems to be working much better in 1.10.3, but it seems that sometimes the programs get launched "out of focus", like they were launched in the background and are waiting for xbmc to stop so they can get focus instead.Could you try this (adding a small delay before suspending XBMC) : Code: #!/bin/sh Does it fix your problem? RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - SwedishGojira - 2012-10-23 (2012-10-23, 21:09)Angelscry Wrote: Could you try this (adding a small delay before suspending XBMC) : Wonderful! That seems to fix the problems Have launched a whole bunch of times and apps without any trouble. Is it XBMC taking longer than before to react to commands or what caused this problem? Oh, and another small question while I have the great masters attention The scripts seem to have trouble with files that have parentheses in the filenames. Is there a way to remedy this? Putting "" around the path doesn't seem to be enough. RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-10-23 (2012-10-23, 21:31)SwedishGojira Wrote: Wonderful! That seems to fix the problems Have launched a whole bunch of times and apps without any trouble.Yes. What I'm suspecting is when you change XBMC state (minimize, hide or switch to window), XBMC take a certain time to store/save this new state, and so when you suspend XBMC or start an application (that use common resource with XBMC) it generate problem (freeze, XBMC black screen, etc...). I will release a new version of Advanced Launcher (1.10.4) that will integrate a small delay (500ms) before starting an application and after close it. On my system delay under 300ms make XBMC freeze. Because I don't know if this delay is related only to XBMC of to the speed of the system, I will also add an option into Advanced Launcher to adjust this delay (between 100ms to 2000ms). (2012-10-23, 21:31)SwedishGojira Wrote: Oh, and another small question while I have the great masters attentionI will take a look at this. RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - gfur732 - 2012-10-24 While we're on the topic of linux scripts, I'm wondering if you or anyone can see what's wrong with a script I was working on this morning (I'm making my first attempt at using xbmc and advanced launcher with linux this past week). I'm using a pair of dual shock 3 controllers through bluetooth on ubuntu 10.04. A lot of emulators don't allow you to bind a joystick button for exiting, so I'm using joy2key (no relation to the windows program, I think) in the scripts to map the home button to the relevant keyboard key. I'm also using it to control evince, the default gnome document viewer, for looking at manuals/guides. My problem with the script is that joy2key, when launched, looks for the program included as an argument and if it's started too soon after the emulator/evince then it will fail and not map anything. What I'm using that works (where path.to.doc and docname.ext refer to some arbitrary document) is: Quote:#!/bin/bash My only problem is that the fixed 5 second pause isn't ideal. I had it at 3 seconds initially, but it failed a couple times (I think only when loading cbz/cbr files which makes some sense). Ideally though, I'd like a solution that keeps the delay in starting joy2key to a minimum and that I know with near absolutely certainty will map the keys as desired. Earlier today, I thought I'd gotten it working with: Quote:#!/bin/bash (I've also tried the above both with and without the wait command.) What it's supposed to do is keep trying to run joy2key, once a second, until the exitcode for joy2key is returned as 0 (meaning it found the indicated window). It actually worked fine when launched as a standalone file and even if I open XBMC, but run the script independently, it pauses and resumes XBMC just fine. If I launch it from within advanced launcher, it loads the document/game and joy2key correctly maps the button(s) (immediately). Unfortunately, after exiting the emulator/evince, it never resumes XBMC. Even more, if I manually resume XBMC (with killall -CONT) and select another game/document, it freezes on a black screen, doesn't respond to any input and requires a hard reboot. Potentially worth noting is that because I need to use different programs for files under the same file launcher (either to use different emulators for different games, or to use the document viewer for a game's manual/guide), I'm using the following dummy launcher. With the above error, the process for this script doesn't appear to close even after joy2key and the document/emulator do: Quote:#!/bin/bash Sorry for being so long winded. Figuring this out isn't especially important, but I'm pretty much clueless here and only put together the above by with google. What's really throwing me off is that it works fine if launched from outside xbmc and doesn't from within. If looking at it, you think you know the problem, I'd appreciate the feedback. Also, I've proofread this post several times, but I keep coming across sentences that just don't make any sense. I'm just about asleep already, so sorry if there's still some gibberish mixed in. RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - SwedishGojira - 2012-10-24 I also have a feature request for Advance Launcher. When adding whole romsets to a launcher the list can get quite big and it would be nice if you could somehow group the items under a launcher in folders, or groups that behave like folders. It would be nice if you could even add a single item to several of these groups. I'm not a programmer or even a scripter so I don't know how har this would be. RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-10-24 Here is version 1.10.4 : http://xbmc-advanced-launcher.googlecode.com/files/plugin.program.advanced.launcher-1.10.4.zip Do not found time yet, but the repository will be updated when I will have access to my computer. This version add a small delay (1000ms) before Advanced Launcher start an application. It will avoid problem (freeze, XBMC black screen, etc...) that occurs when XBMC start an application too quickly. It will also add the same delay before restoring XBMC. This may fix focus problem occurring under Windows. The delay could be adjusted between 100ms and 2000ms under advanced options. Default delay value is 1000ms. You can lower it to speed up the application star. 500ms is a good value. On my system I was able to lower it until 300ms. Under this value I encounter freeze, XBMC black screen problems, but it could be different under your system. RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-10-24 (2012-10-24, 08:17)SwedishGojira Wrote: I also have a feature request for Advance Launcher. When adding whole romsets to a launcher the list can get quite big and it would be nice if you could somehow group the items under a launcher in folders, or groups that behave like folders. It would be nice if you could even add a single item to several of these groups.As I have repeat millions of time : Advanced Launcher is an applications launcher, not a roms manager. If you want to use a roms manager under XBMC I can suggest you to use RCB addon. Now, if you have difficulties to found a specific item, Advanced Launcher include a search engine : RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-10-24 (2012-10-24, 06:06)gfur732 Wrote: While we're on the topic of linux scripts, I'm wondering if you or anyone can see what's wrong with a script I was working on this morning (I'm making my first attempt at using xbmc and advanced launcher with linux this past week).Can you try version 1.10.4, that deal on execution delays from XBMC, and tell me if it fix your freezes and black screen problems? Concerning your last script... just a suggestion (not tested) : Code: #!/bin/bash RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - NTolerance - 2012-10-24 Has anyone been able to get 1.10.4 or other recent versions to launch any external program on Frodo using Linux? I've tried to launch simple test scripts that might just open gedit or suspend XBMC, but all I see is the screen flickering. I don't see any evidence that the script or program is actually executed. RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Angelscry - 2012-10-24 (2012-10-24, 17:05)NTolerance Wrote: Has anyone been able to get 1.10.4 or other recent versions to launch any external program on Frodo using Linux? I've tried to launch simple test scripts that might just open gedit or suspend XBMC, but all I see is the screen flickering. I don't see any evidence that the script or program is actually executed.Which Frodo GIT build version are you using? Which linux version are you running? Could you post your xbmc.log file? |