diff options
| author | Stan <stanislav.ionascu@gmail.com> | 2020-10-28 13:18:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-28 13:18:05 +0100 |
| commit | 3bb8884e164857af01909d0f414f55ecf2a4f1e0 (patch) | |
| tree | f03482a03d8523a17c36d74006bea35a8c7141d1 /Jellyfin.Api/Helpers/RequestHelpers.cs | |
| parent | cd4641dca02bae552cc7ea1942b0efbd4b791bcb (diff) | |
| parent | be2f27a0695e5f3102f79a2e246e971682cff603 (diff) | |
Merge branch 'master' into bdiso-playback
Diffstat (limited to 'Jellyfin.Api/Helpers/RequestHelpers.cs')
| -rw-r--r-- | Jellyfin.Api/Helpers/RequestHelpers.cs | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Jellyfin.Api/Helpers/RequestHelpers.cs b/Jellyfin.Api/Helpers/RequestHelpers.cs index 8dcf08af5..fb5c283f5 100644 --- a/Jellyfin.Api/Helpers/RequestHelpers.cs +++ b/Jellyfin.Api/Helpers/RequestHelpers.cs @@ -57,18 +57,6 @@ namespace Jellyfin.Api.Helpers } /// <summary> - /// Get parsed filters. - /// </summary> - /// <param name="filters">The filters.</param> - /// <returns>Item filters.</returns> - public static IEnumerable<ItemFilter> GetFilters(string? filters) - { - return string.IsNullOrEmpty(filters) - ? Array.Empty<ItemFilter>() - : filters.Split(',').Select(v => Enum.Parse<ItemFilter>(v, true)); - } - - /// <summary> /// Splits a string at a separating character into an array of substrings. /// </summary> /// <param name="value">The string to split.</param> |
