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 - Dam0 - 2013-09-06

sweet:-)

thx for noob faq

D.


Call Advanced Launcher via JSON - Angelscry - 2013-09-06

Call Advanced Launcher via JSON

To launch Advanced Launcher :
Code:
curl --data-binary '{"jsonrpc":"2.0","method": "GUI.ActivateWindow", "params": { "window": "video", "parameters": [ "plugin://plugin.program.advanced.launcher" ] }, "id": 1 }' -H 'content-type: application/json;' http://localhost:8080/jsonrpc

To open a category directory :
Code:
curl --data-binary '{"jsonrpc":"2.0","method": "GUI.ActivateWindow", "params": { "window": "video", "parameters": [ "plugin://plugin.program.advanced.launcher?CATEGORY_ID" ] }, "id": 1 }' -H 'content-type: application/json;' http://localhost:8080/jsonrpc

To launch a stand-alone launcher or open a file launcher directory
Code:
curl --data-binary '{"jsonrpc":"2.0","method": "GUI.ActivateWindow", "params": { "window": "video", "parameters": [ "plugin://plugin.program.advanced.launcher?CATEGORY_ID/LAUNCHER_ID" ] }, "id": 1 }' -H 'content-type: application/json;' http://localhost:8080/jsonrpc

To launch a file launcher item
Code:
curl --data-binary '{"jsonrpc":"2.0","method": "GUI.ActivateWindow", "params": { "window": "video", "parameters": [ "plugin://plugin.program.advanced.launcher?CATEGORY_ID/LAUNCHER_ID/ITEM_ID" ] }, "id": 1 }' -H 'content-type: application/json;' http://localhost:8080/jsonrpc

Where CATEGORY_ID, LAUNCHER_ID, ITEM_ID are respectively the category, launcher and item ID. These is ID can be found into xbmc/userdata/favourites.xml file or xbmc/userdata/addon_data/plugin.program.advanced.launcher/launchers.xml file.

It could also be possible to use this command with the item search engine feature : http://www.gwenael.org/forum/viewtopic.php?pid=2128#p2128

So basically Advanced Launcher is able to start any application on your HTPC system. Advanced Launcher could be called by external remote control using JSON... So... any applications on your system could be called by external remote control through Advanced Launcher!!!!

Source : http://www.gwenael.org/forum/viewtopic.php?pid=2375#p2375


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

Guys,

I'd like to use Advanced Launcher to launch a bash script that I made.

Could someone point me in the right direction?

sorry if it has been discussed earlier, I tried to search for it but i couldn't find a clear answer and all my attempts failed miserably...

thanks a lot

m


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

(2013-09-09, 13:41)mcarni Wrote: Guys,

I'd like to use Advanced Launcher to launch a bash script that I made.

Could someone point me in the right direction?
You just have to create a standalone launcher and select your bash script as application.
You will found here is a Youtube tutorial to create Stand Alone launcher : http://www.youtube.com/watch?v=CvaGzEc_6e4
And you will found here is the user guide part concerning Stand Alone launcher creation : http://www.gwenael.org/forum/viewtopic.php?pid=4#p4


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

(2013-09-09, 14:52)Angelscry Wrote:
(2013-09-09, 13:41)mcarni Wrote: Guys,

I'd like to use Advanced Launcher to launch a bash script that I made.

Could someone point me in the right direction?
You just have to create a standalone launcher and select your bash script as application.
You will found here is a Youtube tutorial to create Stand Alone launcher : http://www.youtube.com/watch?v=CvaGzEc_6e4
And you will found here is the user guide part concerning Stand Alone launcher creation : http://www.gwenael.org/forum/viewtopic.php?pid=4#p4

Thanks a lot, I will try it tonight from home and let you know.


M

EDIT
i got a bit further
"context menu" was not active on my samsung remote so I had to change my remote.xml and now i can add sources etc.

unfortunately I am now stuck with a "script not found" error and a "WARNING: Attempt to use invalid handle -1" in my xbmc.log
probably I am doing something silly...
just in case someone had similar issues, I am running openelec on a raspberrypi

Thanks


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

(2013-09-09, 15:31)mcarni Wrote:
(2013-09-09, 14:52)Angelscry Wrote:
(2013-09-09, 13:41)mcarni Wrote: Guys,

