mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-09 04:04:54 +00:00
add new mirror mode
This commit is contained in:
parent
b6ca79b73f
commit
8df1ebe499
31 changed files with 446 additions and 370 deletions
|
|
@ -81,18 +81,6 @@ namespace MediaBrowser.Server.Implementations.Session
|
|||
}, cancellationToken);
|
||||
}
|
||||
|
||||
public Task SendBrowseCommand(BrowseRequest command, CancellationToken cancellationToken)
|
||||
{
|
||||
var socket = GetActiveSocket();
|
||||
|
||||
return socket.SendAsync(new WebSocketMessage<BrowseRequest>
|
||||
{
|
||||
MessageType = "Browse",
|
||||
Data = command
|
||||
|
||||
}, cancellationToken);
|
||||
}
|
||||
|
||||
public Task SendPlaystateCommand(PlaystateRequest command, CancellationToken cancellationToken)
|
||||
{
|
||||
var socket = GetActiveSocket();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue