From 48eec6eb8d2cecae7c8fb6521e9c48f05fd79fdf Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Mon, 9 May 2022 12:52:23 +0200 Subject: [PATCH] do not analyze external audio --- 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 b8807a5f..d4932a59 100644 --- a/music_assistant/helpers/audio.py +++ b/music_assistant/helpers/audio.py @@ -476,7 +476,7 @@ async def get_media_stream( ) ) # send analyze job to background worker - if streamdetails.loudness is None: + if streamdetails.loudness is None and streamdetails.provider != "url": uri = f"{streamdetails.provider}://{streamdetails.media_type.value}/{streamdetails.item_id}" mass.add_job( analyze_audio(mass, streamdetails), f"Analyze audio for {uri}" -- 2.34.1