mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-22 01:54:42 +01:00
Check that client is playing the right item
Send date when playback command is emitted Rename some classes
This commit is contained in:
@@ -148,7 +148,7 @@ namespace MediaBrowser.Controller.Session
|
||||
/// <param name="command">The command.</param>
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
/// <returns>Task.</returns>
|
||||
Task SendSyncplayCommand(string sessionId, SyncplayCommand command, CancellationToken cancellationToken);
|
||||
Task SendSyncplayCommand(string sessionId, SendCommand command, CancellationToken cancellationToken);
|
||||
|
||||
/// <summary>
|
||||
/// Sends the SyncplayGroupUpdate.
|
||||
@@ -157,7 +157,7 @@ namespace MediaBrowser.Controller.Session
|
||||
/// <param name="command">The group update.</param>
|
||||
/// <param name="cancellationToken">The cancellation token.</param>
|
||||
/// <returns>Task.</returns>
|
||||
Task SendSyncplayGroupUpdate<T>(string sessionId, SyncplayGroupUpdate<T> command, CancellationToken cancellationToken);
|
||||
Task SendSyncplayGroupUpdate<T>(string sessionId, GroupUpdate<T> command, CancellationToken cancellationToken);
|
||||
|
||||
/// <summary>
|
||||
/// Sends the browse command.
|
||||
|
||||
@@ -37,7 +37,8 @@ namespace MediaBrowser.Controller.Syncplay
|
||||
/// Adds the session to the group.
|
||||
/// </summary>
|
||||
/// <param name="session">The session.</param>
|
||||
void SessionJoin(SessionInfo session);
|
||||
/// <param name="request">The request.</param>
|
||||
void SessionJoin(SessionInfo session, JoinGroupRequest request);
|
||||
|
||||
/// <summary>
|
||||
/// Removes the session from the group.
|
||||
@@ -50,7 +51,7 @@ namespace MediaBrowser.Controller.Syncplay
|
||||
/// </summary>
|
||||
/// <param name="session">The session.</param>
|
||||
/// <param name="request">The requested action.</param>
|
||||
void HandleRequest(SessionInfo session, SyncplayRequestInfo request);
|
||||
void HandleRequest(SessionInfo session, PlaybackRequest request);
|
||||
|
||||
/// <summary>
|
||||
/// Gets the info about the group for the clients.
|
||||
|
||||
@@ -21,7 +21,8 @@ namespace MediaBrowser.Controller.Syncplay
|
||||
/// </summary>
|
||||
/// <param name="session">The session.</param>
|
||||
/// <param name="groupId">The group id.</param>
|
||||
void JoinGroup(SessionInfo session, string groupId);
|
||||
/// <param name="request">The request.</param>
|
||||
void JoinGroup(SessionInfo session, string groupId, JoinGroupRequest request);
|
||||
|
||||
/// <summary>
|
||||
/// Removes the session from a group.
|
||||
@@ -41,7 +42,7 @@ namespace MediaBrowser.Controller.Syncplay
|
||||
/// </summary>
|
||||
/// <param name="session">The session.</param>
|
||||
/// <param name="request">The request.</param>
|
||||
void HandleRequest(SessionInfo session, SyncplayRequestInfo request);
|
||||
void HandleRequest(SessionInfo session, PlaybackRequest request);
|
||||
|
||||
/// <summary>
|
||||
/// Maps a session to a group.
|
||||
|
||||
Reference in New Issue
Block a user