From afa145ff741925a74f95496f8c78aa129c3c79b2 Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Sun, 30 Apr 2023 05:53:16 +0300 Subject: [PATCH] fix: set duration to 0 when looping playlist --- src/components/playingnow.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/playingnow.svelte b/src/components/playingnow.svelte index c50c4d1..6996505 100644 --- a/src/components/playingnow.svelte +++ b/src/components/playingnow.svelte @@ -96,6 +96,7 @@ nextQueuePosition(); break; case LoopKind.Once: + duration = 0; const queuePos = nextQueuePosition(); if (queuePos === null) { queuePosition.set(0);