aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller
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.Controller
parentd11adeb85ee82c3699f5a3a2e4f660623a19df78 (diff)
parentec0ff5d02fa53ca5b902d0bd5b477199170f3d28 (diff)
Merge pull request #4252 from skyfrk/4214-supported-commands-enum
Convert supportedCommands strings to enums
Diffstat (limited to 'MediaBrowser.Controller')
-rw-r--r--MediaBrowser.Controller/Session/SessionInfo.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/Session/SessionInfo.cs b/MediaBrowser.Controller/Session/SessionInfo.cs
index 55e44c19db..ce58a60b9a 100644
--- a/MediaBrowser.Controller/Session/SessionInfo.cs
+++ b/MediaBrowser.Controller/Session/SessionInfo.cs
@@ -230,8 +230,8 @@ namespace MediaBrowser.Controller.Session
/// Gets or sets the supported commands.
/// </summary>
/// <value>The supported commands.</value>
- public string[] SupportedCommands
- => Capabilities == null ? Array.Empty<string>() : Capabilities.SupportedCommands;
+ public GeneralCommandType[] SupportedCommands
+ => Capabilities == null ? Array.Empty<GeneralCommandType>() : Capabilities.SupportedCommands;
public Tuple<ISessionController, bool> EnsureController<T>(Func<SessionInfo, ISessionController> factory)
{