Convert ClientCapabilities to a Dto with JsonConverters

This commit is contained in:
crobibero
2020-11-21 11:37:22 -07:00
parent 05bd1383c1
commit c8c5feacb6
4 changed files with 96 additions and 6 deletions

View File

@@ -2,15 +2,16 @@
#pragma warning disable CS1591
using System;
using System.Collections.Generic;
using MediaBrowser.Model.Dlna;
namespace MediaBrowser.Model.Session
{
public class ClientCapabilities
{
public string[] PlayableMediaTypes { get; set; }
public IReadOnlyList<string> PlayableMediaTypes { get; set; }
public GeneralCommandType[] SupportedCommands { get; set; }
public IReadOnlyList<GeneralCommandType> SupportedCommands { get; set; }
public bool SupportsMediaControl { get; set; }