mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-31 11:59:10 +00:00
169714b3ae
A user reading a podcast script found the prompter ran past the end of the event and on into the next one. An event is a unit of time with a stop of its own, but auto-scroll bounded against the end of the whole document, so nothing held it at the boundary. At a conference that means the prompter reads the next speaker's script while they are still walking on. Playback now runs to the end of the segment being read and parks there, saying so. Loading the next event releases it through the existing follow, and pressing play again carries on into the next segment for a reader who wants to keep going. Only playback is held: a jump, a page or a nudge is the reader asking to leave the segment and still crosses freely. The segment is chosen once when playback starts, and held by identity rather than as a pixel bound. Re-deciding it against a position which is moving let the bound outrun the reader and never arrive; holding the id rather than the offset keeps the stop on the same words when an edit moves the script underneath it. Add an option to show only the event being played, for the case where the rest of the script is a distraction. It falls back to the whole script while nothing is playing, where narrowing would leave a blank screen. The script of the event being played is now held out from the rest, which stays readable so a reader who is ahead or behind can still find their place. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cb8RVPNQ2ETPJxdy4b8CHf