• 1
  • 183
  • 184
  • 185(current)
  • 186
  • 187
  • 453
[CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC
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.
Ok thanks for the reply anyway...

A program add-on.... Could you perhaps kick me in the right direction a bit?
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!
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
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
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.
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

Changelog:
  • Eden version compatibility.
  • Add fanart semi-selection for automatic scans.
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
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.
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...
tinybilbo Wrote: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...
Best waywill be to create a script like this :
Code:
#!/bin/bash
sudo cp /etc/init.d/interfaces.mu /etc/init.d/interfaces
sudo /etc/init.d/networking restart
Then give execution rights to this script to the xbmc user.
Then, to avoid to be asked for passwords each time the user XBMC use the sudo command into the script, you will have to edit the /etc/sudoers files (using sudo viduso) and add the following lines at the end :
Code:
%xbmc ALL = NOPASSWD: cp
%xbmc ALL = NOPASSWD: /etc/init.d/networking
It may works.... Nerd
I'm having a problem where the ROMs will not auto scan over a network. I have two separate XBMC installations and the ROM folder is on a shared folder (full read/write permissions) on one of the computers. On the computer with the folder I can auto scan the ROMs fine, but the other computer always returns with 0 ROMs found. I only noticed this problem since I installed Pre-Eden.

Here is the log where I created a new launcher and tried to auto scan for ROMs:

Code:
16:14:15 T:5512 WARNING: Trying to add unsupported control type 3
16:14:26 T:5512 WARNING: Previous line repeats 7 times.
16:14:26 T:5512   ERROR: unmatched parentheses in IntegerGreaterThan(Container(9).NumItems),0)
16:15:06 T:5512 WARNING: Trying to add unsupported control type 3
16:15:06 T:5336 WARNING: Previous line repeats 7 times.
16:15:06 T:5336 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
16:15:08 T:5760  NOTICE: -->Python Interpreter Initialized<--
16:15:08 T:5760  NOTICE: ERROR: Main::get_xml_source (1198) - [Errno 2] No such file or directory: 'C:\\Users\\ArcAnjel\\AppData\\Roaming\\XBMC\\userdata\\addon_data\\plugin.program.advanced.launcher\\launchers.xml'
16:15:08 T:5760  NOTICE: Launcher: found 0 launchers
16:15:10 T:5760 WARNING: Trying to add unsupported control type 3
16:15:57 T:7756 WARNING: Previous line repeats 11 times.
16:15:57 T:7756  NOTICE: -->Python Interpreter Initialized<--
16:15:57 T:7756  NOTICE: Launcher: found 1 launchers
16:16:01 T:6624  NOTICE: -->Python Interpreter Initialized<--
16:16:01 T:6624  NOTICE: Launcher: found 1 launchers
16:16:01 T:6624  NOTICE: Launcher: 72f44bc7d64a160f048846682e80f3e7 : found 0 roms
16:16:01 T:5512   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.advanced.launcher/?72f44bc7d64a160f048846682e80f3e7
16:16:01 T:5512   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.advanced.launcher/?72f44bc7d64a160f048846682e80f3e7) failed
16:16:01 T:7892  NOTICE: -->Python Interpreter Initialized<--
16:16:02 T:7892  NOTICE: Launcher: found 1 launchers
16:16:05 T:6160  NOTICE: -->Python Interpreter Initialized<--
16:16:05 T:6160  NOTICE: Launcher: found 1 launchers
16:16:07 T:5512 WARNING: Trying to add unsupported control type 3
16:16:08 T:7608 WARNING: Previous line repeats 7 times.
16:16:08 T:7608  NOTICE: -->Python Interpreter Initialized<--
16:16:08 T:7608  NOTICE: Launcher: found 1 launchers
16:16:09 T:5512 WARNING: Trying to add unsupported control type 3
16:16:09 T:7388 WARNING: Previous line repeats 7 times.
16:16:09 T:7388  NOTICE: -->Python Interpreter Initialized<--
16:16:09 T:7388  NOTICE: Launcher: found 1 launchers
16:16:09 T:7388  NOTICE: Launcher: 72f44bc7d64a160f048846682e80f3e7 : found 0 roms
16:16:09 T:5512   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.advanced.launcher/?72f44bc7d64a160f048846682e80f3e7
16:16:09 T:5512   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.advanced.launcher/?72f44bc7d64a160f048846682e80f3e7) failed
16:16:16 T:5512   ERROR: Control 1 in window 10099 has been asked to focus, but it can't

Any help you can offer is awesome!
ArcAnjel Wrote:I'm having a problem where the ROMs will not auto scan over a network. I have two separate XBMC installations and the ROM folder is on a shared folder (full read/write permissions) on one of the computers. On the computer with the folder I can auto scan the ROMs fine, but the other computer always returns with 0 ROMs found. I only noticed this problem since I installed Pre-Eden.

Here is the log where I created a new launcher and tried to auto scan for ROMs:

