Skip to content

fix: match PPV1-style names and near-echo titles in the event-channel detector - #254

Merged
Jumpstile merged 1 commit into
mainfrom
fix/event-detector-ppv-echo
Nov 14, 2026
Merged

Jumpstile merged 1 commit into
mainfrom
fix/event-detector-ppv-echo

Conversation

@Jumpstile

Copy link
Copy Markdown
Owner

Two small fixes to the event-channel detector, found by running it read-only on the EPG Ripper and Jesmann US guides.

  • Names like PPV1 to PPV4 (for example Prima Sport PPV1) are now matched as PPV channels. SKYPPV is still not matched.
  • A title counts as a placeholder when it echoes the channel name with a small difference (for example blue Event D 1 or CANAL+ Sport Event 1). The shorter side must be at least 4 characters.

Tests: 2 new. EventChannelCandidate, CategorySummary, XguideSummary and BuildLineupCandidateOnly all pass with 0 failed under PowerShell 7.

Not verified: the fixes on the real guides, the full test suite (CI runs it), and Windows PowerShell 5.1. The echo rule could match a real channel whose programme titles start with the channel name; not checked on real data.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NzHAckAcs78Lu3rv8Gqgrf

…vent-channel detector (#175)

Found on the real EPG Ripper and Jesmann US guides: PPV1 to PPV4 channels
were not rated, and titles that echo the channel name with a small
difference counted as real programmes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NzHAckAcs78Lu3rv8Gqgrf
@Jumpstile
Jumpstile merged commit a270efd into main Nov 14, 2026
11 checks passed
@Jumpstile
Jumpstile deleted the fix/event-detector-ppv-echo branch November 14, 2026 21:50
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