2009-11-19, 18:10
@fablog
You should try the alpha "XBMC 9.11-a2" it has rev24542 which is newer than your SVN 24114, as mentioned in my last post it's working with it.
Now about that sorting problem,
to get launcher to sort the roms and launchers alphabetically and not randomly.
To fix it just open "XBMC\plugins\Programs\Launcher\resources\lib\laun cher_plugin.py"
search for
change to
search for
change to
and save the file
now delete "XBMC\plugins\Programs\Launcher\resources\lib\laun cher_plugin.pyo" and try it out.
Tested with Launcher 1.04 and XBMC 9.11-a2 on WinXP64
You should try the alpha "XBMC 9.11-a2" it has rev24542 which is newer than your SVN 24114, as mentioned in my last post it's working with it.
Now about that sorting problem,
to get launcher to sort the roms and launchers alphabetically and not randomly.
To fix it just open "XBMC\plugins\Programs\Launcher\resources\lib\laun cher_plugin.py"
search for
PHP Code:
def _get_roms( self, launcherName ):
...
if (len(roms) > 0) :
for index in roms :
rom = roms[index]
self._add_rom(launcherName, rom["name"], rom["filename"], rom["thumb"], len(roms))
else:
...
PHP Code:
def _get_roms( self, launcherName ):
...
if (len(roms) > 0) :
for key in sorted(roms.iterkeys()):
self._add_rom(launcherName, roms[key]["name"], roms[key]["filename"], roms[key]["thumb"], len(roms))
else:
...
search for
PHP Code:
def _get_launchers( self ):
...
if (len(self.launchers) > 0):
for index in self.launchers:
launcher = self.launchers[index]
self._add_launcher(launcher["name"], launcher["application"], launcher["rompath"], launcher["romext"], launcher["thumb"], launcher["wait"], launcher["roms"], len(self.launchers))
xbmcplugin.endOfDirectory( handle=int( self._handle ), succeeded=True, cacheToDisc=False )
...
PHP Code:
def _get_launchers( self ):
...
if (len(self.launchers) > 0):
for key in sorted(self.launchers.iterkeys()):
self._add_launcher(self.launchers[key]["name"], self.launchers[key]["application"], self.launchers[key]["rompath"], self.launchers[key]["romext"], self.launchers[key]["thumb"], self.launchers[key]["wait"], self.launchers[key]["roms"], len(self.launchers))
xbmcplugin.endOfDirectory( handle=int( self._handle ), succeeded=True, cacheToDisc=False )
...
and save the file
now delete "XBMC\plugins\Programs\Launcher\resources\lib\laun cher_plugin.pyo" and try it out.
Tested with Launcher 1.04 and XBMC 9.11-a2 on WinXP64