2009-11-20, 12:02
nevermind
Quote:07:58:42 T:2984582000 M:551579648 NOTICE: Traceback (most recent call last):
07:58:42 T:2984582000 M:551579648 NOTICE: File "/home/anthony/.xbmc/plugins/programs/Launcher/default.py", line 19, in ?
07:58:42 T:2984582000 M:551579648 NOTICE: import resources.lib.launcher_plugin as plugin
07:58:42 T:2984582000 M:551579648 NOTICE: File "
07:58:42 T:2984582000 M:551579648 NOTICE: /home/anthony/.xbmc/plugins/programs/Launcher/resources/lib/launcher_plugin.py
07:58:42 T:2984582000 M:551579648 NOTICE: ", line
07:58:42 T:2984582000 M:551579648 NOTICE: 362
07:58:42 T:2984582000 M:551579648 NOTICE: xbmcplugin.endOfDirectory( handle=int( self._handle ), succeeded=True, cacheToDisc=False ) xbmcplugin.endOfDirectory( handle=int( self._handle ), succeeded=True, cacheToDisc=False )
07:58:42 T:2984582000 M:551579648 NOTICE: ^
07:58:42 T:2984582000 M:551579648 NOTICE: SyntaxError
07:58:42 T:2984582000 M:551579648 NOTICE: :
07:58:42 T:2984582000 M:551579648 NOTICE: invalid syntax
07:58:42 T:2984582000 M:551579648 ERROR: Scriptresult: Error
xbmcplugin.endOfDirectory( handle=int( self._handle ), succeeded=True, cacheToDisc=False ) xbmcplugin.endOfDirectory( handle=int( self._handle ), succeeded=True, cacheToDisc=False )
xbmcplugin.endOfDirectory( handle=int( self._handle ), succeeded=True, cacheToDisc=False )
xbmcplugin.endOfDirectory( handle=int( self._handle ), succeeded=True, cacheToDisc=False )
Quote:is this sort solution is backward compatible? I mean, will it work on XBMC 8.10?I don't know.
Quote:Thanks for the advice JustSomeUserNo problem, hope it's working now.
Quote:I installed XBMC in an Intel (ATOM) machine and because of the Nvidea chipset, it works great. Can this "add on" be installed in a system where the underlying OS is GRUB? If so, some guidance would be GREATLY appreciated. I've figured out (in GRUB) that my hard disk is HD0 and the thumbdrive is HD1, but beyond that, I'm clueless.You are probably running some Linux, GRUB is just a boot loader which can load any OS even windows. If so try to copy the launcher files to "~/.xbmc/plugins/programs/" if that directory exists if not try creating it.
Quote:the sorting thing has been a big pain for some time.Yeah it really was.
Quote:What determines the viewtypes available for the Launcher plugin? I'm on Aeon, and I can only choose between List and Wall. Is that something that is done by the plugin, the skin, or the XBMC core itself?That should be something XBMC does or probably the skin, I'm using MARK-III and can select five different views.
GreatGame.rom
GreatGame.png
AnotherGreatGame.rom
AnotherGreatGame.jpg
def _get_local_thumb( self, filename ):
exts = ['jpg', 'png', 'gif', 'bmp']
for ext in exts:
#try with changed extension
thumb = filename[:-len(os.path.splitext(filename)[-1])] + "." + ext
if (os.path.isfile(thumb)):
return thumb
#also try with original extension
thumb = filename + "." + ext
if (os.path.isfile(thumb)):
return thumb
def _import_roms(self, launcherName, addRoms = False):
...
romdata["name"] = romname
romdata["filename"] = fullname
romdata["thumb"] = ""
# add rom to the roms list (using name as index)
roms[romname] = romdata
...
def _import_roms(self, launcherName, addRoms = False):
...
romdata["name"] = romname
romdata["filename"] = fullname
#try the filename of the rom with different extension to get a valid thumbnail
thumb = self._get_local_thumb(fullname)
if thumb:
romdata["thumb"] = thumb
else:
romdata["thumb"] = ""
# add rom to the roms list (using name as index)
roms[romname] = romdata
...
Darkjasper Wrote:Ok, I have added my emulator and roms folder with the extensions but when I go to open a rom the emulator just opens up. I am guessing I need some arguments to have it run right away. I have tried 3 different emulators but they just all open to no games. Any ideas on this one? Running the newest beta and windows 7.Any spaces in the rom-filename, perchance?
X:\Path\To\My\RomsPath\
X:\Path\To\My\RomsPath.png
X:\Path\To\My\App.exe
X:\Path\To\My\App.jpg
-spaces in rom names fix for windows (I don't know if this is a problem on linux)
-sort apps, launchers and roms alphabetically
-thumbs for roms from folder while importing
-thumbs for launchers and apps from folder while adding a new one
-remove dead rom entries while importing
-search function for all or single launcher
-changed item order of the context menus
-added .cmd extension for windows to be selected as app or launcher
-minimize xbmc while running an app or rom ([url=http://forum.xbmc.org/showpost.php?p=427765&postcount=555]xbmc.executehttpapi("Action(199)")[/url])