From 43b027f68f5276a8bd2048b47cd878ee2962044b Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Thu, 16 Jan 2025 11:55:37 +0100 Subject: [PATCH] Fix small typo in order --- music_assistant/helpers/audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/music_assistant/helpers/audio.py b/music_assistant/helpers/audio.py index 3a4aff70..3b01bd62 100644 --- a/music_assistant/helpers/audio.py +++ b/music_assistant/helpers/audio.py @@ -382,9 +382,9 @@ async def get_media_stream( bytes_sent += len(buffer) yield buffer del buffer - finished = True # wait until stderr also completed reading await ffmpeg_proc.wait_with_timeout(5) + finished = True except Exception as err: if isinstance(err, asyncio.CancelledError): # we were cancelled, just raise -- 2.34.1