I'd like to use Advanced Launcher to launch a bash script that I made.

Could someone point me in the right direction?
You just have to create a standalone launcher and select your bash script as application.
You will found here is a Youtube tutorial to create Stand Alone launcher : http://www.youtube.com/watch?v=CvaGzEc_6e4
And you will found here is the user guide part concerning Stand Alone launcher creation : http://www.gwenael.org/forum/viewtopic.php?pid=4#p4

Thanks a lot, I will try it tonight from home and let you know.


M

EDIT
i got a bit further
"context menu" was not active on my samsung remote so I had to change my remote.xml and now i can add sources etc.

unfortunately I am now stuck with a "script not found" error and a "WARNING: Attempt to use invalid handle -1" in my xbmc.log
probably I am doing something silly...
just in case someone had similar issues, I am running openelec on a raspberrypi

Thanks
Which versions of XBMC and Advanced Launcher are you using?


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - mcarni - 2013-09-10

sorry, i am not at my computer, I cannot be very precise:

xbmc - latest rgotham release form rbej r15553
http://netlir.dk/rbej/builds/?dir=Gotham/

AL - version 2.0.10 (realised now that it might be not gotham ready....)


thanks

M


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Atarian - 2013-09-10

Anyone else having problems scraping thegamesdb? I feel like I would get better results with them than the other options I have tried, But it just refuses to pull anything in.


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

(2013-09-10, 23:35)Atarian Wrote: Anyone else having problems scraping thegamesdb? I feel like I would get better results with them than the other options I have tried, But it just refuses to pull anything in.
If you want to rescrap items, you must first remove those items from the launcher list and them perform a new scan using thegamesdb. Have you done this?

(2013-09-11, 00:56)Angelscry Wrote:
(2013-09-10, 23:35)Atarian Wrote: Anyone else having problems scraping thegamesdb? I feel like I would get better results with them than the other options I have tried, But it just refuses to pull anything in.
If you want to rescrap items, you must first remove those items from the launcher list and them perform a new scan using thegamesdb. Have you done this?
Ok... Just tested it... Seems that thegamedb is not working anymore. I will try to investigate what is wrong.


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

OK... thegamesdb is blocking XBMC using its user-agent info....Confused


[RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Atarian - 2013-09-11

(2013-09-11, 01:24)Angelscry Wrote: OK... thegamesdb is blocking XBMC using its user-agent....Confused

That's really odd considering they list advanced launcher in the "featured" section on their site. I wonder why they blocked us?


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

(2013-09-11, 01:33)Atarian Wrote:
(2013-09-11, 01:24)Angelscry Wrote: OK... thegamesdb is blocking XBMC using its user-agent....Confused

That's really odd considering they list advanced launcher in the "featured" section on their site. I wonder why they blocked us?
Spoofing the user-agent as "Firefox" into XBMC/Advanced Launcher fix the problem.

So they really block XBMC. Instead of downloading any image you download a HTML file containing :

Code:
The owner of this website (thegamesdb.net) has banned your access based on your browser's signature (ac03af06aa30098-ua48).

More odd considering that it is thegamedb devellopers who beg me to add a scraper into Advanced Launcher for their database. I think they actually have bandwidth cost problem, and so try to limit it's use.


RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Atarian - 2013-09-11

That seems to be beyond my level of expertise. I cant find a reference to the user agent anywhere to try editing it myself. I guess I'll try finding a scraper I can run on my pc and ftp the images over.

Thanks for looking into it for me!


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

Version 2.0.11 : This new version of Advanced Launcher fix several minor bugs :

Changelog :
  • Fix TheGameDB scrapers (info, thumbs and fanarts).
  • Change the way images are downloaded.



RE: [RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC - Atarian - 2013-09-11

That was quick. Thank you! I'm gonna give it a shot now.

Another question that I'm not sure will matter when I rescrape. I tried deleting my game collection and starting fresh, it didnt pull anything in from thegamesdb, of course, but when I browsed the games when it finished, it preserved all of the thumbnails from the other scraper i tried. I even deleted them from the folder and they were still there on my screen. Can I completely delete all info from Advanced Launcher and start entirely fresh?