mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-04 13:22:52 +01:00
Added ParentId to ApiBaseItem
This commit is contained in:
parent
d6a0e8dbc5
commit
8edc1ce710
@@ -30,7 +30,8 @@ namespace MediaBrowser.Api
|
||||
Item = item,
|
||||
UserItemData = Kernel.Instance.GetUserItemData(userId, item.Id),
|
||||
Type = item.GetType().Name,
|
||||
IsFolder = (item is Folder)
|
||||
IsFolder = (item is Folder),
|
||||
ParentId = item.Parent == null ? Guid.Empty : item.Parent.Id
|
||||
};
|
||||
|
||||
if (includeChildren)
|
||||
|
||||
Reference in New Issue
Block a user