Update Emby.Server.Implementations/SyncPlay/GroupController.cs

This commit is contained in:
BaronGreenback
2020-10-22 13:28:09 +01:00
committed by GitHub
parent 36fee4e60a
commit 1b8adf0f7c

View File

@@ -174,8 +174,10 @@ namespace Emby.Server.Implementations.SyncPlay
case SyncPlayBroadcastType.CurrentSession:
return new SessionInfo[] { from };
case SyncPlayBroadcastType.AllGroup:
return Participants.Values.Select(
session => session.Session).ToArray();
return Participants
.Values
.Select(session => session.Session)
.ToArray();
case SyncPlayBroadcastType.AllExceptCurrentSession:
return Participants.Values.Select(
session => session.Session).Where(