diff options
| author | Anthony Lavado <anthony@lavado.ca> | 2020-09-23 09:57:45 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-23 09:57:45 -0400 |
| commit | af24c4311869ec3571c37b18eba7f593d77badee (patch) | |
| tree | 8a6981169e0aa5d9ee7b16c221dc689f5f5fc4d2 /Emby.Server.Implementations/Session/SessionManager.cs | |
| parent | 9bcd81a5dd14e1dc5b14a87520f54dd4205123d0 (diff) | |
| parent | 891c538f818be7a339fcdfacaf34adb4a329d514 (diff) | |
Merge pull request #4192 from nielsvanvelzen/generalcommand-sucks
Use GeneralCommandType enum in GeneralCommand
Diffstat (limited to 'Emby.Server.Implementations/Session/SessionManager.cs')
| -rw-r--r-- | Emby.Server.Implementations/Session/SessionManager.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.cs index ca8e0e29b..e42d47853 100644 --- a/Emby.Server.Implementations/Session/SessionManager.cs +++ b/Emby.Server.Implementations/Session/SessionManager.cs @@ -1037,7 +1037,7 @@ namespace Emby.Server.Implementations.Session var generalCommand = new GeneralCommand { - Name = GeneralCommandType.DisplayMessage.ToString() + Name = GeneralCommandType.DisplayMessage }; generalCommand.Arguments["Header"] = command.Header; @@ -1268,7 +1268,7 @@ namespace Emby.Server.Implementations.Session { var generalCommand = new GeneralCommand { - Name = GeneralCommandType.DisplayContent.ToString(), + Name = GeneralCommandType.DisplayContent, Arguments = { ["ItemId"] = command.ItemId, |
