Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: daniel-widrick/GraceNoteScraper
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: form400/GraceNoteScraper_Fix
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 5 commits
  • 6 files changed
  • 2 contributors

Commits on May 17, 2026

  1. improve tv-logo channel matching rate

    - Add local affiliate pattern: {network}-{channelNo}-{callsign} and {network}-{callsign}
    - Fix slugify: & converts to "and" instead of "-" (fixes A&E, AT&T SportsNet, etc.)
    - Fix weather channel alias: "the-weather-channel" → "weather-channel"
    - Correct noiseWords: stop stripping "network", "channel", "tv", "entertainment"
    - Add networkSlugs map for ABC/CBS/NBC/FOX/CW/PBS/Telemundo/Univision local affiliates
    - Add bareCallSign: strips both dash-separated (-TV, -DT, -HD) and inline (HD, DT) suffixes
    - Reorder candidates: alias → full slug → local affiliate patterns → bare callsign → fallbacks
    - Thread ChannelNo through Channel struct and Resolve() for affiliate pattern generation
    
    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    form400 and claude committed May 17, 2026
    Configuration menu
    Copy the full SHA
    4c4563b View commit details
    Browse the repository at this point in the history
  2. add CLAUDE.md with build commands and architecture overview

    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    form400 and claude committed May 17, 2026
    Configuration menu
    Copy the full SHA
    1393cd7 View commit details
    Browse the repository at this point in the history
  3. add callsign abbreviation map for cryptic GraceNote callsigns

    GraceNote returns empty affiliateName for ~93% of cable channels and
    provides only a cryptic callsign (e.g., "HISTORY", "TOON", "PAR", "STZENCL").
    Direct slugification produced "history", "toon", "par" — none of which
    match the actual repo slugs like "history-channel-us.png".
    
    - Add callsignSlugs map (280 entries) covering cable networks, premium
      movie families (Starz/MGM+/Cinemax/Showtime/TMC), sports, news, kids,
      Spanish-language, and shopping channels. Lookup runs against both the
      raw callsign and its suffix-stripped form.
    - Extend hdSuffixRe to strip HDP, HP, and standalone P (Plus variants).
    - Iterate suffix stripping so compound suffixes collapse fully
      (MAXHDP -> MAXHD -> MAX).
    - Add matcherVersion constant + MatcherVersion field on CacheEntry.
      Cache.Get() invalidates failed entries from older versions so logic
      improvements take effect without a manual cache wipe; successful
      matches are preserved across versions.
    
    Projected impact on a 616-channel lineup with 93% empty-affiliate
    cable channels: 23.0% -> 67.2% match rate (272 additional channels).
    
    Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
    form400 and claude committed May 17, 2026
    Configuration menu
    Copy the full SHA
    ff88d5a View commit details
    Browse the repository at this point in the history
  4. gitignore local analysis artifacts

    Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
    form400 and claude committed May 17, 2026
    Configuration menu
    Copy the full SHA
    23c373b View commit details
    Browse the repository at this point in the history
  5. gitignore DEPLOY.md (local-only deployment notes)

    Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
    form400 and claude committed May 17, 2026
    Configuration menu
    Copy the full SHA
    264a3fc View commit details
    Browse the repository at this point in the history
Loading