diff options
| author | Cody Robibero <cody@robibe.ro> | 2021-12-11 19:31:30 -0700 |
|---|---|---|
| committer | Cody Robibero <cody@robibe.ro> | 2021-12-12 06:11:27 -0700 |
| commit | 32629cd7da0a39962009bffd9389a660c196f541 (patch) | |
| tree | baf7eb3aa25a9753848e73667ef71f97b9538b7b /Jellyfin.Api/Helpers/RequestHelpers.cs | |
| parent | a90614d194314f8a4d6f097637836610ce8b6bbe (diff) | |
Use BaseItemKind where possible
Diffstat (limited to 'Jellyfin.Api/Helpers/RequestHelpers.cs')
| -rw-r--r-- | Jellyfin.Api/Helpers/RequestHelpers.cs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/Jellyfin.Api/Helpers/RequestHelpers.cs b/Jellyfin.Api/Helpers/RequestHelpers.cs index 0efd3443b..ca8bc0bdd 100644 --- a/Jellyfin.Api/Helpers/RequestHelpers.cs +++ b/Jellyfin.Api/Helpers/RequestHelpers.cs @@ -137,21 +137,5 @@ namespace Jellyfin.Api.Helpers TotalRecordCount = result.TotalRecordCount }; } - - internal static string[] GetItemTypeStrings(IReadOnlyList<BaseItemKind> itemKinds) - { - if (itemKinds.Count == 0) - { - return Array.Empty<string>(); - } - - var itemTypes = new string[itemKinds.Count]; - for (var i = 0; i < itemKinds.Count; i++) - { - itemTypes[i] = itemKinds[i].ToString(); - } - - return itemTypes; - } } } |
