Ok, I have found what was the bug this the
launcher_plugin.py file. Now it's working great.
So, this is how to use fanarts (screenshots) with the
Launcher addon. You have to modify the
Launcher addon code itself.
Replace the
/addons/plugin.program.launcher/resources/lib/launcher_plugin.py code (
v1.10.2) by this one :
http://pastebin.ca/1954452
Next, for each roms, you have to manually add fanart informations (path+file) into the
/userdata/addon_data/plugin.program.launcher/launchers.xml file using <fanart></fanart> tags, like this :
Code:
<roms>
<rom>
<name>Mario kart 64</name>
<filename>/mnt/multimedias/consoles/nintendo64/roms/Mario Kart 64.z64</filename>
<thumb>/mnt/multimedias/consoles/nintendo64/covers/Mario Kart 64.jpg</thumb>
<fanart>/mnt/multimedias/consoles/nintendo64/fanarts/Mario Kart 64.jpg</fanart>
</rom>
<rom>
<name>The legend of zelda - ocarina of time</name>
<filename>/mnt/multimedias/consoles/nintendo64/roms/The Legend of Zelda - Ocarina of Time.z64</filename>
<thumb>/mnt/multimedias/consoles/nintendo64/covers/The Legend of Zelda - Ocarina of Time.jpg</thumb>
<fanart>/mnt/multimedias/consoles/nintendo64/fanarts/The Legend of Zelda - Ocarina of Time.jpg</fanart>
</rom>
<rom>
<name>Super mario 64</name>
<filename>/mnt/multimedias/consoles/nintendo64/roms/Super Mario 64.z64</filename>
<thumb>/mnt/multimedias/consoles/nintendo64/covers/Super Mario 64.jpg</thumb>
<fanart>/mnt/multimedias/consoles/nintendo64/fanarts/Super Mario 64.jpg</fanart>
</rom>
<rom>
<name>International superstar soccer 2000</name>
<filename>/mnt/multimedias/consoles/nintendo64/roms/International Superstar Soccer 2000.z64</filename>
<thumb>/mnt/multimedias/consoles/nintendo64/covers/International Superstar Soccer 2000.z64</thumb>
<fanart>/mnt/multimedias/consoles/nintendo64/fanarts/International Superstar Soccer 2000.jpg</fanart>
</rom>
</roms>
Note: If you delete a game, and add it again you will have to add again the fanart informations.