mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-21 08:12:08 +00:00
Merge pull request #4557 from crobibero/client-dto-fix
Fix namespace and add attribute for ClientCapabilitiesDto
This commit is contained in:
commit
347d04efad
1 changed files with 2 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue