aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Helpers
diff options
context:
space:
mode:
authorClaus Vium <cvium@users.noreply.github.com>2021-12-15 08:28:44 +0100
committerGitHub <noreply@github.com>2021-12-15 08:28:44 +0100
commit4c9bd905c6ecbcf77ab644d3d936d17b1bb8e967 (patch)
treea2a2d1e7a6c591eee190342a172a8b9d7d51a802 /Jellyfin.Api/Helpers
parentec9cff29dfa0c0b08f4181b753eadab34cb05e3c (diff)
parent87439665d782a7a0f24d4015d53d584e66e40c2f (diff)
Merge pull request #6979 from crobibero/baseitemkind
Use BaseItemKind where possible
Diffstat (limited to 'Jellyfin.Api/Helpers')
-rw-r--r--Jellyfin.Api/Helpers/RequestHelpers.cs16
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;
- }
}
}