[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,696
Joined: Sep 2010
Reputation: 37
Location: MTL, Canada
Post: #2771
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

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

find quote
ArcAnjel Offline
Junior Member
Posts: 8
Joined: Oct 2011
Reputation: 0
Post: #2772
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.progr​am.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!
find quote
Angelscry Offline
Skilled Python Coder
Posts: 2,696
Joined: Sep 2010
Reputation: 37
Location: MTL, Canada
Post: #2773
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.progr​am.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

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

find quote
ArcAnjel Offline
Junior Member
Posts: 8
Joined: Oct 2011
Reputation: 0
Post: #2774
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>
find quote
Angelscry Offline
Skilled Python Coder
Posts: 2,696
Joined: Sep 2010
Reputation: 37
Location: MTL, Canada
Post: #2775
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).

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

find quote
ArcAnjel Offline
Junior Member
Posts: 8
Joined: Oct 2011
Reputation: 0
Post: #2776
Ah, yes that makes complete sense. I forgot that I did assign a drive last time I built XBMC in Dharma. I just did that again and it worked perfectly. Thanks!
find quote
darkscout Offline
Posting Freak
Posts: 2,148
Joined: Jul 2008
Reputation: 12
Post: #2777
Has anyone made a website/scraper for 'apps'? Some place that would have firefox, chrome, etc backgrounds, icons, etc?

[Image: aeKO.jpeg]
Code:
GRANT ALL PRIVILEGES ON `xbmc_%`.* TO 'xbmc'@'%';
IF you have a mysql problem, find one of the 4 dozen threads already open.
find quote
Angelscry Offline
Skilled Python Coder
Posts: 2,696
Joined: Sep 2010
Reputation: 37
Location: MTL, Canada
Post: #2778
darkscout Wrote:Has anyone made a website/scraper for 'apps'? Some place that would have firefox, chrome, etc backgrounds, icons, etc?
I do not think it exist yet such kind of scraper, but it could be a good idea to try to create one. We need first to found a good website with a good search engine and content for the source. Do you have an idea?

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

find quote
activate Offline
Fan
Posts: 593
Joined: Feb 2011
Reputation: 1
Post: #2779
Hey guys, been using xbmc for a while. First time with this add on. I have followed the users guide and setup to launch Eye TV app from a macmini. Set it up as a standalone launch and removed all arguments. The app launches but in the background. The audio comes through as expected but the window is hidden. Is it an argument that I am missing ? Thanks.

Macmini Server 2011 i7 Quad Core, OS 10.8.2, Amp Onkyo TX-SR308 USB WD drives 3x2TB TV Samsung Plasma 720p EyeTV Integration
There are only 10 kinds of people in this world, those who understand binary, and those who don't.



find quote
Angelscry Offline
Skilled Python Coder
Posts: 2,696
Joined: Sep 2010
Reputation: 37
Location: MTL, Canada
Post: #2780
activate Wrote:Hey guys, been using xbmc for a while. First time with this add on. I have followed the users guide and setup to launch Eye TV app from a macmini. Set it up as a standalone launch and removed all arguments. The app launches but in the background. The audio comes through as expected but the window is hidden. Is it an argument that I am missing ? Thanks.
Is it a problem only related with Eye TV or do you have the same problem with other mac applications? As I do not have any Apple system on my side, I cannot reallt help you. Also, for the same reason, Advanced Launcher support for MAC platforms (wiki page, tutorial) is practically null. I would be happy to found some Apple users that could help me too improve the port of Advanced Launcher to Apple systems.

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

find quote
Post Reply