aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Session
diff options
context:
space:
mode:
authorMasood <MSalman5230@gmail.com>2025-12-10 18:50:20 +0530
committerMasood <MSalman5230@gmail.com>2025-12-10 18:50:20 +0530
commit113bd9af05864f300725ceb70123402cbf7a4ac7 (patch)
treef0b309dbc4d9dc6d791b2b3c368497a424236200 /Emby.Server.Implementations/Session
parentd757e12e1a47bcf59ce992a3db4dd321aa888ee8 (diff)
Remove redundant assignment in playback start logic
Diffstat (limited to 'Emby.Server.Implementations/Session')
-rw-r--r--Emby.Server.Implementations/Session/SessionManager.cs4
1 files changed, 0 insertions, 4 deletions
diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.cs
index 0a1a59f775..d6880d7864 100644
--- a/Emby.Server.Implementations/Session/SessionManager.cs
+++ b/Emby.Server.Implementations/Session/SessionManager.cs
@@ -822,10 +822,6 @@ namespace Emby.Server.Implementations.Session
{
data.Played = true;
}
- else if (!data.Played)
- {
- data.Played = false;
- }
_userDataManager.SaveUserData(user, item, data, UserDataSaveReason.PlaybackStart, CancellationToken.None);
}