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)
|
.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),
|
||||||
|
|
Loading…
Reference in a new issue