mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-12-02 21:24:08 +01:00
Update PlaybackSession to use new library item model
This commit is contained in:
1 parent
d205c6f734
commit
c251f1899d
16 files changed
+284
-193
No files matched your search
@@ -159,11 +159,6 @@ class BookMetadata {
|
||||
getSeries(seriesId) {
|
||||
return this.series.find((se) => se.id == seriesId)
|
||||
}
|
||||
getSeriesSequence(seriesId) {
|
||||
const series = this.series.find((se) => se.id == seriesId)
|
||||
if (!series) return null
|
||||
return series.sequence || ''
|
||||
}
|
||||
|
||||
update(payload) {
|
||||
const json = this.toJSON()
|
||||
|
||||
Reference in new issue
Block a user