2010-10-21, 12:36
Angelscry Wrote:Ok Filigran, with your files and additionnal information, I was able to reproduce your bug and surely fixed it. Try this new launcher_plugin.py file and tell me if it solve your problem : http://pastebin.com/LcY5Ur1M
Yeah, problem solved! Easy fix, too, I see.
One thing still bothers me though, the sorting. I had everything in my launchers.xml file sorted alphabetically, like the file you saw in my previous post. I now added "Actraiser added manually through XBMC", and it borked up my sorting again. I now get this sorting:
Code:
<rom>
<name>Clayfighter 2 - Judgment Clay</name>
<filename>/storage/roms/Super Nintendo/Clayfighter 2 - Judgment Clay.smc</filename>
<thumb>/storage/roms/Super Nintendo/covers/Clayfighter 2.jpg</thumb>
<fanart>/storage/roms/Super Nintendo/fanart/Clayfighter 2.jpg</fanart>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot>A meteor made entirely out of clay crash-lands on the grounds of a humble American circus. The goo from the interstellar object contaminates all of the circus' employees, transforming them into bizarre caricatures of their former selves, with new superpowers.</gameplot>
</rom>
<rom>
<name>Lejonkungen</name>
<filename>/storage/roms/Super Nintendo/Lejonkungen.smc</filename>
<thumb>/storage/roms/Super Nintendo/covers/Lion King.jpg</thumb>
<fanart>/storage/roms/Super Nintendo/fanart/Lion King.png</fanart>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot>The Lion King is a video game based on Disney's popular animated film. The game is a side-scrolling platform game, with the controlled character having to leap, climb, run and descend from platform to platform.</gameplot>
</rom>
<rom>
<name>Actraiser added through XBMC</name>
<filename>/storage/roms/Super Nintendo/Actraiser.smc</filename>
<thumb></thumb>
<fanart></fanart>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
</rom>
<rom>
<name>Lost vikings</name>
<filename>/storage/roms/Super Nintendo/Lost Vikings.smc</filename>
<thumb>/storage/roms/Super Nintendo/covers/Lost Vikings.jpg</thumb>
<fanart>/storage/roms/Super Nintendo/fanart/Lost Vikings.jpg</fanart>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot>In the game, the three Vikings get kidnapped by Tomator, emperor of the alien Croutonian empire, for an inter-galactic zoo and become lost in various periods of time. The purpose of the game is to control the three characters (who all have separate abilities) in order to solve puzzles to escape and get back home.</gameplot>
</rom>
<rom>
<name>Secret of mana</name>
<filename>/storage/roms/Super Nintendo/Secret of Mana.smc</filename>
<thumb>/storage/roms/Super Nintendo/covers/Secret of Mana.jpg</thumb>
<fanart></fanart>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
</rom>
<rom>
<name>Mega man x</name>
<filename>/storage/roms/Super Nintendo/Mega Man X.smc</filename>
<thumb>/storage/roms/Super Nintendo/covers/Mega Man X.jpg</thumb>
<fanart></fanart>
<genre></genre>
<release></release>
<publisher></publisher>
<gameplot></gameplot>
</rom>
Edit: Ah, dictionaries can't be sorted that easy. Dang.