mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2025-08-30 22:59:35 +02:00
Fix local audio playback issue, update ffmpeg-kit to min version
This commit is contained in:
parent
441bc24e2d
commit
9d6a467517
4 changed files with 17 additions and 10 deletions
|
@ -545,13 +545,15 @@ export default {
|
|||
}
|
||||
},
|
||||
closePlayback() {
|
||||
this.endPlayback()
|
||||
AbsAudioPlayer.closePlayback()
|
||||
},
|
||||
endPlayback() {
|
||||
this.$store.commit('setPlayerItem', null)
|
||||
this.showFullscreen = false
|
||||
this.isEnded = false
|
||||
this.isLoading = false
|
||||
this.playbackSession = null
|
||||
|
||||
AbsAudioPlayer.closePlayback()
|
||||
},
|
||||
//
|
||||
// Listeners from audio AbsAudioPlayer
|
||||
|
@ -607,13 +609,13 @@ export default {
|
|||
},
|
||||
onPlaybackClosed() {
|
||||
console.log('Received onPlaybackClosed evt')
|
||||
this.closePlayback()
|
||||
this.endPlayback()
|
||||
},
|
||||
onPlaybackFailed(data) {
|
||||
console.log('Received onPlaybackFailed evt')
|
||||
var errorMessage = data.value || 'Unknown Error'
|
||||
this.$toast.error(`Playback Failed: ${errorMessage}`)
|
||||
this.closePlayback()
|
||||
this.endPlayback()
|
||||
},
|
||||
async init() {
|
||||
this.useChapterTrack = await this.$localStore.getUseChapterTrack()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue