From ba356638e8e2d376e35a8e8774129662c9584865 Mon Sep 17 00:00:00 2001 From: Shadowghost Date: Sun, 15 Feb 2026 23:13:01 +0100 Subject: Fix Extra refresh --- Emby.Server.Implementations/Library/LibraryManager.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Emby.Server.Implementations/Library/LibraryManager.cs') diff --git a/Emby.Server.Implementations/Library/LibraryManager.cs b/Emby.Server.Implementations/Library/LibraryManager.cs index 7517dc03ba..9a5bd41914 100644 --- a/Emby.Server.Implementations/Library/LibraryManager.cs +++ b/Emby.Server.Implementations/Library/LibraryManager.cs @@ -3134,13 +3134,12 @@ namespace Emby.Server.Implementations.Library extra.ExtraType = extraType; } - // Only set OwnerId if this is actually an extra (not Unknown or null) + // Only return items that are actual extras (have ExtraType set) + // Note: OwnerId and ParentId are set by RefreshExtras, not here, + // so that RefreshExtras can detect when they need updating and set ForceSave. if (extra.ExtraType is not null) { - extra.ParentId = Guid.Empty; - extra.OwnerId = owner.Id; extra.IsInMixedFolder = isInMixedFolder; - return extra; } -- cgit v1.2.3