Now that after-kickoff probing has its own grace period setting (#205), it seems like a natural follow-up: once that post-kickoff probe finishes and Podium reorders a channel's streams, Teamarr's ranking for that match is still based on the old order until its own next scheduled EPG generate runs.
Idea: after Podium finishes an after-kickoff probe pass for a channel (or a full teamarr-sync push), fire a call to Teamarr's generate endpoint for that channel/event right away, instead of waiting for Teamarr's own schedule to catch up.
Why: the whole point of after-kickoff probing is to have the correct stream ready as early into the match as possible. If Teamarr doesn't pick up the new ordering until its next scheduled generate, there can still be a gap between "Podium found the good stream" and "viewers actually get served the good stream."
Not sure what's cleanest on your end — maybe just an optional webhook/callback after a teamarr-sync push, or a config flag to call Teamarr's generate for the affected event directly. Happy to test whatever shape makes sense.
Now that after-kickoff probing has its own grace period setting (#205), it seems like a natural follow-up: once that post-kickoff probe finishes and Podium reorders a channel's streams, Teamarr's ranking for that match is still based on the old order until its own next scheduled EPG generate runs.
Idea: after Podium finishes an after-kickoff probe pass for a channel (or a full teamarr-sync push), fire a call to Teamarr's generate endpoint for that channel/event right away, instead of waiting for Teamarr's own schedule to catch up.
Why: the whole point of after-kickoff probing is to have the correct stream ready as early into the match as possible. If Teamarr doesn't pick up the new ordering until its next scheduled generate, there can still be a gap between "Podium found the good stream" and "viewers actually get served the good stream."
Not sure what's cleanest on your end — maybe just an optional webhook/callback after a teamarr-sync push, or a config flag to call Teamarr's generate for the affected event directly. Happy to test whatever shape makes sense.