diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2020-11-11 10:47:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-11 10:47:18 +0100 |
| commit | a7b3880d0e0cff58bb28a668e4552398c08e7849 (patch) | |
| tree | eecba5e24e0bcce512511c6f8331e20d82a7794c /Jellyfin.Api/Controllers/LibraryController.cs | |
| parent | b99519898d2c9e8ba3020e11892718f1eca37c66 (diff) | |
| parent | 0c45faf100d226a00c07e785aa55e22ec55bda9c (diff) | |
Merge branch 'master' into fix_and_mildly_improve_similar
Diffstat (limited to 'Jellyfin.Api/Controllers/LibraryController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/LibraryController.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Jellyfin.Api/Controllers/LibraryController.cs b/Jellyfin.Api/Controllers/LibraryController.cs index 112415ef0..99fbfb402 100644 --- a/Jellyfin.Api/Controllers/LibraryController.cs +++ b/Jellyfin.Api/Controllers/LibraryController.cs @@ -12,6 +12,7 @@ using Jellyfin.Api.Attributes; using Jellyfin.Api.Constants; using Jellyfin.Api.Extensions; using Jellyfin.Api.Helpers; +using Jellyfin.Api.ModelBinders; using Jellyfin.Api.Models.LibraryDtos; using Jellyfin.Data.Entities; using MediaBrowser.Common.Progress; @@ -693,7 +694,7 @@ namespace Jellyfin.Api.Controllers [FromQuery] string? excludeArtistIds, [FromQuery] Guid? userId, [FromQuery] int? limit, - [FromQuery] string? fields) + [FromQuery, ModelBinder(typeof(CommaDelimitedArrayModelBinder))] ItemFields[] fields) { var item = itemId.Equals(Guid.Empty) ? (!userId.Equals(Guid.Empty) |
