mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-07-28 23:48:45 +02:00
Pause and end playback if the Vue layer receives a progress update while having no played track ref.
This commit is contained in:
@@ -551,6 +551,9 @@ export default {
|
||||
timeupdate() {
|
||||
if (!this.$refs.playedTrack) {
|
||||
console.error('Invalid no played track ref')
|
||||
this.pause()
|
||||
this.closePlayback()
|
||||
// TODO: Attempt to rehydrate Vue session without interrupting native playback.
|
||||
return
|
||||
}
|
||||
this.$emit('updateTime', this.currentTime)
|
||||
|
||||
Reference in New Issue
Block a user