aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Session/ClientCapabilities.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2020-10-04 22:40:14 +0200
committerGitHub <noreply@github.com>2020-10-04 22:40:14 +0200
commit07be0661802106bf9c003d75b76f5977497e8094 (patch)
tree777ce1983a56064b0df088d3d4ad4054c49e4b5a /MediaBrowser.Model/Session/ClientCapabilities.cs
parentd11adeb85ee82c3699f5a3a2e4f660623a19df78 (diff)
parentec0ff5d02fa53ca5b902d0bd5b477199170f3d28 (diff)
Merge pull request #4252 from skyfrk/4214-supported-commands-enum
Convert supportedCommands strings to enums
Diffstat (limited to 'MediaBrowser.Model/Session/ClientCapabilities.cs')
-rw-r--r--MediaBrowser.Model/Session/ClientCapabilities.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Model/Session/ClientCapabilities.cs b/MediaBrowser.Model/Session/ClientCapabilities.cs
index d3878ca30..a85e6ff2a 100644
--- a/MediaBrowser.Model/Session/ClientCapabilities.cs
+++ b/MediaBrowser.Model/Session/ClientCapabilities.cs
@@ -10,7 +10,7 @@ namespace MediaBrowser.Model.Session
{
public string[] PlayableMediaTypes { get; set; }
- public string[] SupportedCommands { get; set; }
+ public GeneralCommandType[] SupportedCommands { get; set; }
public bool SupportsMediaControl { get; set; }
@@ -31,7 +31,7 @@ namespace MediaBrowser.Model.Session
public ClientCapabilities()
{
PlayableMediaTypes = Array.Empty<string>();
- SupportedCommands = Array.Empty<string>();
+ SupportedCommands = Array.Empty<GeneralCommandType>();
SupportsPersistentIdentifier = true;
}
}