Quote:def add_item(self,name,save):
self.items.append(save)
cache = os.path.join(cwd,'cache',save.titleid + '.png')
if os.path.exists(cache):
try:
self.save_list.additem(xbmcgui.listitem(name,'',cache,cache))
except:
self.save_list.additem(name)
return
filename = str(save.titleimage)
if os.path.exists(filename):
img = xbe.get_image(file=filename)
file = os.path.join(cwd,'cache',save.titleid + '.png')
img.image_to_png(file)
try:
self.save_list.additem(xbmcgui.listitem(name,'',file,file))
except:
self.save_list.additem(name)
else:
self.save_list.additem(name)
here is the before.
Quote:self.save_list.additem(xbmcgui.listitem(name,'',cache,cache))
here is the after. you would do this for each listitem
Quote:self.save_list.additem(xbmcgui.listitem(name,save.titleid,cache,cache))
i'm going to add the titleid to the appinfo window and probably add the size of all the save data there as well, and probably to the save list also. i have to consider what can fit in the width of the list.
ruuk


![[Image: strip.jpg]](http://2ndmind.net/xbmc/forumsig/strip.jpg)

![[Image: screenshot002.jpg]](http://www.smuto.webpark.pl/screenshot002.jpg)
![[Image: screenshot003.jpg]](http://www.smuto.webpark.pl/screenshot003.jpg)
![[Image: screenshot004.jpg]](http://www.smuto.webpark.pl/screenshot004.jpg)
![[Image: screenshot005.jpg]](http://www.smuto.webpark.pl/screenshot005.jpg)
![[Image: 1.png]](http://www.denness.net/scrobblersig/username/smuto/labelcolor/5176B5/trackcolor/3A4F6C/backgroundcolor/FFFFFF/backgroundtransparent/1.png)
Search
Help