From d31d75e067ea9c0bc4ecc18463a4a497a25de13c Mon Sep 17 00:00:00 2001 From: marcelveldt Date: Tue, 15 Oct 2019 08:28:03 +0200 Subject: [PATCH] Update http_streamer.py --- music_assistant/http_streamer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/music_assistant/http_streamer.py b/music_assistant/http_streamer.py index 5840463c..4810e9df 100755 --- a/music_assistant/http_streamer.py +++ b/music_assistant/http_streamer.py @@ -68,7 +68,7 @@ class HTTPStreamer(): cancelled.set() # wait for result bg_task.result() - LOGGER.info("stream bg task completed") + await asyncio.sleep(1) del buf_queue raise asyncio.CancelledError() if not cancelled.is_set(): -- 2.34.1