From 5b6878e5de0b4060e07e922fe542017e0c4ea376 Mon Sep 17 00:00:00 2001 From: advplyr Date: Mon, 17 Jul 2023 13:58:19 -0500 Subject: [PATCH] Fix:Crash on local playback sessions #1912 --- server/managers/PlaybackSessionManager.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/managers/PlaybackSessionManager.js b/server/managers/PlaybackSessionManager.js index 3ab6d15b..7324a7a6 100644 --- a/server/managers/PlaybackSessionManager.js +++ b/server/managers/PlaybackSessionManager.js @@ -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 if (sessionJson.id?.startsWith('play_local_')) { if (!this.oldPlaybackSessionMap[sessionJson.id]) {