• 1
  • 354
  • 355
  • 356(current)
  • 357
  • 358
  • 453
[CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC
sweet:-)

thx for noob faq

D.
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.p...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.p...2375#p2375
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
(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
(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
(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?
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
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.
(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.
OK... thegamesdb is blocking XBMC using its user-agent info....Confused
(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?
(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.
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!
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.
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?
  • 1
  • 354
  • 355
  • 356(current)
  • 357
  • 358
  • 453

Logout Mark Read Team Forum Stats Members Help
[CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC24