fixed: Try to recache image in case cached texture loading fails

Up till now we didn't handle failed texture loading for cached images. This could occur in cases where the locally cached file is missing (or corrupt) and possibly other scenarios. 
If one suggestion is to refactor it may I suggest using a key value store
for this purpose. I.e. store the entire image as value, possibly with some
metadata to facilitate uploads. Then the issue of deleted and corrupted are
given for free by the database. If the database exists and the key has a
value you _know_ you have a value.
Den 15 dec 2014 07:27 skrev "arnova" <notifications@github.com>:

> In xbmc/GUILargeTextureManager.cpp
> <https://github.com/xbmc/xbmc/pull/5948#discussion-diff-21807542>:
>
> > @@ -55,6 +55,8 @@ bool CImageLoader::DoWork()
> >    else
> >      loadPath = texturePath;
> >
> > +  const bool bAllowReCache = (m_use_cache && !loadPath.empty());
>
> That was on purpose since an empty loadPath may be updated in the if
> clause below.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/xbmc/xbmc/pull/5948/files#r21807542>.
>