aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/SyncPlay/GroupMember.cs
diff options
context:
space:
mode:
authorIonut Andrei Oanca <oancaionutandrei@gmail.com>2020-11-16 17:40:19 +0100
committerIonut Andrei Oanca <oancaionutandrei@gmail.com>2020-11-16 20:05:57 +0100
commita3ca36cb54a3e6e743fbcf90f19f0d76ba71aebc (patch)
tree1f3baf2c73c32401160d565cfce43a0d1c3cfb3c /MediaBrowser.Controller/SyncPlay/GroupMember.cs
parentc7e53bce2fa43ad38807a0589e1bc020237e49c6 (diff)
Review logging and minor changes in SyncPlay
Diffstat (limited to 'MediaBrowser.Controller/SyncPlay/GroupMember.cs')
-rw-r--r--MediaBrowser.Controller/SyncPlay/GroupMember.cs13
1 files changed, 11 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/SyncPlay/GroupMember.cs b/MediaBrowser.Controller/SyncPlay/GroupMember.cs
index 9a9d30277..5fb982e85 100644
--- a/MediaBrowser.Controller/SyncPlay/GroupMember.cs
+++ b/MediaBrowser.Controller/SyncPlay/GroupMember.cs
@@ -8,10 +8,19 @@ namespace MediaBrowser.Controller.SyncPlay
public class GroupMember
{
/// <summary>
- /// Gets or sets the session.
+ /// Initializes a new instance of the <see cref="GroupMember"/> class.
+ /// </summary>
+ /// <param name="session">The session.</param>
+ public GroupMember(SessionInfo session)
+ {
+ Session = session;
+ }
+
+ /// <summary>
+ /// Gets the session.
/// </summary>
/// <value>The session.</value>
- public SessionInfo Session { get; set; }
+ public SessionInfo Session { get; }
/// <summary>
/// Gets or sets the ping, in milliseconds.