Directly use ParentId
This commit is contained in:
parent
c106b399d7
commit
99de0ca45f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user