mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-11-08 00:54:33 +01:00
Fix:Crash on local playback sessions #1912
This commit is contained in:
parent
d0cd512be8
commit
5b6878e5de
@ -104,6 +104,9 @@ class PlaybackSessionManager {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sessionJson.userId = user.id
|
||||||
|
sessionJson.serverVersion = serverVersion
|
||||||
|
|
||||||
// TODO: Temp update local playback session id to uuidv4 & library item/book/episode ids
|
// TODO: Temp update local playback session id to uuidv4 & library item/book/episode ids
|
||||||
if (sessionJson.id?.startsWith('play_local_')) {
|
if (sessionJson.id?.startsWith('play_local_')) {
|
||||||
if (!this.oldPlaybackSessionMap[sessionJson.id]) {
|
if (!this.oldPlaybackSessionMap[sessionJson.id]) {
|
||||||
|
Loading…
Reference in New Issue
Block a user