From 792fbb517db6a1085cce228bc969971acb6f667c Mon Sep 17 00:00:00 2001 From: Maxim Raznatovski Date: Thu, 14 Aug 2025 00:49:28 +0200 Subject: [PATCH] Fix playback with the Web Player for iOS devices (#2319) --- music_assistant/providers/builtin_player/player.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/music_assistant/providers/builtin_player/player.py b/music_assistant/providers/builtin_player/player.py index ca744bee..1082f179 100644 --- a/music_assistant/providers/builtin_player/player.py +++ b/music_assistant/providers/builtin_player/player.py @@ -247,14 +247,8 @@ class BuiltinPlayer(Player): # Check for a client probe request (from an iPhone/iPad) if (range_header := request.headers.get("Range")) and range_header == "bytes=0-1": self.logger.debug("Client is probing the stream.") - - # Avoids us to staring multiple ffmpeg instances for probe requests - return web.Response( - status=206, # Partial Content - headers=headers, - # Just send something - body=b"\x00\x00", - ) + # We don't early exit here since playback would otherwise never start + # on iOS devices with Home Assistant OS installations. media = player.current_media if queue is None or media is None: -- 2.34.1