Fix: await missing in scrobbler logic
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Thu, 27 Mar 2025 10:37:11 +0000 (11:37 +0100)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Thu, 27 Mar 2025 10:37:11 +0000 (11:37 +0100)
music_assistant/helpers/scrobbler.py

index 3ae9d0a2e8ca6c5725f3261222b04f449c12f2cf..197c7646e41bbe8e28288362122c38693de4a3d9 100644 (file)
@@ -68,7 +68,7 @@ class ScrobblerHelper:
         if report.is_playing and (
             self.currently_playing is None or self.currently_playing != report.uri
         ):
-            update_now_playing()
+            await update_now_playing()
 
         if self.should_scrobble(report):
             await scrobble()