Skip to content

fix: DJ enqueue playback state reset bug#153

Merged
LivingLikeKrillin merged 2 commits intomainfrom
develop
Mar 29, 2026
Merged

fix: DJ enqueue playback state reset bug#153
LivingLikeKrillin merged 2 commits intomainfrom
develop

Conversation

@LivingLikeKrillin
Copy link
Copy Markdown
Contributor

Summary

Test plan

  • 빌드 및 관련 테스트 통과 확인

🤖 Generated with Claude Code

LivingLikeKrillin and others added 2 commits March 30, 2026 00:24
enqueueDj() unconditionally called activate(null, null), overwriting
currentPlaybackId when a second DJ registered during active playback.
This caused NPE (500) on GET /dj-queue and any playbackId-dependent query.

- Move activate(null, null) inside isPostActivationProcessingRequired guard
- Add null check on currentPlaybackId in getDjQueueInfo for transient state

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
fix: prevent DJ enqueue from resetting active playback state
@LivingLikeKrillin LivingLikeKrillin merged commit 61f9dca into main Mar 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant