v0.76.0: opening DJ mode with empty decks hands the playing song to Deck A without a gap, and closing goes back to it

This commit is contained in:
2026-10-22 12:43:34 -07:00
parent fc1cd80d35
commit 5413263587
6 changed files with 220 additions and 7 deletions
+7 -1
View File
@@ -384,7 +384,13 @@ persistence) → GUI (Qt widgets that read the manager and connect to its signal
the main player is **suspended** while DJ mode is open
(`Player.set_suspended`: paused, and nothing — double-click, Return, a
media key — can start it; it played behind the decks, unstoppable, in
v0.63.0). "Sync to other track" is enabled whenever its own deck has a
v0.63.0). **Except** (Round 107) when both decks are empty and a song
is on: then it keeps sounding (`set_suspended(True, pause=False)`) while
Deck A loads it (`DjShelf.load(…, handoff=)`), the deck starts a sink
latency ahead (`DjShelf.cue`), the main player pauses as that arrives
and its spot is `MainWindow._dj_pin`; closing seeks back there and plays
(`_back_to_pin`). The crossfader goes to all-A. Casting/AirPlay keep the
old pause. "Sync to other track" is enabled whenever its own deck has a
song; what it can't do yet it says in the status bar. Deck A is blue and Deck B
orange, every control included; loaded songs get a DECK A/B tag in every
track list (`track_table.deck_tag`). **Its own engine**, because Qt's