mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-26 18:59:25 +02:00
Update Dockerfile for sqlite3, update models for cascade delete, fix backup schedule
This commit is contained in:
parent
254ba1f089
commit
f73a0cce72
20 changed files with 67 additions and 31 deletions
|
@ -52,6 +52,7 @@ class PlaybackSessionManager {
|
|||
}
|
||||
}
|
||||
|
||||
await Database.createDevice(deviceInfo)
|
||||
|
||||
return deviceInfo
|
||||
}
|
||||
|
@ -221,9 +222,6 @@ class PlaybackSessionManager {
|
|||
newPlaybackSession.audioTracks = audioTracks
|
||||
}
|
||||
|
||||
// Will save on the first sync
|
||||
user.currentSessionId = newPlaybackSession.id
|
||||
|
||||
this.sessions.push(newPlaybackSession)
|
||||
SocketAuthority.adminEmitter('user_stream_update', user.toJSONForPublic(this.sessions, Database.libraryItems))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue