added more remote control commands

This commit is contained in:
Luke Pulverenti
2014-03-31 17:04:22 -04:00
parent c0801e4f6d
commit bb5386bb3a
43 changed files with 816 additions and 149 deletions

View File

@@ -41,16 +41,6 @@ namespace MediaBrowser.Server.Implementations.Roku
}
}
public Task SendSystemCommand(SystemCommand command, CancellationToken cancellationToken)
{
return SendCommand(new WebSocketMessage<string>
{
MessageType = "SystemCommand",
Data = command.ToString()
}, cancellationToken);
}
public Task SendMessageCommand(MessageCommand command, CancellationToken cancellationToken)
{
return SendCommand(new WebSocketMessage<MessageCommand>
@@ -148,9 +138,9 @@ namespace MediaBrowser.Server.Implementations.Roku
}
public Task SendGenericCommand(GenericCommand command, CancellationToken cancellationToken)
public Task SendGeneralCommand(GeneralCommand command, CancellationToken cancellationToken)
{
return SendCommand(new WebSocketMessage<GenericCommand>
return SendCommand(new WebSocketMessage<GeneralCommand>
{
MessageType = "Command",
Data = command