Browse Source

fix video getting marked unplayed when watching

Luke Pulverenti 8 years ago
parent
commit
eb65dd8126
1 changed files with 5 additions and 2 deletions
  1. 5 2
      MediaBrowser.Server.Implementations/Session/SessionManager.cs

+ 5 - 2
MediaBrowser.Server.Implementations/Session/SessionManager.cs

@@ -633,9 +633,12 @@ namespace MediaBrowser.Server.Implementations.Session
             data.PlayCount++;
             data.LastPlayedDate = DateTime.UtcNow;
 
-            if (!(item is Video) && item.SupportsPlayedStatus)
+            if (item.SupportsPlayedStatus)
             {
-                data.Played = true;
+                if (!(item is Video))
+                {
+                    data.Played = true;
+                }
             }
             else
             {