mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-04-20 22:19:44 +00:00
Update:Remove unused missing/invalid audiobook parts logic and keys
This commit is contained in:
parent
8d7530254c
commit
ff5226fa93
33 changed files with 19 additions and 190 deletions
|
|
@ -281,7 +281,7 @@ export default {
|
|||
return this.media.audioFiles || []
|
||||
},
|
||||
audioTracks() {
|
||||
return this.audioFiles.filter((af) => !af.exclude && !af.invalid)
|
||||
return this.audioFiles.filter((af) => !af.exclude)
|
||||
},
|
||||
selectedChapterId() {
|
||||
return this.selectedChapter ? this.selectedChapter.id : null
|
||||
|
|
|
|||
|
|
@ -137,9 +137,6 @@ export default {
|
|||
})
|
||||
return count
|
||||
},
|
||||
missingParts() {
|
||||
return this.media.missingParts || []
|
||||
},
|
||||
libraryItemId() {
|
||||
return this.libraryItem.id
|
||||
},
|
||||
|
|
|
|||
|
|
@ -249,7 +249,7 @@ export default {
|
|||
return this.media.metadata || {}
|
||||
},
|
||||
audioFiles() {
|
||||
return (this.media.audioFiles || []).filter((af) => !af.exclude && !af.invalid)
|
||||
return (this.media.audioFiles || []).filter((af) => !af.exclude)
|
||||
},
|
||||
isSingleM4b() {
|
||||
return this.audioFiles.length === 1 && this.audioFiles[0].metadata.ext.toLowerCase() === '.m4b'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue