aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Session/SessionManager.cs
diff options
context:
space:
mode:
authorSid K <58383260+Skaytacium@users.noreply.github.com>2025-06-10 01:33:28 +0200
committerGitHub <noreply@github.com>2025-06-09 17:33:28 -0600
commit1e8bf1ce8d33e052606214b1db3cb90ab824e08c (patch)
tree4b09ad959c2c0d9b71eb4aea7752ce7e19d64d2c /Emby.Server.Implementations/Session/SessionManager.cs
parentd4c3d24e52359bc24e0dbcac29429da8411969b7 (diff)
fix(Session): don't query DB if queue hasn't changed (#14244)
Diffstat (limited to 'Emby.Server.Implementations/Session/SessionManager.cs')
-rw-r--r--Emby.Server.Implementations/Session/SessionManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.cs
index 8cbd957a8..ad91cd642 100644
--- a/Emby.Server.Implementations/Session/SessionManager.cs
+++ b/Emby.Server.Implementations/Session/SessionManager.cs
@@ -456,7 +456,7 @@ namespace Emby.Server.Implementations.Session
var nowPlayingQueue = info.NowPlayingQueue;
- if (nowPlayingQueue?.Length > 0)
+ if (nowPlayingQueue?.Length > 0 && !nowPlayingQueue.SequenceEqual(session.NowPlayingQueue))
{
session.NowPlayingQueue = nowPlayingQueue;