added tests

This commit is contained in:
Christopher Young
2025-10-08 12:27:46 -06:00
parent d6a1c8413c
commit 91b2b7fc3d
2 changed files with 87 additions and 1 deletions

View File

@@ -206,7 +206,8 @@ namespace Emby.Server.Implementations.SyncPlay
foreach (var itemId in queue)
{
var item = _libraryManager.GetItemById(itemId);
if (!item?.IsVisibleStandalone(user) ?? false)
if (!item?.IsVisibleStandalone(user) ?? true)
{
return false;
}