fix: set duration to 0 when looping playlist

This commit is contained in:
dusk 2023-04-30 05:53:16 +03:00
parent 59685f8bcf
commit afa145ff74
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA

View File

@ -96,6 +96,7 @@
nextQueuePosition();
break;
case LoopKind.Once:
duration = 0;
const queuePos = nextQueuePosition();
if (queuePos === null) {
queuePosition.set(0);