From bbc5025bce4e3fe945b37987dc359be6e045348b Mon Sep 17 00:00:00 2001 From: Memphiz Date: Wed, 18 Dec 2013 22:47:21 +0100 Subject: [PATCH] [AirTunes] - some skins manage to load the airtunes thumb via the texture 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) --- addons/skin.touched | 2 +- xbmc/TextureCache.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/addons/skin.touched b/addons/skin.touched index 1dc73d790015a..932a728725889 160000 --- a/addons/skin.touched +++ b/addons/skin.touched @@ -1 +1 @@ -Subproject commit 1dc73d790015aec1376e2e83ea7bd82e9f3f015a +Subproject commit 932a728725889c4220bc4ac42f18b082e4361f86 diff --git a/xbmc/TextureCache.cpp b/xbmc/TextureCache.cpp index 2c1da1ffa7a17..8b45d39207239 100644 --- a/xbmc/TextureCache.cpp +++ b/xbmc/TextureCache.cpp @@ -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;