Merge pull request #2239 from MediaBrowser/dev

Dev
This commit is contained in:
Luke 2016-10-16 20:07:27 -04:00 committed by GitHub
commit 0b70512cdc

View File

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