Skip to content

Commit

Permalink
fix small typo
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt committed Dec 31, 2023
1 parent 7ee59f8 commit e9502ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions music_assistant/server/controllers/players.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,8 +568,8 @@ async def cmd_sync(self, player_id: str, target_player: str) -> None:
return
# player already synced, unsync first
await self.cmd_unsync(child_player.player_id)
# stop child player if it is currently playing
if child_player.state == PlayerState.PLAYING:
elif child_player.state == PlayerState.PLAYING:
# stop child player if it is currently playing
await self.cmd_stop(player_id)
# all checks passed, forward command to the player provider
player_provider = self.get_player_provider(player_id)
Expand Down

0 comments on commit e9502ff

Please sign in to comment.