Update user audiobook progress model, add mark as read/not read, download individual tracks

This commit is contained in:
Mark Cooper 2021-09-06 14:13:01 -05:00
parent 1f2afe4d92
commit 41c391e87b
21 changed files with 496 additions and 100 deletions

View file

@ -134,11 +134,11 @@ class StreamManager {
Logger.error('No User for client', client)
return
}
if (!client.user.updateAudiobookProgress) {
if (!client.user.updateAudiobookProgressFromStream) {
Logger.error('Invalid User for client', client)
return
}
client.user.updateAudiobookProgress(client.stream)
client.user.updateAudiobookProgressFromStream(client.stream)
this.db.updateEntity('user', client.user)
}
}