This commit is contained in:
Eyad 2026-05-06 00:23:44 +02:00 committed by GitHub
commit 07f16f9681
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 145 additions and 6 deletions

View file

@ -528,7 +528,11 @@ export default {
if (this.$refs.audioPlayer) this.$refs.audioPlayer.checkUpdateChapterTrack()
})
this.playerHandler.load(libraryItem, episodeId, true, this.currentPlaybackRate, payload.startTime)
// Resolve per-book playback rate for the new item, falling back to current rate
const mediaProgress = this.$store.getters['user/getUserMediaProgress'](libraryItemId, episodeId)
const playbackRate = mediaProgress?.playbackRate || this.currentPlaybackRate
this.playerHandler.load(libraryItem, episodeId, true, playbackRate, payload.startTime)
},
pauseItem() {
this.playerHandler.pause()