~x3lectric/xbmc/svn-trunk

« back to all changes in this revision

Viewing changes to xbmc/GUIWindowMusicInfo.cpp

  • Committer: jmarshallnz
  • Date: 2010-04-21 02:15:43 UTC
  • Revision ID: svn-v4:568bbfeb-2a22-0410-94d2-cc84cf5bfa90:trunk:29411
fixed: Only delete cached thumbs willy-nilly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
484
484
  else
485
485
    cachedThumb = CUtil::GetCachedAlbumThumb(m_album.strAlbum, m_album.strArtist);
486
486
 
487
 
  CTextureCache::Get().ClearCachedImage(cachedThumb);
 
487
  CTextureCache::Get().ClearCachedImage(cachedThumb, true);
488
488
  if (result.Left(14) == "thumb://Remote")
489
489
  {
490
490
    int number = atoi(result.Mid(14));
499
499
 
500
500
  if (result == "thumb://None")
501
501
  { // clear this thumb (note - it'll likely be recached, nothing we can do about that at this point)
502
 
    CTextureCache::Get().ClearCachedImage(cachedThumb);
 
502
    CTextureCache::Get().ClearCachedImage(cachedThumb, true);
503
503
    cachedThumb = "";
504
504
  }
505
505
 
585
585
  if (result.Equals("fanart://Local"))
586
586
    result = strLocal;
587
587
 
588
 
  CTextureCache::Get().ClearCachedImage(cachedThumb);
 
588
  CTextureCache::Get().ClearCachedImage(cachedThumb, true);
589
589
 
590
590
  if (!result.Equals("fanart://None"))
591
591
  { // local file