Run a break every ten seconds while the network is tested - #228
Merged
Merged
Conversation
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
force-pushed
the
ads-every-10s
branch
from
September 25, 2026 04:21
075511e to
9d3ba43
Compare
This was referenced Sep 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.