always consider audio played

This commit is contained in:
Luke Pulverenti 2013-05-22 13:58:49 -04:00
parent 0cabe8808e
commit 8563d8adb2

View File

@ -220,6 +220,11 @@ namespace MediaBrowser.Server.Implementations.Session
data.PlayCount++;
data.LastPlayedDate = DateTime.UtcNow;
if (!(item is Video))
{
data.Played = true;
}
await _userDataRepository.SaveUserData(user.Id, key, data, CancellationToken.None).ConfigureAwait(false);
// Nothing to save here