New model update audio player, stream, collections

This commit is contained in:
advplyr 2022-03-12 19:59:35 -06:00
parent 2d19208340
commit 65df377a49
20 changed files with 145 additions and 145 deletions

View file

@ -108,7 +108,7 @@ export default {
return this.media.tracks.length
},
isStreaming() {
return this.$store.getters['getAudiobookIdStreaming'] === this.book.id
return this.$store.getters['getLibraryItemIdStreaming'] === this.book.id
},
showPlayBtn() {
return !this.isMissing && !this.isInvalid && !this.isStreaming && this.numTracks
@ -136,7 +136,7 @@ export default {
this.isHovering = false
},
playClick() {
this.$eventBus.$emit('play-audiobook', this.book.id)
this.$eventBus.$emit('play-item', this.book.id)
},
clickEdit() {
this.$emit('edit', this.book)