mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-11-19 15:18:21 +01:00
Pause and end playback if the Vue layer receives a progress update while having no played track ref.
This commit is contained in:
1 parent
072f19e157
commit
fa0b9ed6ab
1 file changed
+3
@@ -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