Fix:Mark media as finished if less than 5 seconds remain on a sync and call progress sync again when last track ends #635

This commit is contained in:
advplyr 2022-05-29 12:55:14 -05:00
parent 6161daeef0
commit 93b8e11378
5 changed files with 18 additions and 6 deletions

View file

@ -76,6 +76,7 @@ export default class LocalPlayer extends EventEmitter {
this.loadCurrentTrack()
} else {
console.log(`[LocalPlayer] Ended`)
this.emit('finished')
}
}
evtError(error) {