Directly use ParentId

This commit is contained in:
Shadowghost 2024-05-18 21:28:07 +02:00
parent c106b399d7
commit 99de0ca45f

View File

@ -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;