2010-12-09, 20:30
davidw Wrote:I want to integrate my ROMs and ZSNES on my Ubuntu Dharma installation with your launcher but I have a few problems.For the error, it is related to simplejson module that I have forget to add into the required scripts and that it is not installed into your XBMC. Normally the version 0.7.6 of the Advanced Launcher may solve it. Tell me if it is not working with this version last version because I'm not really sure how works script dependencies for add-ons.
1) Adding the program and ROMs via GUI was not 100% possible. Should the program list all the ROMs after I defined the ROM-Path? This is my actual launcher.xml. I added the complete <rom> part manually but at least this one ROM is working
Code:<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<launchers>
<launcher>
<name>zsnes</name>
<application>/usr/bin/zsnes</application>
<args>-s</args>
<rompath>/home/xbmc/games/snes-roms/</rompath>
<thumbpath>/home/xbmc/games/snes-roms/</thumbpath>
<fanartpath>/home/xbmc/games/snes-roms/</fanartpath>
<romext>smc</romext>
<platform>Super Nintendo Entertainment System</platform>
<thumb></thumb>
<fanart></fanart>
<genre></genre>
<release></release>
<publisher></publisher>
<launcherplot></launcherplot>
<wait>true</wait>
<roms>
<rom>
<name>Donkey Kong Country</name>
<filename>/home/xbmc/games/snes-roms/Donkey Kong Country/Donkey Kong Country.smc</filename>
<platform>Super Nintendo Entertainment System</platform>
<thumb>/home/xbmc/games/snes-roms/Donkey Kong Country/Donkey Kong Country.png</thumb>
<fanart>/home/xbmc/games/snes-roms/Donkey Kong Country/Donkey Kong Country.png</fanart>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
</rom>
</roms>
</launcher>
</launchers>
2) When I try to search for the cover etc I get the following error:Code:18:39:10 T:3044874096 M:3138650112 DEBUG: Alloc resources: 0.01ms (0.01 ms skin load)
18:39:10 T:2786159472 M:3138113536 INFO: -->Python script returned the following error<--
18:39:10 T:2786159472 M:3138113536 ERROR: Error Type: exceptions.ImportError
18:39:10 T:2786159472 M:3138113536 ERROR: Error Contents: No module named simplejson
18:39:10 T:2786159472 M:3138113536 ERROR: Traceback (most recent call last):
File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/addon.py", line 20, in ?
plugin.Main()
File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 112, in __init__
self._get_scrapers()
File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/lib/launcher_plugin.py", line 566, in _get_scrapers
exec "import resources.scrapers.thumbs.%s.thumbs_scraper as _thumbs_scraper" % ( self.settings[ "thumbs_scraper" ] )
File "<string>", line 1, in ?
File "/home/xbmc/.xbmc/addons/plugin.program.advanced.launcher/resources/scrapers/thumbs/Google/thumbs_scraper.py", line 3, in ?
import simplejson
ImportError: No module named simplejson
18:39:10 T:2786159472 M:3138113536 INFO: -->End of Python script error report<--
18:39:10 T:2786159472 M:3138113536 DEBUG: xbp_dlopen loading python lib /usr/lib/xbmc/system/python/python24.zip/collections.so. flags: 2
18:39:10 T:2786159472 M:3138113536 DEBUG: Loading: /home/xbmc/.xbmc/temp/collections.so
18:39:10 T:2786159472 M:3138113536 DEBUG: RegisterExtensionLib, adding collections.so (0xa3f82a80)
18:39:10 T:2786159472 M:3138113536 DEBUG: xbp_dlsym - load symbol initcollections
18:39:10 T:2786159472 M:3138113536 INFO: Python script stopped
18:39:10 T:2786159472 M:3138113536 DEBUG: Thread 2786159472 terminating
18:39:10 T:2794556272 M:3138113536 DEBUG: WaitOnScriptResult - plugin exited prematurely - terminating
Hope you can help out and thx for the PlugIn anyway
Cheers,
David
Adding program and roms via GUI is 100% possible. That is the goal of the Advanced Launcher. After creating the launcher, you will have to make a scan using the Scan and Get Info for new files option:
It will scan <rompath>/home/xbmc/games/snes-roms/</rompath> for new files and will add them automatically.