Skip to content

Commit

Permalink
[AirTunes] - some skins manage to load the airtunes thumb via the tex…
Browse files Browse the repository at this point in the history
…ture cache. Ensure files from special://temp/ (where the airtunes thumb is stored) won't get cached. Fixes the coverart via airtunes for other skins then confluence (verified on aeon mq5)
  • Loading branch information
Memphiz committed Dec 18, 2013
1 parent 7799f24 commit bbc5025
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion addons/skin.touched
Submodule skin.touched updated 101 files
1 change: 1 addition & 0 deletions xbmc/TextureCache.cpp
Expand Up @@ -66,6 +66,7 @@ bool CTextureCache::IsCachedImage(const CStdString &url) const
if (url != "-" && !CURL::IsFullPath(url))
return true;
if (URIUtils::IsInPath(url, "special://skin/") ||
URIUtils::IsInPath(url, "special://temp/") ||
URIUtils::IsInPath(url, "androidapp://") ||
URIUtils::IsInPath(url, CProfilesManager::Get().GetThumbnailsFolder()))
return true;
Expand Down

2 comments on commit bbc5025

@MartijnKaijser
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please leave touched skin alone ;)

@Memphiz
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

args

Please sign in to comment.