Skip to content
Browse files

[UPnP] typo causing no watched overlay for movies

  • Loading branch information...
1 parent 59ca873 commit 0d43bcf16bd7003e19ab0ce5251720fc4b211924 @alcoheca alcoheca committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/filesystem/UPnPDirectory.cpp
View
2 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);
}

0 comments on commit 0d43bcf

Please sign in to comment.
Something went wrong with that request. Please try again.