diff --git a/src/jukebox/track-queue/track-queue.service.ts b/src/jukebox/track-queue/track-queue.service.ts index 321a2b9..98f7f5a 100644 --- a/src/jukebox/track-queue/track-queue.service.ts +++ b/src/jukebox/track-queue/track-queue.service.ts @@ -158,7 +158,7 @@ export class TrackQueueService { if (queued && queued.length === 0) { const playerState = await this.getPlayerState(jukeboxId) - queued = playerState.default_next_tracks.map((track) => ({ + queued = playerState?.default_next_tracks.map((track) => ({ ...track, queue_id: randomUUID(), }))