mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-05 12:31:48 +02:00
New data model play media entity, PlaybackSessionManager
This commit is contained in:
@@ -47,7 +47,7 @@ class EBook {
|
||||
}
|
||||
}
|
||||
|
||||
toJSONMinified() {
|
||||
toJSONExpanded() {
|
||||
return {
|
||||
id: this.id,
|
||||
index: this.index,
|
||||
@@ -59,6 +59,7 @@ class EBook {
|
||||
}
|
||||
}
|
||||
|
||||
get isPlaybackMediaEntity() { return false }
|
||||
get size() {
|
||||
return this.ebookFile.metadata.size
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user