mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
Fallback only to the current time when marking item as watched
This commit is contained in:
parent
bf129ab9b8
commit
9fe7751d05
1 changed files with 1 additions and 1 deletions
|
@ -1863,7 +1863,7 @@ namespace MediaBrowser.Controller.Entities
|
|||
data.PlaybackPositionTicks = 0;
|
||||
}
|
||||
|
||||
data.LastPlayedDate = datePlayed ?? data.LastPlayedDate ?? DateTime.UtcNow;
|
||||
data.LastPlayedDate = datePlayed ?? DateTime.UtcNow;
|
||||
data.Played = true;
|
||||
|
||||
UserDataManager.SaveUserData(user.Id, this, data, UserDataSaveReason.TogglePlayed, CancellationToken.None);
|
||||
|
|
Loading…
Reference in a new issue