chore: merge branch dev
to main
#200
1 changed files with 1 additions and 2 deletions
|
@ -193,8 +193,7 @@ export default {
|
|||
.slice(0, pos)
|
||||
.reduce((total, t) => {
|
||||
if (total === 0) {
|
||||
// TODO: First track, already playing, we have to substract the already elapsed time
|
||||
return t.durationMS;
|
||||
return queue.dispatcher ? t.durationMS - queue.dispatcher.streamTime : t.durationMS;
|
||||
}
|
||||
return total + t.durationMS;
|
||||
}, 0),
|
||||
|
|
Loading…
Reference in a new issue