From e6be8c8128fe68fa6dc2ca5e6b06d1a1345efd8c Mon Sep 17 00:00:00 2001 From: Marvin Schenkel Date: Sat, 24 Jan 2026 01:27:28 +0100 Subject: [PATCH] Fix chime validation for player groups (#3013) --- music_assistant/helpers/util.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/music_assistant/helpers/util.py b/music_assistant/helpers/util.py index cf65f24c..3e228ed2 100644 --- a/music_assistant/helpers/util.py +++ b/music_assistant/helpers/util.py @@ -27,7 +27,12 @@ import ifaddr from music_assistant_models.enums import AlbumType from zeroconf import IPVersion -from music_assistant.constants import LIVE_INDICATORS, SOUNDTRACK_INDICATORS, VERBOSE_LOG_LEVEL +from music_assistant.constants import ( + ANNOUNCE_ALERT_FILE, + LIVE_INDICATORS, + SOUNDTRACK_INDICATORS, + VERBOSE_LOG_LEVEL, +) from music_assistant.helpers.process import check_output if TYPE_CHECKING: @@ -688,6 +693,9 @@ def validate_announcement_chime_url(url: str) -> bool: if not url or not url.strip(): return True # Empty URL is valid + if url == ANNOUNCE_ALERT_FILE: + return True # Built-in chime file is valid + try: parsed = urlparse(url.strip()) -- 2.34.1