[RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC

  Thread Rating:
  • 15 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Angelscry Offline
Skilled Python Coder
Posts: 2,692
Joined: Sep 2010
Reputation: 37
Location: MTL, Canada
Post: #2761
gollumscave Wrote:- Start the launcher
- Launcher asks for moviename
- Launcher creates folder with the name user has input
- Launcher starts the program with the arguments
- Launcher sends msg to xbmc console: rip successfully completed

Is any of this possible with the advancedlauncher? Or do any of you guys have an idea on how to achieve this?
Perhaps with a script? (have 0 experience in scripting)
Unfortunately, it's not possible to do this using Advanced Launcher. With Advanced Launcher, once the launcher is started you do not have any interaction with XBMC (like to ask for moviename) until the started application is closed. The only way I see to perform this is to create a program addon specifically dedicated to this.

Advanced Launcher | Manual | WiKi | Forums | Tutorials | Gallery | GitHub | Archives | Donate

find quote
gollumscave Offline
Senior Member
Posts: 143
Joined: May 2009
Reputation: 2
Post: #2762
Ok thanks for the reply anyway...

A program add-on.... Could you perhaps kick me in the right direction a bit?
find quote
Parker_Payne Offline
Member
Posts: 54
Joined: Mar 2011
Reputation: 0
Post: #2763
I use Advanced Launcher to launch websites (i.e. some bookmarks) from XBMC (explained earlier here). Works fine.

But how can I sort by links? For example I want to have my link to google as my first link on the list. Is it possible?

Editing the launchers.xml manually (shifting the "rom"-entries did not work so far...).

Thanks!
find quote
Angelscry Offline
Skilled Python Coder
Posts: 2,692
Joined: Sep 2010
Reputation: 37
Location: MTL, Canada
Post: #2764
Parker_Payne Wrote:I use Advanced Launcher to launch websites (i.e. some bookmarks) from XBMC (explained earlier here). Works fine.

But how can I sort by links? For example I want to have my link to google as my first link on the list. Is it possible?

Editing the launchers.xml manually (shifting the "rom"-entries did not work so far...).

Thanks!
Items (in your case, links) are automatically sorted alphanumerically by XBMC using their name (like for movies, tv shows, etc...). There is not really possibility to put the items into a specific order manually. No

Advanced Launcher | Manual | WiKi | Forums | Tutorials | Gallery | GitHub | Archives | Donate

find quote
Banditt Offline
Junior Member
Posts: 48
Joined: Mar 2011
Reputation: 0
Post: #2765
I have been organizing my emulators and I noticed that with the MobyGames scraper for fanart the first few images are usually the title screen and in-game shots are usually after so I go this idea on another option for the scraper:

- Under Fanart Scraper, A drop down for what to try to get (Title or In-Game)
- If it is title, then get the first shot like it does now
- If it is in-game, take the total shots and divide by 2 to get the middle and download that one (ex: 15 screens /2 = 7.5, rounded is 8 - download screen 8)

If you're ever looking for something to do.. Wink
find quote
Angelscry Offline
Skilled Python Coder
Posts: 2,692
Joined: Sep 2010
Reputation: 37
Location: MTL, Canada
Post: #2766
Banditt Wrote:I have been organizing my emulators and I noticed that with the MobyGames scraper for fanart the first few images are usually the title screen and in-game shots are usually after so I go this idea on another option for the scraper:

- Under Fanart Scraper, A drop down for what to try to get (Title or In-Game)
- If it is title, then get the first shot like it does now
- If it is in-game, take the total shots and divide by 2 to get the middle and download that one (ex: 15 screens /2 = 7.5, rounded is 8 - download screen 8)

If you're ever looking for something to do.. Wink
I have to take a look if it is simple to implement into Advanced Launcher without affecting all the other scrapers. Beacause this function will not be implemented into scraper modules but into the Advanced Launcher core code.

Advanced Launcher | Manual | WiKi | Forums | Tutorials | Gallery | GitHub | Archives | Donate

find quote
Angelscry Offline
Skilled Python Coder
Posts: 2,692
Joined: Sep 2010
Reputation: 37
Location: MTL, Canada
Post: #2767
Version 1.6.6 : This new version of Advanced Launcher add a new feature for fanarts automatic scans. It add the possibility to semi-select which fanart images (first, half or last) the scraper will automatically get from the returned fanarts list. With some scrapers (like MAWS or MobyGames) it will allows to select between game title image (generally the first) versus other game images (other fanarts). Thank you to Banditt for the idea. This version also improve the compatibility under pre-Eden version of XBMC.

[Image: screenshot000.jpg]

Changelog:
  • Eden version compatibility.
  • Add fanart semi-selection for automatic scans.

Advanced Launcher | Manual | WiKi | Forums | Tutorials | Gallery | GitHub | Archives | Donate

find quote
tinybilbo Offline
Member
Posts: 77
Joined: Oct 2009
Reputation: 0
Post: #2768
Hi,

I need to be able to change gateways and then restart the networking service.
I usually just run a script from a console terminal, but I will like to be able to just use the gui (makes it kid friendly Smile ).

I can't seem to be able to get AL to run the script...

The script itself is tiny - just 2 lines

Code:
cp /etc/init.d/interfaces.mu /etc/init.d/interfaces
/etc/init.d/networking restart

This allows me to use different Vpn's for country specific scripts.

What am doing wrong (or what do I need to do just to run a script...)?

Thanks
find quote
Angelscry Offline
Skilled Python Coder
Posts: 2,692
Joined: Sep 2010
Reputation: 37
Location: MTL, Canada
Post: #2769
tinybilbo Wrote:Hi,

I need to be able to change gateways and then restart the networking service.
I usually just run a script from a console terminal, but I will like to be able to just use the gui (makes it kid friendly Smile ).

I can't seem to be able to get AL to run the script...

The script itself is tiny - just 2 lines

Code:
cp /etc/init.d/interfaces.mu /etc/init.d/interfaces
/etc/init.d/networking restart

This allows me to use different Vpn's for country specific scripts.

What am doing wrong (or what do I need to do just to run a script...)?

Thanks
Could be a lot of reasons but not related to Advanced Launcher. First, your script must start by :
Code:
#!/bin/bash
Secondly, the XBMC user must have the rights to execute the script. And finally the XBMC user must have the rights to write into the /etc/init.d/ directory and restart the networking service. Normally, by default, only the root user is allowed to do this.

Advanced Launcher | Manual | WiKi | Forums | Tutorials | Gallery | GitHub | Archives | Donate

find quote
tinybilbo Offline
Member
Posts: 77
Joined: Oct 2009
Reputation: 0
Post: #2770
Angelscry Wrote:Could be a lot of reasons but not related to Advanced Launcher. First, your script must start by :
Code:
#!/bin/bash
Secondly, the XBMC user must have the rights to execute the script. And finally the XBMC user must have the rights to write into the /etc/init.d/ directory and restart the networking service. Normally, by default, only the root user is allowed to do this.

Thanks for the reply,
I have tried the script with and without the !/bin/bash line,
I have also tried different permissions.
I think you are about the XBMC not having the rights, because normally I run it from a Console, logged in as root.
I'll get a script running from console, logged in as XBMC, the try AL again...
find quote
Post Reply