mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 23:13:06 +03:00
always consider audio played
This commit is contained in:
@@ -220,6 +220,11 @@ namespace MediaBrowser.Server.Implementations.Session
|
|||||||
data.PlayCount++;
|
data.PlayCount++;
|
||||||
data.LastPlayedDate = DateTime.UtcNow;
|
data.LastPlayedDate = DateTime.UtcNow;
|
||||||
|
|
||||||
|
if (!(item is Video))
|
||||||
|
{
|
||||||
|
data.Played = true;
|
||||||
|
}
|
||||||
|
|
||||||
await _userDataRepository.SaveUserData(user.Id, key, data, CancellationToken.None).ConfigureAwait(false);
|
await _userDataRepository.SaveUserData(user.Id, key, data, CancellationToken.None).ConfigureAwait(false);
|
||||||
|
|
||||||
// Nothing to save here
|
// Nothing to save here
|
||||||
|
|||||||
Reference in New Issue
Block a user