Skip to content

Commit

Permalink
fix airplay playback
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt committed Mar 16, 2024
1 parent 9e2614b commit d11c47d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion music_assistant/server/providers/airplay/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ async def play_media(
)
airplay_player.active_stream = AirplayStreamJob(self, airplay_player)
tg.create_task(airplay_player.active_stream.start(start_ntp, audio_iterator))
if queue_item.queue_item_id != "flow":
if stream_job and queue_item.queue_item_id != "flow":
stream_job.start()

async def cmd_volume_set(self, player_id: str, volume_level: int) -> None:
Expand Down

0 comments on commit d11c47d

Please sign in to comment.