From 30eea73a2607388e7e9119afc344c66c0d02ffe4 Mon Sep 17 00:00:00 2001 From: PiratesIRC Date: Sun, 28 Jun 2026 15:27:32 -0500 Subject: [PATCH] Add rebrand bridge aliases (ported from Lineuparr) De-drift CHANNEL_ALIASES toward Lineuparr's proven coverage. Add the multiplex rebrand names to the existing HBO Hits/Movies/Drama keys (HBO 2 / HBO2, HBO Zone, HBO Signature) and a rebrand-bridge block (FXM <-> FX Movie Channel, EPIX <-> MGM+, DIY <-> Magnolia, MoreMax <-> Cinemax Hits). Surfaced by mining the live channel<->stream assignments (each pre-validated by being a real match), then diffed against Lineuparr which already carries them. The HBO same-brand renames fire via alias_match immediately; the cross-brand bridges are correct data that activate once the alias_match guards (token-overlap / short-token) are de-drifted across the plugin family (the alias-layer half of the standardization). Co-Authored-By: Claude Opus 4.8 (1M context) Claude-Session: https://claude.ai/code/session_01N2rpwFn3AHoNvsbTrEwgwd --- Channel-Maparr/aliases.py | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/Channel-Maparr/aliases.py b/Channel-Maparr/aliases.py index 7ecaeec..ba55a68 100644 --- a/Channel-Maparr/aliases.py +++ b/Channel-Maparr/aliases.py @@ -73,10 +73,10 @@ "Cinemax": ["Cinemax", "Cinemax US"], "HBO East": ["HBO East", "HBO (East)", "HBO"], "HBO Comedy East HD": ["HBO Comedy East", "HBO Comedy (East)", "HBO Comedy"], - "HBO Drama HD East": ["HBO Drama East", "HBO Drama (East)", "HBO Drama"], - "HBO Hits HD East": ["HBO Hits East", "HBO Hits (East)", "HBO Hits"], + "HBO Drama HD East": ["HBO Drama East", "HBO Drama (East)", "HBO Drama", "HBO Signature"], + "HBO Hits HD East": ["HBO Hits East", "HBO Hits (East)", "HBO Hits", "HBO 2", "HBO2"], "HBO Latino": ["HBO Latino"], - "HBO Movies HD": ["HBO Movies", "HBO Movies HD", "HBO Movies East", "HBO Movies (East)"], + "HBO Movies HD": ["HBO Movies", "HBO Movies HD", "HBO Movies East", "HBO Movies (East)", "HBO Zone"], "Paramount+ with SHOWTIME EAST": ["Showtime East", "Showtime (East)", "SHOWTIME EAST", "Showtime"], "Showtime (E)": ["Paramount+ with Showtime", "Paramount+ with Showtime HD", "Showtime East", "Showtime"], "Showtime (W)": ["Paramount+ with Showtime (Pacific)", "Paramount+ with Showtime HD (Pacific)", "Showtime West"], @@ -179,6 +179,20 @@ "EPIX 2": ["EPIX 2", "MGM 2", "MGM+ 2"], "EPIX Hits": ["EPIX Hits", "MGM+ Hits", "MGM Hits"], "EPIX Drive-In": ["EPIX Drive-In", "MGM+ Drive-In", "MGM Drive-In"], + + # Rebrand bridges surfaced by the channel<->stream alias miner (ported from + # Lineuparr's proven entries, 2026-06-28): new<->old brand names the normalizer + # cannot derive (Fox Movie Channel->FXM, EPIX->MGM+, DIY->Magnolia, the HBO + # multiplex renames, MoreMax<->Cinemax Hits). + "FXM": ["FXM", "FX Movie Channel", "FXMovie", "Fox Movie Channel", "FXM Retro"], + "FX Movie Channel": ["FXM", "FX Movie Channel", "FXMovie", "Fox Movie Channel", "FXM Retro"], + "MGM+": ["MGM+", "MGM Plus", "MGM+ East", "EPIX", "Epix", "EPIX 1"], + "Magnolia Network": ["Magnolia Network", "Magnolia", "DIY Network", "DIY"], + "Cinemax Hits HD": ["Cinemax Hits HD", "Cinemax Hits", "MoreMax", "More Max"], + "More Max": ["More Max", "MoreMax", "Cinemax Hits"], + "HBO Signature": ["HBO Signature", "HBO Drama", "HBO Drama HD"], + "HBO Zone": ["HBO Zone", "HBO Movies", "HBO Movies HD"], + "HBO 2": ["HBO 2", "HBO2", "HBO Hits"], "The Movie Channel (E)": ["The Movie Channel", "Movie Channel East", "TMC", "TMC East"], "The Movie Channel (W)": ["The Movie Channel West", "Movie Channel West", "TMC West"], "The Movie Channel Xtra": ["TMC Xtra", "Movie Channel Xtra", "The Movie Channel Extra"],