From 99de0ca45f101a1352cca5c37914966750ca7b5e Mon Sep 17 00:00:00 2001 From: Shadowghost Date: Sat, 18 May 2024 21:28:07 +0200 Subject: [PATCH] Directly use ParentId --- MediaBrowser.Controller/Providers/ItemInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MediaBrowser.Controller/Providers/ItemInfo.cs b/MediaBrowser.Controller/Providers/ItemInfo.cs index da96acc66..be3b25aee 100644 --- a/MediaBrowser.Controller/Providers/ItemInfo.cs +++ b/MediaBrowser.Controller/Providers/ItemInfo.cs @@ -11,7 +11,7 @@ namespace MediaBrowser.Controller.Providers public ItemInfo(BaseItem item) { Path = item.Path; - ParentId = item.GetParent().Id; + ParentId = item.ParentId; IndexNumber = item.IndexNumber; ContainingFolderPath = item.ContainingFolderPath; IsInMixedFolder = item.IsInMixedFolder;