aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/SyncPlay/GroupStates/WaitingGroupState.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2026-05-21 21:33:31 +0200
committerGitHub <noreply@github.com>2026-05-21 21:33:31 +0200
commite2fe5c163ae7ca12e862df70fb8d6caa14e86ef2 (patch)
treebc3e3ba05ddf069a6a103a81e1e70d5ee8cf392c /MediaBrowser.Controller/SyncPlay/GroupStates/WaitingGroupState.cs
parentbc8a66a35174acad9aca983d5fd311f5070b83a3 (diff)
parent0ef4f86ed7bdfde86046fb8ac694892e8206447e (diff)
Merge pull request #15250 from jakobkukla/ci-format
Add CI format check
Diffstat (limited to 'MediaBrowser.Controller/SyncPlay/GroupStates/WaitingGroupState.cs')
-rw-r--r--MediaBrowser.Controller/SyncPlay/GroupStates/WaitingGroupState.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/SyncPlay/GroupStates/WaitingGroupState.cs b/MediaBrowser.Controller/SyncPlay/GroupStates/WaitingGroupState.cs
index 132765b719..eb38eeb503 100644
--- a/MediaBrowser.Controller/SyncPlay/GroupStates/WaitingGroupState.cs
+++ b/MediaBrowser.Controller/SyncPlay/GroupStates/WaitingGroupState.cs
@@ -141,7 +141,8 @@ namespace MediaBrowser.Controller.SyncPlay.GroupStates
_logger.LogError("Unable to set playing queue in group {GroupId}.", context.GroupId.ToString());
// Ignore request and return to previous state.
- IGroupState newState = prevState switch {
+ IGroupState newState = prevState switch
+ {
GroupStateType.Playing => new PlayingGroupState(LoggerFactory),
GroupStateType.Paused => new PausedGroupState(LoggerFactory),
_ => new IdleGroupState(LoggerFactory)