mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-04 02:22:09 +01:00
Update Dockerfile for sqlite3, update models for cascade delete, fix backup schedule
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user