Remove unused

This commit is contained in:
advplyr
2025-01-02 17:25:10 -06:00
parent 12c6f2e9a5
commit 5e8678f1cc
3 changed files with 0 additions and 11 deletions
-5
View File
@@ -100,9 +100,6 @@ class Book {
}
return total
}
get hasMediaEntities() {
return !!this.tracks.length || this.ebookFile
}
get includedAudioFiles() {
return this.audioFiles.filter((af) => !af.exclude)
}
@@ -129,8 +126,6 @@ class Book {
update(payload) {
const json = this.toJSON()
delete json.audiobooks // do not update media entities here
delete json.ebooks
let hasUpdates = false
for (const key in json) {
-3
View File
@@ -124,9 +124,6 @@ class Podcast {
this.episodes.forEach((ep) => (total += ep.size))
return total
}
get hasMediaEntities() {
return !!this.episodes.length
}
get duration() {
let total = 0
this.episodes.forEach((ep) => (total += ep.duration))