Code:
16:14:15 T:5512 WARNING: Trying to add unsupported control type 3
16:14:26 T:5512 WARNING: Previous line repeats 7 times.
16:14:26 T:5512   ERROR: unmatched parentheses in IntegerGreaterThan(Container(9).NumItems),0)
16:15:06 T:5512 WARNING: Trying to add unsupported control type 3
16:15:06 T:5336 WARNING: Previous line repeats 7 times.
16:15:06 T:5336 WARNING: XFILE::CFileFactory::CreateLoader - Unsupported protocol(addons) in addons://more/executable.tbn
16:15:08 T:5760  NOTICE: -->Python Interpreter Initialized<--
16:15:08 T:5760  NOTICE: ERROR: Main::get_xml_source (1198) - [Errno 2] No such file or directory: 'C:\\Users\\ArcAnjel\\AppData\\Roaming\\XBMC\\userdata\\addon_data\\plugin.program.advanced.launcher\\launchers.xml'
16:15:08 T:5760  NOTICE: Launcher: found 0 launchers
16:15:10 T:5760 WARNING: Trying to add unsupported control type 3
16:15:57 T:7756 WARNING: Previous line repeats 11 times.
16:15:57 T:7756  NOTICE: -->Python Interpreter Initialized<--
16:15:57 T:7756  NOTICE: Launcher: found 1 launchers
16:16:01 T:6624  NOTICE: -->Python Interpreter Initialized<--
16:16:01 T:6624  NOTICE: Launcher: found 1 launchers
16:16:01 T:6624  NOTICE: Launcher: 72f44bc7d64a160f048846682e80f3e7 : found 0 roms
16:16:01 T:5512   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.advanced.launcher/?72f44bc7d64a160f048846682e80f3e7
16:16:01 T:5512   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.advanced.launcher/?72f44bc7d64a160f048846682e80f3e7) failed
16:16:01 T:7892  NOTICE: -->Python Interpreter Initialized<--
16:16:02 T:7892  NOTICE: Launcher: found 1 launchers
16:16:05 T:6160  NOTICE: -->Python Interpreter Initialized<--
16:16:05 T:6160  NOTICE: Launcher: found 1 launchers
16:16:07 T:5512 WARNING: Trying to add unsupported control type 3
16:16:08 T:7608 WARNING: Previous line repeats 7 times.
16:16:08 T:7608  NOTICE: -->Python Interpreter Initialized<--
16:16:08 T:7608  NOTICE: Launcher: found 1 launchers
16:16:09 T:5512 WARNING: Trying to add unsupported control type 3
16:16:09 T:7388 WARNING: Previous line repeats 7 times.
16:16:09 T:7388  NOTICE: -->Python Interpreter Initialized<--
16:16:09 T:7388  NOTICE: Launcher: found 1 launchers
16:16:09 T:7388  NOTICE: Launcher: 72f44bc7d64a160f048846682e80f3e7 : found 0 roms
16:16:09 T:5512   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.program.advanced.launcher/?72f44bc7d64a160f048846682e80f3e7
16:16:09 T:5512   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.program.advanced.launcher/?72f44bc7d64a160f048846682e80f3e7) failed
16:16:16 T:5512   ERROR: Control 1 in window 10099 has been asked to focus, but it can't

Any help you can offer is awesome!
Please, can you also post the content of your launchers.xml file? I need it to see your launcher configuration and try to understand what happen here... Thank you Wink
Thanks for helping me out with this. Here is the launcher.xml from path "C:\Users\[UserNameHidden]\AppData\Roaming\XBMC\userdata\addon_data\plugin.program.advanced.launcher"

Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<launchers>
    <launcher>
        <id>72f44bc7d64a160f048846682e80f3e7</id>
        <name>NES</name>
        <application>smb://Mediacenter/Games/NES/Emulator/fceux/fceux.exe</application>
        <args>"%rom%"</args>
        <rompath>smb://Mediacenter/Games/NES/</rompath>
        <thumbpath>smb://Mediacenter/Games/NES/Thumbs/</thumbpath>
        <fanartpath>smb://Mediacenter/Games/NES/Fanart/</fanartpath>
        <extrafanartpath>smb://Mediacenter/Games/NES/Fanart/</extrafanartpath>
        <romext>nes|zip</romext>
        <platform>Nintendo Entertainment System</platform>
        <thumb></thumb>
        <fanart></fanart>
        <genre></genre>
        <release></release>
        <publisher></publisher>
        <launcherplot></launcherplot>
        <minimize>true</minimize>
        <lnk>true</lnk>
        <roms>
        </roms>
    </launcher>
</launchers>
ArcAnjel Wrote:Thanks for helping me out with this. Here is the launcher.xml from path "C:\Users\[UserNameHidden]\AppData\Roaming\XBMC\userdata\addon_data\plugin.program.advanced.launcher"
Samba paths are not supported by most of the Windows emulators and applications into there command lines. So what's why Advanced Launcher do not support them (no interest) and that you are not able to access them. You can bypass this by mounting locally your external drive (aka. assign it a drive letter).
  • 1
  • 183
  • 184
  • 185(current)
  • 186
  • 187
  • 453

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