diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-02-20 23:13:04 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2021-02-20 23:29:33 +0100 |
| commit | 141efafd3dbbef3dc64824a89fd3fdc77da0b25e (patch) | |
| tree | 7087b9d58c87a9feb347670cb9eb78957e35af02 /MediaBrowser.Model/Session/ClientCapabilities.cs | |
| parent | 13d65318eb36f3fc423d8060e0092c8671579ed0 (diff) | |
Enable TreatWarningsAsErrors for MediaBrowser.Model
Diffstat (limited to 'MediaBrowser.Model/Session/ClientCapabilities.cs')
| -rw-r--r-- | MediaBrowser.Model/Session/ClientCapabilities.cs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/MediaBrowser.Model/Session/ClientCapabilities.cs b/MediaBrowser.Model/Session/ClientCapabilities.cs index 5852f4e37..d692906c6 100644 --- a/MediaBrowser.Model/Session/ClientCapabilities.cs +++ b/MediaBrowser.Model/Session/ClientCapabilities.cs @@ -9,6 +9,13 @@ namespace MediaBrowser.Model.Session { public class ClientCapabilities { + public ClientCapabilities() + { + PlayableMediaTypes = Array.Empty<string>(); + SupportedCommands = Array.Empty<GeneralCommandType>(); + SupportsPersistentIdentifier = true; + } + public IReadOnlyList<string> PlayableMediaTypes { get; set; } public IReadOnlyList<GeneralCommandType> SupportedCommands { get; set; } @@ -28,12 +35,5 @@ namespace MediaBrowser.Model.Session public string AppStoreUrl { get; set; } public string IconUrl { get; set; } - - public ClientCapabilities() - { - PlayableMediaTypes = Array.Empty<string>(); - SupportedCommands = Array.Empty<GeneralCommandType>(); - SupportsPersistentIdentifier = true; - } } } |
