BBC Sounds: Remove some old NP task cancellation code (#2799)
authorKieran Hogg <kieran.hogg@gmail.com>
Fri, 12 Dec 2025 11:50:06 +0000 (11:50 +0000)
committerGitHub <noreply@github.com>
Fri, 12 Dec 2025 11:50:06 +0000 (12:50 +0100)
Remove old task cancellation code

music_assistant/providers/bbc_sounds/__init__.py

index a62efebc77be2d269b9d15a23b3b5740dac06d75..1d8e1991f972fcd515597519aeadee67a8ac93c8 100644 (file)
@@ -804,6 +804,3 @@ class BBCSoundsProvider(MusicProvider):
                     self.logger.debug(f"Updated play status: {success}")
                 except exceptions.APIResponseError as err:
                     self.logger.error(f"Error updating play status: {err}")
-        # Cancel now playing task
-        if FEATURES["now_playing"] and not is_playing and self.current_task:
-            self.current_task.cancel()