mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-27 04:24:52 +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:
@@ -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