aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-11-22 18:46:55 -0700
committercrobibero <cody@robibe.ro>2020-11-22 18:46:55 -0700
commit3bff1ff8a2e7e3e2fad69c9242165f1ae9d9fd50 (patch)
treecc83c73312469023f06c1451d13e8b8e0222b1b2
parent3442dbbaf96f98f3106afba3d98be169ff63fd97 (diff)
Fix namespace and add attribute
-rw-r--r--Jellyfin.Api/Models/SessionDtos/ClientCapabilitiesDto.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Jellyfin.Api/Models/SessionDtos/ClientCapabilitiesDto.cs b/Jellyfin.Api/Models/SessionDtos/ClientCapabilitiesDto.cs
index ac1259ef2..e58095536 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
/// <summary>
/// Gets or sets the list of playable media types.
/// </summary>
+ [JsonConverter(typeof(JsonCommaDelimitedArrayConverterFactory))]
public IReadOnlyList<string> PlayableMediaTypes { get; set; } = Array.Empty<string>();
/// <summary>