mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-11-27 10:52:47 +01:00
Update users table info #94, Reorder libraries in config #95, Use dropdown for library menu #96, update mobi reader
This commit is contained in:
1 parent
9715c53332
commit
cd6e99b4c3
30 files changed
+1361
-557
No files matched your search
@@ -111,6 +111,8 @@ class StreamManager {
|
||||
|
||||
var stream = await this.openStream(client, audiobook)
|
||||
this.db.updateUserStream(client.user.id, stream.id)
|
||||
|
||||
socket.broadcast.emit('user_stream_update', client.user.toJSONForPublic(this.streams))
|
||||
}
|
||||
|
||||
async closeStreamRequest(socket) {
|
||||
@@ -126,6 +128,8 @@ class StreamManager {
|
||||
client.user.stream = null
|
||||
client.stream = null
|
||||
this.db.updateUserStream(client.user.id, null)
|
||||
|
||||
socket.broadcast.emit('user_stream_update', client.user.toJSONForPublic(this.streams))
|
||||
}
|
||||
|
||||
async openTestStream(StreamsPath, audiobookId) {
|
||||
|
||||
Reference in new issue
Block a user