New data model fix library stats

This commit is contained in:
advplyr 2022-03-18 12:37:47 -05:00
parent 57399bb79e
commit eea3e2583c
8 changed files with 69 additions and 33 deletions

View file

@ -43,6 +43,10 @@ class PodcastEpisode {
get tracks() {
return [this.audioFile]
}
get duration() {
return this.audioFile.duration
}
get size() { return this.audioFile.metadata.size }
// Only checks container format
checkCanDirectPlay(payload) {