mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-17 15:46:22 +00:00
Create BaseItemKind enum
This commit is contained in:
@@ -1998,6 +1998,11 @@ namespace MediaBrowser.Controller.Entities
|
||||
return GetType().Name;
|
||||
}
|
||||
|
||||
public BaseItemKind GetBaseItemKind()
|
||||
{
|
||||
return Enum.Parse<BaseItemKind>(GetClientTypeName());
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the linked child.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user