Skip to content

Commit

Permalink
Load photo thumbs normally, fixes Google LIFE search icon
Browse files Browse the repository at this point in the history
  • Loading branch information
elan committed Feb 19, 2009
1 parent 6ddd236 commit d9270bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xbmc/FileSystem/PlexDirectory.cpp
Expand Up @@ -539,7 +539,7 @@ class PlexMediaPhoto : public PlexMediaNode
{
pItem->m_bIsFolder = false;

// FIXME: Shouldn't have to ways to get this.
// FIXME: Shouldn't have two ways to get this.
if (el.Attribute("title"))
pItem->SetLabel(el.Attribute("title"));
else
Expand Down
4 changes: 3 additions & 1 deletion xbmc/PictureThumbLoader.cpp
Expand Up @@ -58,8 +58,10 @@ bool CPictureThumbLoader::LoadItem(CFileItem* pItem)
else
{
// see if we have additional info to download this thumb with
if (pItem->HasVideoInfoTag())
if (pItem->HasVideoInfoTag() && pItem->IsPlexMediaServer() == false)
{
return DownloadVideoThumb(pItem, cachedThumb);
}
else
{
CPicture pic;
Expand Down

0 comments on commit d9270bd

Please sign in to comment.