Skip to content

Run a break every ten seconds while the network is tested - #228

Merged
ralyodio merged 2 commits into
mainfrom
ads-every-10s
Sep 25, 2026
Merged

ralyodio merged 2 commits into
mainfrom
ads-every-10s

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

Temporary. An advert every ten seconds isn't a product decision — it's how you watch fills, impressions and playback happen without sitting through five minutes of music for each one.

Goes back to 300 once the chain has been seen working end to end. Marked plainly at the constant so it's obvious what to revert and why, rather than a bare number somebody has to guess about later. ?adsEvery= still overrides it either way.

888 pass / 0 fail.

ralyodio and others added 2 commits September 25, 2026 04:21
Temporary. An advert every ten seconds is not a product decision, it is how you
watch fills, impressions and playback happen without sitting through five
minutes of music for each one. It goes back to 300 once the chain has been seen
working end to end.

Marked plainly at the constant so it is obvious what to revert and why, rather
than a bare number somebody has to guess about later.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This asked the account API on every page load and discarded the answer.

It was added when adSettings refused to run a break unless the host had
established that a listener was NOT paying, so something had to establish it.
ads.ts now treats every listener as unpaid until there is something to be paid
for, which makes the question moot: signed in or not, the break runs.

The day a pass exists, `paid: true` is what suppresses a break, and it comes
from wherever that pass is known rather than from a probe at startup.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@ralyodio
ralyodio merged commit e5b09c8 into main Sep 25, 2026
4 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