mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-11 11:06:16 -08:00
The previous commit widened the pipe branch of normalizeTitleKeys to any case and to Cyrillic, on the theory that nothing but a tag precedes a pipe. Checked against 1.27M real catalog titles that theory is wrong in two ways at once: "Akira | 1988" and "Coco | 2017" put the film's name before the pipe and the year after it, and Russian catalogs write "Момо | Momo" — localized title, then original. The widening corrupted 349 keys and rescued none, so it is reverted. What survives is what the data supports: the pipe-lookalike set (0 changed keys, and correct for panels that use them) and dropping the required space after a pipe (35 changed keys, genuine welded tags like "EN|Dark Shadows" and "|FR|VO|Le dernier empereur"). A leading-tag guard that refused to strip when no letter remained is also dropped: it fixes "AKA | 2023" but breaks "IT - 65", so telling those apart needs a tag vocabulary and belongs in its own change. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>