[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
|
- Angelscry - 2012-01-17 JohnnyD2 Wrote:However I was confused with how to get Advanced Launcher to work with .lnk's and found the method I outlined worked well (Angelscry - is there a way of popping up a dialog to tell the user that they need to change the launching application to Explorer.exe if they're on Windows? I'm quite technical but I still didn't find it obvious.)As I have mentioned previously there is a youtube tutorial and a WIKI page explaining the use of .lnk shortcuts. There is no need to select a specific application. If you select explorer. exe, notepad.exe or any other application, and if you have indicated .lnk files as extension, it will work exactly the same way. But we need to indicate an application. I have taken explorer.exe ony by default - Angelscry - 2012-01-17 orewagundam79 Wrote:Thanks, looking forward to the next version!I have made some tests yesterday evening, and it will be possible to add relative paths. I just have to make more tests now (under linux and windows) to check is it is working without any error. - crisdecuba - 2012-01-17 Angelscry Wrote:Could you post the content of the XBMC.log file when the addon.py error occurs. It could indicate to us what is exactly the problem. Thank you for the reply. I tried the general instructions, but this did not work. Here is the error log (I may be providing more than necessary, sorry): 12:46:43 T:7060 NOTICE: -->Python Interpreter Initialized<-- 12:46:43 T:7060 ERROR: Error Type: <type 'exceptions.SyntaxError'> 12:46:43 T:7060 ERROR: Error Contents: ("Non-ASCII character '\\xe2' in file C:\\Users\\Media\\AppData\\Roaming\\XBMC\\addons\\plugin.program.advanced.launcher.2\\resources\\lib\\launcher_plugin.py on line 248, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details", ('C:\\Users\\Media\\AppData\\Roaming\\XBMC\\addons\\plugin.program.advanced.launcher.2\\resources\\lib\\launcher_plugin.py', 248, 0, None)) 12:46:43 T:7060 ERROR: Traceback (most recent call last): File "C:\Users\Media\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher.2\addon.py", line 18, in <module> import resources.lib.launcher_plugin as plugin SyntaxError: ("Non-ASCII character '\\xe2' in file C:\\Users\\Media\\AppData\\Roaming\\XBMC\\addons\\plugin.program.advanced.launcher.2\\resources\\lib\\launcher_plugin.py on line 248, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details", ('C:\\Users\\Media\\AppData\\Roaming\\XBMC\\addons\\plugin.program.advanced.launcher.2\\resources\\lib\\launcher_plugin.py', 248, 0, None)) 12:46:43 T:6668 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.advanced.launcher.2 12:46:43 T:6668 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.advanced.launcher.2) failed 12:46:43 T:6036 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn 12:46:46 T:5508 NOTICE: -->Python Interpreter Initialized<-- 12:47:06 T:3316 NOTICE: -->Python Interpreter Initialized<-- 12:47:06 T:3316 ERROR: C:\Users\Media\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py:37: DeprecationWarning: the md5 module is deprecated; use hashlib instead import md5 12:47:06 T:3316 NOTICE: Launcher: found 7 launchers 12:47:06 T:5648 WARNING: JpegIO: Error 55: Not a JPEG file: starts with 0x%02x 0x%02x 12:47:10 T:5932 WARNING: Previous line repeats 5 times. 12:47:10 T:5932 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn 12:47:12 T:6944 NOTICE: -->Python Interpreter Initialized<-- 12:47:12 T:6944 ERROR: Error Type: <type 'exceptions.SyntaxError'> 12:47:12 T:6944 ERROR: Error Contents: ("Non-ASCII character '\\xe2' in file C:\\Users\\Media\\AppData\\Roaming\\XBMC\\addons\\plugin.program.advanced.launcher.2\\resources\\lib\\launcher_plugin.py on line 248, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details", ('C:\\Users\\Media\\AppData\\Roaming\\XBMC\\addons\\plugin.program.advanced.launcher.2\\resources\\lib\\launcher_plugin.py', 248, 0, None)) 12:47:12 T:6944 ERROR: Traceback (most recent call last): File "C:\Users\Media\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher.2\addon.py", line 18, in <module> import resources.lib.launcher_plugin as plugin SyntaxError: ("Non-ASCII character '\\xe2' in file C:\\Users\\Media\\AppData\\Roaming\\XBMC\\addons\\plugin.program.advanced.launcher.2\\resources\\lib\\launcher_plugin.py on line 248, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details", ('C:\\Users\\Media\\AppData\\Roaming\\XBMC\\addons\\plugin.program.advanced.launcher.2\\resources\\lib\\launcher_plugin.py', 248, 0, None)) 12:47:12 T:6668 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.advanced.launcher.2 12:47:12 T:6668 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.advanced.launcher.2) failed 12:47:12 T:3776 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn - Angelscry - 2012-01-17 crisdecuba Wrote:Thank you for the reply. I tried the general instructions, but this did not work. Here is the error log (I may be providing more than necessary, sorry):Which text editor have you used to modify the launcher_plugin.py file? Seems that your text editor do not support UTF-8 character encoding and it is generating errors. - bakito - 2012-01-17 hi angel! I was browsing your thread and I see the picture of tv stream with vlc on the first page... how do you achieve this? by adding m3u adress as rom and vlc as launcher? if so what are the parameter for vlc (fullscreen and quit on esc) and could you point me to the stream's adress you show in your picture? ( I 'm french ...) thanks you for your great addon again ,I'm using it almost everyday! cheers - zurgdawg - 2012-01-20 I love the potential of this addon but have been hitting my head against the wall for the past 2 hours on what I hope is a very simple problem I'm on a Windows build of XBMC Eden Beta 1 Whenever I setup my launcher, things go fine and it always finds my files. However, it never seems to automatically find the associated thumbnails for the files. I have tried: - .png and .jpg extensions, no help - Adding _thumb, no help - Making the thumb names the same as the files, no help - Moving them into a separate folder, no help I know my images are ok as after adding all of my items automatically, they files listed and usable, but with no images. I can the then item by item and 'edit item' and manually select a local image, and it works! But going item by item would take days for me to accomplish. Can anyone help me figure out why the auto-scan isnt pulling in my images? Thanks in advance! - zurgdawg - 2012-01-20 zurgdawg Wrote:I love the potential of this addon but have been hitting my head against the wall for the past 2 hours on what I hope is a very simple problem I did some more troubleshooting in the launchers.xml file and discovered that addon is not populating the <thumb></thumb> field. Are there any known reasons why all of the files would populate just fine but the <thumb> portion would be blank for each file? - Angelscry - 2012-01-20 zurgdawg Wrote:I did some more troubleshooting in the launchers.xml file and discovered that addon is not populating the <thumb></thumb> field. Are there any known reasons why all of the files would populate just fine but the <thumb> portion would be blank for each file?Have you set the "Collecting Method" option to "local images" into the Advanced Launcher thumbs settings? There is now 3 options for "Collecting Method" :
- Angelscry - 2012-01-20 crisdecuba Wrote:12:47:06 T:3316 ERROR: C:\Users\Media\AppData\Roaming\XBMC\addons\plugin.program.advanced.launcher\resources\lib\launcher_plugin.py:37: DeprecationWarning: the md5 module is deprecated; use hashlib insteadOuppps... All my apologies. In addtion of your characters encoding problem during the launcher_plugin.py file edition, there is a problem of compatibilty of the last version of Advanced Launcher with the dharma version of XBMC. I will fix this, and release a new version of Advanced Launcher during the week-end. Sorry. - Angelscry - 2012-01-20 bakito Wrote:hi angel!I'm using a .sh bash script as launcher and also .sh bash scripts as files. The goal of the .sh script as launcher it to : suspend XBMC, force it to go out of focus (to avoid remote conflicts), start .sh scripts files. When the started .sh script files are closed, the launcher script, restore XBMC. So I can exactly control XBMC before and after strating the video. Into the .sh script file there is the cvlc command line with the video stream url as input. Advantyage of using .sh scripts instead of .m3u files is that you can control exactly how you want to diplay the video. For example I can :
I will post here my .sh files as soon I will have acces to my HTPC computer. - zurgdawg - 2012-01-20 Angelscry Wrote:Have you set the "Collecting Method" option to "local images" into the Advanced Launcher thumbs settings? Angelscry, thanks for quick response! Yes, I did see those options. I tried deleting each launching and a fresh setup + re-running the scan with those collection methods toggled. I tried both None and Local Image. For all of my files + thumbs, this had no impact, the <thumb></thumb> per rom in launchers.xml remains blank. Could it be a workflow issue? If I change the 'thumb' option to 'local image' and them simply re-scan using Add-Items, should that be enough? Or do I need to delete the Launcher, re-create, and do a fresh scan? - Angelscry - 2012-01-20 zurgdawg Wrote:Angelscry, thanks for quick response!You need to setup the scan options before the scan, not after. The scan is to add or remove items not to modify them. If you do a second scan, already found items will not be modified. To make modifications on already added items you need to modify them manually... not by using scan. If you want to rescan all your items, you need to go the "Manage Items List" option of the launcher and select the "Clear items list", then modify the scan options as you want, and finally make a new scan. Or... maybe... there is a bug. I will try to check this during the weekend. - zurgdawg - 2012-01-20 Angelscry Wrote:You need to setup the scan options before the scan, not after. The scan is to add or remove items not to modify them. If you do a second scan, already found items will not be modified. To make modifications on already added items you need to modify them manually... not by using scan. I'll test a few scenarios this evening and get back to you with the results. Thanks! - bakito - 2012-01-20 yes it seems quite hard! but if you can get me started with your own files...well I guess I'll manage !! big thanks angel! - Angelscry - 2012-01-21 bakito Wrote:Here is the launchers.xml file : http://pastebin.com/YkFYzCVG Here is the main launcher.sh file : http://pastebin.com/BmnuHdBw And here are all the .sh scripts, .nfo files and thumbs : http://xbmc-advanced-launcher.googlecode.com/files/onlinetv.zip The launchers.sh file if used to control XBMC windows desktop location, to avoid remote control conflict between XBMC and the video players. It also start the channel .sh files defined into the launchers.xml file. Channels .sh files are mostly coded into the same way : Code: /usr/bin/rtmpdump -v -r "rtmp://cp108478.live.edgefcs.net/live/" -y "tv5monde_1_800@45511" --swfsize 927444 --swfhash "6c1be1765187eae0bc9af07d858fae59a0effd3c5b803d08db261ced2c5512bb" | cvlc --fullscreen --play-and-exit --aspect-ratio=16:9 - |