Browse files

Don't pre-cache mediaFlags on embedded systems.

  • Loading branch information...
1 parent 231940c commit ab257082a55e2e8a91160a3ded1b4df758b17812 @tru tru committed Apr 4, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 plex/FileSystem/PlexDirectory.cpp
View
2 plex/FileSystem/PlexDirectory.cpp
@@ -821,13 +821,15 @@ class PlexMediaNode
/* FIXME: attr here might be wrong? */
mediaItem->SetArt("mediaTag::" + attr, url);
+#if !defined(TARGET_RPI) && !defined(TARGET_IOS)
/* Cache this in the bg */
if(resource != "studio")
{
if (!CTextureCache::Get().HasCachedImage(url))
CTextureCache::Get().BackgroundCacheImage(url);
}
}
+#endif
string value = val;

0 comments on commit ab25708

Please sign in to comment.