mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 15:03:06 +03:00
always consider audio played
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user