xbmc/xbmc — pull request #918 by jmarshallnz (2012-05-02 03:40:10+00:00)
Title: Texture cache changes to prepare for various new features

This basically is work to better cache images at load time and also prepare for the texture cache holding more than one size of the same image.

Also contains fixes for attempts at caching the same image in 2 different threads (results in corrupt jpg) and fixes for addon thumbs.

In addition, http:// art is considered stable (i.e. non-changing) which is most likely the case anyway, so this should reduce load on thetvdb/themoviedb, whose URLs are stable. There's a routine in place to invalidate this (thus forcing a check, not necessarily a re-cache if nothing has changed) which the addon repos use.

Would like this one in before the video_thumbs_to_cache (PR on the way) as it is hopefully the last time that the texturedb will need dropping.