From 643327344d46ad9979349c479498c1c97324e60d Mon Sep 17 00:00:00 2001 From: j Date: Tue, 27 Jan 2026 12:37:04 +0100 Subject: [PATCH] avoid double subtitles --- player/html/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/player/html/index.html b/player/html/index.html index 0cf8a59..7b43f62 100644 --- a/player/html/index.html +++ b/player/html/index.html @@ -249,6 +249,7 @@ const ass = new ASS(content, nextVideo, { container: subtitles, }); + sub_handlers[nextVideo.id]?.destroy() sub_handlers[nextVideo.id] = ass ended() })