aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlasdair Campbell <alcoheca@gmail.com>2012-10-11 12:35:55 +0100
committerAlasdair Campbell <alcoheca@gmail.com>2012-10-11 12:35:55 +0100
commit0d43bcf16bd7003e19ab0ce5251720fc4b211924 (patch)
tree0d3c653e2a07f7e17bcf16100413f309896ea83a
parent59ca8732710dff84330672a0b3bcb826477b7c50 (diff)
[UPnP] typo causing no watched overlay for movies
-rw-r--r--xbmc/filesystem/UPnPDirectory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/filesystem/UPnPDirectory.cpp b/xbmc/filesystem/UPnPDirectory.cpp
index 6a9f9e424a..e22b98522f 100644
--- a/xbmc/filesystem/UPnPDirectory.cpp
+++ b/xbmc/filesystem/UPnPDirectory.cpp
@@ -491,7 +491,7 @@ CUPnPDirectory::GetDirectory(const CStdString& strPath, CFileItemList &items)
pItem->SetProperty("unwatchedepisodes", episodes - played);
watched = (episodes && played == episodes);
}
- else if (type == "episode")
+ else if (type == "episode" || type == "movie")
watched = played;
pItem->SetOverlayImage(CGUIListItem::ICON_OVERLAY_UNWATCHED, watched);
}