mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-08-26 05:14:09 +02:00
Revert podcast episode local playback event
This commit is contained in:
@@ -265,12 +265,21 @@ export default {
|
|||||||
this.$eventBus.$emit('pause-item')
|
this.$eventBus.$emit('pause-item')
|
||||||
} else {
|
} else {
|
||||||
this.$store.commit('setPlayerIsStartingPlayback', this.episode.id)
|
this.$store.commit('setPlayerIsStartingPlayback', this.episode.id)
|
||||||
this.$eventBus.$emit('play-item', {
|
|
||||||
libraryItemId: this.libraryItemId,
|
if (this.localEpisode && this.localLibraryItemId) {
|
||||||
episodeId: this.episode.id,
|
console.log('Play local episode', this.localEpisode.id, this.localLibraryItemId)
|
||||||
serverLibraryItemId: this.libraryItemId,
|
this.$eventBus.$emit('play-item', {
|
||||||
serverEpisodeId: this.episode.id
|
libraryItemId: this.localLibraryItemId,
|
||||||
})
|
episodeId: this.localEpisode.id,
|
||||||
|
serverLibraryItemId: this.libraryItemId,
|
||||||
|
serverEpisodeId: this.episode.id
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
this.$eventBus.$emit('play-item', {
|
||||||
|
libraryItemId: this.libraryItemId,
|
||||||
|
episodeId: this.episode.id
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async toggleFinished() {
|
async toggleFinished() {
|
||||||
|
|||||||
Reference in New Issue
Block a user