always consider audio played
This commit is contained in:
parent
0cabe8808e
commit
8563d8adb2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user