mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-25 10:07:15 +01:00
added more remote control commands
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user