mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-01 07:51:54 +01: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