Fix local episode play-item event, set PodcastEpisode size and AudioTrack FileMetadata for downloads

This commit is contained in:
advplyr
2024-06-12 18:01:44 -05:00
parent 1cdcd7327f
commit 6380d7cc02
3 changed files with 8 additions and 9 deletions
+3 -6
View File
@@ -332,16 +332,13 @@ export default {
if (!this.selectedEpisode) return
if (this.playerIsStartingPlayback) return
await this.$hapticsImpact()
this.$store.commit('setPlayerIsStartingPlayback', this.selectedEpisode.id)
this.$eventBus.$emit('play-item', {
libraryItemId: this.localLibraryItemId,
episodeId: this.selectedEpisode.id
})
this.$store.commit('setPlayerIsStartingPlayback', this.selectedEpisode.serverEpisodeId)
this.$eventBus.$emit('play-item', {
libraryItemId: this.localLibraryItemId,
episodeId: this.selectedEpisode.id,
serverLibraryItemId: this.libraryItemId,
serverEpisodeId: this.selectedEpisode.id
serverEpisodeId: this.selectedEpisode.serverEpisodeId
})
},
async dialogAction(action) {