Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[UPnP] fix watched overlay when playcount is unknown

  • Loading branch information...
commit 0ff0d2eeea408d80715d4f0593a33934ecc3a29a 1 parent 32a74fa
@alcoheca alcoheca authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  xbmc/filesystem/UPnPDirectory.cpp
View
2  xbmc/filesystem/UPnPDirectory.cpp
@@ -492,7 +492,7 @@ CUPnPDirectory::GetDirectory(const CStdString& strPath, CFileItemList &items)
watched = (episodes && played == episodes);
}
else if (type == "episode" || type == "movie")
- watched = played;
+ watched = (played > 0);
pItem->SetOverlayImage(CGUIListItem::ICON_OVERLAY_UNWATCHED, watched);
}
items.Add(pItem);
Please sign in to comment.
Something went wrong with that request. Please try again.