diff options
| author | Niels van Velzen <git@ndat.nl> | 2020-09-21 16:53:00 +0200 |
|---|---|---|
| committer | Niels van Velzen <git@ndat.nl> | 2020-09-21 16:56:22 +0200 |
| commit | 3459655bb401595f62c21513964876b2f4549fed (patch) | |
| tree | a989229e9119c2c7e009cca8a69321119788404d /Emby.Server.Implementations/Session/SessionManager.cs | |
| parent | 7da03d67a74f37734bf26e1b3dbe5a8672c328f9 (diff) | |
Use GeneralCommandType enum in GeneralCommand name
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, |
