Fix small typo
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Tue, 14 Oct 2025 18:33:40 +0000 (20:33 +0200)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Tue, 14 Oct 2025 18:33:40 +0000 (20:33 +0200)
music_assistant/controllers/players/player_controller.py

index 8ce9851487088322f5be2fdba07a18f558fec158..9bc803ba816cb16cebcea75fa4888209329ad889 100644 (file)
@@ -1956,7 +1956,7 @@ class PlayerController(CoreController):
         # wait for the player to stop playing
         if not announcement.duration:
             media_info = await async_parse_tags(
-                announcement.custom_data["url"], require_duration=True
+                announcement.custom_data["announcement_url"], require_duration=True
             )
             announcement.duration = media_info.duration
         await self.wait_for_state(