From 3bff1ff8a2e7e3e2fad69c9242165f1ae9d9fd50 Mon Sep 17 00:00:00 2001 From: crobibero Date: Sun, 22 Nov 2020 18:46:55 -0700 Subject: [PATCH] Fix namespace and add attribute --- Jellyfin.Api/Models/SessionDtos/ClientCapabilitiesDto.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jellyfin.Api/Models/SessionDtos/ClientCapabilitiesDto.cs b/Jellyfin.Api/Models/SessionDtos/ClientCapabilitiesDto.cs index ac1259ef29..e58095536a 100644 --- a/Jellyfin.Api/Models/SessionDtos/ClientCapabilitiesDto.cs +++ b/Jellyfin.Api/Models/SessionDtos/ClientCapabilitiesDto.cs @@ -1,9 +1,9 @@ using System; using System.Collections.Generic; +using System.Text.Json.Serialization; using MediaBrowser.Common.Json.Converters; using MediaBrowser.Model.Dlna; using MediaBrowser.Model.Session; -using Newtonsoft.Json; namespace Jellyfin.Api.Models.SessionDtos { @@ -15,6 +15,7 @@ namespace Jellyfin.Api.Models.SessionDtos /// /// Gets or sets the list of playable media types. /// + [JsonConverter(typeof(JsonCommaDelimitedArrayConverterFactory))] public IReadOnlyList PlayableMediaTypes { get; set; } = Array.Empty(); ///