mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-21 19:29:37 +00:00
RSS feed for collection to update when any item in the collection is updated #606
This commit is contained in:
parent
9e4bc582cb
commit
315c83e4c3
4 changed files with 24 additions and 10 deletions
|
|
@ -136,11 +136,11 @@ class Book {
|
|||
}
|
||||
|
||||
update(payload) {
|
||||
var json = this.toJSON()
|
||||
const json = this.toJSON()
|
||||
delete json.audiobooks // do not update media entities here
|
||||
delete json.ebooks
|
||||
|
||||
var hasUpdates = false
|
||||
let hasUpdates = false
|
||||
for (const key in json) {
|
||||
if (payload[key] !== undefined) {
|
||||
if (key === 'metadata') {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue