Skip to content

Commit ffad7ca

Browse files
committed
conforming with appliction code
1 parent 3818dfd commit ffad7ca

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/ByteDev.Sonos.Console/SonosOperations.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,7 @@ public void StopForever()
9191

9292
public void SetPlayMode(string value)
9393
{
94-
PlayMode mode = new PlayMode(value);
95-
96-
_sonosController.SetPlayModeAsync(mode).Wait();
94+
_sonosController.SetPlayModeAsync(new PlayMode(value)).Wait();
9795
}
9896

9997
private SonosController CreateSonosController(string ipAddress)

0 commit comments

Comments
 (0)