Fix regression where real disk based items could not be searched
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2024-12-25 01:13:49 +01:00
parent 70c1e3627d
commit 3508543ba7

View File

@@ -322,6 +322,7 @@ sealed class CinemaLibraryManager : ILibraryManager
else
{
// Add our root folders to the search
resultL.AddRange(result.Items);
foreach (BaseItem i in GetUserRootFolder().Children)
// Prevent duplicates as content in Anime is also elsewhere
if (i is CinemaRootFolder root && i is not CinemaAnimeFolder)