mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-05-18 09:21:31 +00:00
Merge 212734a92f into 47ea6b5092
This commit is contained in:
commit
07f16f9681
4 changed files with 145 additions and 6 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue