mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-23 09:14:45 +03:00
Patch data-races and minor changes in SyncPlay
This commit is contained in:
@@ -6,15 +6,26 @@ namespace MediaBrowser.Model.SyncPlay
|
||||
public class GroupStateUpdate
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the state of the group.
|
||||
/// Initializes a new instance of the <see cref="GroupStateUpdate"/> class.
|
||||
/// </summary>
|
||||
/// <value>The state of the group.</value>
|
||||
public GroupStateType State { get; set; }
|
||||
/// <param name="state">The state of the group.</param>
|
||||
/// <param name="reason">The reason of the state change.</param>
|
||||
public GroupStateUpdate(GroupStateType state, PlaybackRequestType reason)
|
||||
{
|
||||
State = state;
|
||||
Reason = reason;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the reason of the state change.
|
||||
/// Gets the state of the group.
|
||||
/// </summary>
|
||||
/// <value>The state of the group.</value>
|
||||
public GroupStateType State { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the reason of the state change.
|
||||
/// </summary>
|
||||
/// <value>The reason of the state change.</value>
|
||||
public PlaybackRequestType Reason { get; set; }
|
||||
public PlaybackRequestType Reason { get; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user