chore: merge branch dev to main #200

Merged
Anri merged 19 commits from dev into main 2024-11-02 17:36:38 +01:00
Showing only changes of commit ea52a0e597 - Show all commits

View file

@ -193,8 +193,7 @@ export default {
.slice(0, pos) .slice(0, pos)
.reduce((total, t) => { .reduce((total, t) => {
if (total === 0) { if (total === 0) {
// TODO: First track, already playing, we have to substract the already elapsed time return queue.dispatcher ? t.durationMS - queue.dispatcher.streamTime : t.durationMS;
return t.durationMS;
} }
return total + t.durationMS; return total + t.durationMS;
}, 0), }, 0),