aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/TrailersController.cs
diff options
context:
space:
mode:
authordkanada <dkanada@users.noreply.github.com>2020-10-11 18:32:22 +0900
committerGitHub <noreply@github.com>2020-10-11 18:32:22 +0900
commit4fafa5796d046412674e1da48231046fd60ebaf4 (patch)
tree74c76d3813058029385e9e336bec63f14717ffae /Jellyfin.Api/Controllers/TrailersController.cs
parent6e585ccfb267c3f6ce7ac47f2564c011cd465b37 (diff)
parented4b470397c41ba1c86b2f4161874ef741e275c5 (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.cs3
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,