aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/Roku/RokuSessionController.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-03-31 17:04:22 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-03-31 17:04:22 -0400
commitbb5386bb3a8b71406728f8bd2249cf6e02a34ed2 (patch)
tree7fddf86baf42e93c7544053b30e215aaec8ac1c2 /MediaBrowser.Server.Implementations/Roku/RokuSessionController.cs
parentc0801e4f6de87f6a14409b7f399cfd52b3ce88e8 (diff)
added more remote control commands
Diffstat (limited to 'MediaBrowser.Server.Implementations/Roku/RokuSessionController.cs')
-rw-r--r--MediaBrowser.Server.Implementations/Roku/RokuSessionController.cs14
1 files changed, 2 insertions, 12 deletions
diff --git a/MediaBrowser.Server.Implementations/Roku/RokuSessionController.cs b/MediaBrowser.Server.Implementations/Roku/RokuSessionController.cs
index 7c8d71b4f..608e92b24 100644
--- a/MediaBrowser.Server.Implementations/Roku/RokuSessionController.cs
+++ b/MediaBrowser.Server.Implementations/Roku/RokuSessionController.cs
@@ -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