Fix capitalization of Playstate message

This commit is contained in:
Bill Thornton 2021-01-05 10:06:55 -05:00
parent a4a261e940
commit cfca27e99a
3 changed files with 3 additions and 3 deletions

View File

@ -826,7 +826,7 @@ namespace Emby.Dlna.PlayTo
return SendPlayCommand(data as PlayRequest, cancellationToken); return SendPlayCommand(data as PlayRequest, cancellationToken);
} }
if (name == SessionMessageType.PlayState) if (name == SessionMessageType.Playstate)
{ {
return SendPlaystateCommand(data as PlaystateRequest, cancellationToken); return SendPlaystateCommand(data as PlaystateRequest, cancellationToken);
} }

View File

@ -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) private static void AssertCanControl(SessionInfo session, SessionInfo controllingSession)

View File

@ -15,7 +15,7 @@ namespace MediaBrowser.Model.Session
Play, Play,
SyncPlayCommand, SyncPlayCommand,
SyncPlayGroupUpdate, SyncPlayGroupUpdate,
PlayState, Playstate,
RestartRequired, RestartRequired,
ServerShuttingDown, ServerShuttingDown,
ServerRestarting, ServerRestarting,