mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-06 07:25:03 +02:00
New data model fix library stats
This commit is contained in:
parent
57399bb79e
commit
eea3e2583c
8 changed files with 69 additions and 33 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue