The Free Software Media System - Server Backend & API
Fix capitalization of Playstate message
Bill Thorntoncfca27e99a40
diff --git a/Emby.Dlna/PlayTo/PlayToController.cs b/Emby.Dlna/PlayTo/PlayToController.csindex 4861093044..311fae2400 100644--- a/Emby.Dlna/PlayTo/PlayToController.cs+++ b/Emby.Dlna/PlayTo/PlayToController.cs@@ -826,7 +826,7 @@ namespace Emby.Dlna.PlayToreturn SendPlayCommand(data as PlayRequest, cancellationToken);}- if (name == SessionMessageType.PlayState)+ if (name == SessionMessageType.Playstate){return SendPlaystateCommand(data as PlaystateRequest, cancellationToken);}diff --git a/Emby.Server.Implementations/Session/SessionManager.cs b/Emby.Server.Implementations/Session/SessionManager.csindex 885f65c64e..4e026a0e6a 100644--- a/Emby.Server.Implementations/Session/SessionManager.cs+++ b/Emby.Server.Implementations/Session/SessionManager.cs@@ -1310,7 +1310,7 @@ namespace Emby.Server.Implementations.Session}}- return SendMessageToSession(session, SessionMessageType.PlayState, command, cancellationToken);+ return SendMessageToSession(session, SessionMessageType.Playstate, command, cancellationToken);}private static void AssertCanControl(SessionInfo session, SessionInfo controllingSession)diff --git a/MediaBrowser.Model/Session/SessionMessageType.cs b/MediaBrowser.Model/Session/SessionMessageType.csindex 23c41026dc..84f4716b4d 100644--- a/MediaBrowser.Model/Session/SessionMessageType.cs+++ b/MediaBrowser.Model/Session/SessionMessageType.cs@@ -15,7 +15,7 @@ namespace MediaBrowser.Model.SessionPlay,SyncPlayCommand,SyncPlayGroupUpdate,- PlayState,+ Playstate,RestartRequired,ServerShuttingDown,ServerRestarting,