Fix:Crash on local playback sessions #1912

This commit is contained in:
advplyr 2023-07-17 13:58:19 -05:00
parent d0cd512be8
commit 5b6878e5de

View File

@ -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]) {