mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-23 18:50:26 +00:00
Directly use ParentId
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user