mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-03 22:15:03 +02:00
Sorting, fix user object bug, add settings module
This commit is contained in:
parent
9a74825bad
commit
6e8fe32bf5
18 changed files with 164 additions and 17 deletions
|
@ -115,8 +115,12 @@ class StreamManager {
|
|||
Logger.error('No User for client', client)
|
||||
return
|
||||
}
|
||||
if (!client.user.updateAudiobookProgress) {
|
||||
Logger.error('Invalid User for client', client)
|
||||
return
|
||||
}
|
||||
client.user.updateAudiobookProgress(client.stream)
|
||||
this.db.updateEntity('user', client.user.toJSON())
|
||||
this.db.updateEntity('user', client.user)
|
||||
}
|
||||
}
|
||||
module.exports = StreamManager
|
Loading…
Add table
Add a link
Reference in a new issue