fix video getting marked unplayed when watching

This commit is contained in:
Luke Pulverenti 2016-10-16 20:00:13 -04:00
parent 55f47d2120
commit eb65dd8126

View File

@ -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
{