Skip to content
This repository
Browse code

[UPnP] typo causing no watched overlay for movies

  • Loading branch information...
commit 0d43bcf16bd7003e19ab0ce5251720fc4b211924 1 parent 59ca873
Alasdair Campbell authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  xbmc/filesystem/UPnPDirectory.cpp
2  xbmc/filesystem/UPnPDirectory.cpp
@@ -491,7 +491,7 @@ CUPnPDirectory::GetDirectory(const CStdString& strPath, CFileItemList &items)
491 491
                     pItem->SetProperty("unwatchedepisodes", episodes - played);
492 492
                     watched = (episodes && played == episodes);
493 493
                 }
494  
-                else if (type == "episode")
  494
+                else if (type == "episode" || type == "movie")
495 495
                     watched = played;
496 496
                 pItem->SetOverlayImage(CGUIListItem::ICON_OVERLAY_UNWATCHED, watched);
497 497
             }

0 notes on commit 0d43bcf

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