aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Session/ClientCapabilities.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2021-02-20 23:13:04 +0100
committerBond_009 <bond.009@outlook.com>2021-02-20 23:29:33 +0100
commit141efafd3dbbef3dc64824a89fd3fdc77da0b25e (patch)
tree7087b9d58c87a9feb347670cb9eb78957e35af02 /MediaBrowser.Model/Session/ClientCapabilities.cs
parent13d65318eb36f3fc423d8060e0092c8671579ed0 (diff)
Enable TreatWarningsAsErrors for MediaBrowser.Model
Diffstat (limited to 'MediaBrowser.Model/Session/ClientCapabilities.cs')
-rw-r--r--MediaBrowser.Model/Session/ClientCapabilities.cs14
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;
- }
}
}