From 66f671ac9739c91e32be8e83c724f5af5708074b Mon Sep 17 00:00:00 2001 From: Michel Roux Date: Tue, 4 Feb 2025 15:25:32 +0000 Subject: [PATCH] fix: :adhesive_bandage: Cancel notification when stopping playback (fix #235) --- src/store/player.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/store/player.ts b/src/store/player.ts index 17b51df..768460c 100644 --- a/src/store/player.ts +++ b/src/store/player.ts @@ -107,6 +107,7 @@ export const usePlayer = defineStore('player', { } else { this.loaded = false this.podcastUrl = null + navigator.mediaSession.metadata = null audio.src = '' } },