mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-28 05:54:50 +02:00
Fix:Crash on local playback sessions #1912
This commit is contained in:
parent
d0cd512be8
commit
5b6878e5de
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue