diff options
| author | dkanada <dkanada@users.noreply.github.com> | 2020-10-11 18:32:22 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-11 18:32:22 +0900 |
| commit | 4fafa5796d046412674e1da48231046fd60ebaf4 (patch) | |
| tree | 74c76d3813058029385e9e336bec63f14717ffae /Jellyfin.Api/Controllers/TrailersController.cs | |
| parent | 6e585ccfb267c3f6ce7ac47f2564c011cd465b37 (diff) | |
| parent | ed4b470397c41ba1c86b2f4161874ef741e275c5 (diff) | |
Merge pull request #4304 from crobibero/query-location-type
Convert exclude location type string to enum.
Diffstat (limited to 'Jellyfin.Api/Controllers/TrailersController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/TrailersController.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/TrailersController.cs b/Jellyfin.Api/Controllers/TrailersController.cs index 08d9f78fc..dec449857 100644 --- a/Jellyfin.Api/Controllers/TrailersController.cs +++ b/Jellyfin.Api/Controllers/TrailersController.cs @@ -1,6 +1,7 @@ using System; using Jellyfin.Api.Constants; using MediaBrowser.Model.Dto; +using MediaBrowser.Model.Entities; using MediaBrowser.Model.Querying; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Http; @@ -124,7 +125,7 @@ namespace Jellyfin.Api.Controllers [FromQuery] bool? isHd, [FromQuery] bool? is4K, [FromQuery] string? locationTypes, - [FromQuery] string? excludeLocationTypes, + [FromQuery] LocationType[] excludeLocationTypes, [FromQuery] bool? isMissing, [FromQuery] bool? isUnaired, [FromQuery] double? minCommunityRating, |
