fix/break-upcoming-songs #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/break-upcoming-songs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Break scripts were built with upcoming_songs = queue[:remaining] — the songs
that play before the break airs. By airtime they'd all played, so every
session-open break introduced the last 3–5 songs as "coming up."
Now teases queue[next_idx+1 : next_idx+4], the songs that actually follow the
break (skipping next_song so it doesn't duplicate the "first track after this
break" line). Bonus: mid-session breaks get a real upcoming list — they
previously never had one, since remaining == 0 when they generate.
No change to next-song re-promotion at serve time.