aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2026-06-18 17:46:33 +0200
committerGitHub <noreply@github.com>2026-06-18 17:46:33 +0200
commit308981cc0d33e679b13eced4b3a86ee04af6b194 (patch)
treec91be3fd7e97b36fa2cec7e60875f69c354f0345 /Emby.Server.Implementations
parentbebb7ce80383176d0fed4e7f0788df67a0dccc96 (diff)
parent88602ce90530e89668c55df69b70b4f14bdc9e8b (diff)
Merge pull request #14935 from JadedRain/master
Fixed "Deleting media that is still being watched in SyncPlay results in errors"
Diffstat (limited to 'Emby.Server.Implementations')
-rw-r--r--Emby.Server.Implementations/SyncPlay/Group.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/SyncPlay/Group.cs b/Emby.Server.Implementations/SyncPlay/Group.cs
index c2e834ad58..38a0018a70 100644
--- a/Emby.Server.Implementations/SyncPlay/Group.cs
+++ b/Emby.Server.Implementations/SyncPlay/Group.cs
@@ -206,7 +206,8 @@ namespace Emby.Server.Implementations.SyncPlay
foreach (var itemId in queue)
{
var item = _libraryManager.GetItemById(itemId);
- if (!item.IsVisibleStandalone(user))
+
+ if (item is null || !item.IsVisibleStandalone(user))
{
return false;
}