소스 검색

fix video getting marked unplayed when watching

Luke Pulverenti 8 년 전
부모
커밋
eb65dd8126
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  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
             {