From: Maxim Raznatovski Date: Wed, 13 Aug 2025 22:49:28 +0000 (+0200) Subject: Fix playback with the Web Player for iOS devices (#2319) X-Git-Url: https://git.kitaultman.com/?a=commitdiff_plain;h=792fbb517db6a1085cce228bc969971acb6f667c;p=music-assistant-server.git Fix playback with the Web Player for iOS devices (#2319) --- 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: