Lineup files can now carry aliases and mark foreign channels
Per-channel aliases. A lineup channel entry may carry its own aliases array, merged with the built-in table for that lineup only. That is the right home for stream-name variants specific to one provider, instead of adding them globally.
{ "name": "My9 New York", "number": 509, "aliases": ["WWOR", "WWOR-TV", "MY9"] }Callsign aliases reach into longer names. When an alias is a US broadcast callsign, a stream carrying it anywhere in its name matches, so WWOR reaches US: MY 9 WWOR NEW YORK and US| MY 9 SECAUCUS NY (WWOR). Ordinary words with callsign shape (KIDS, WORLD, WOMEN, WEST) are excluded, so they never pull in unrelated streams.
A country prefix on a channel name. Name a channel UK_CNN inside a US lineup and it is matched against UK streams and given UK aliases, while every other channel stays US. The prefix is stripped before anything else sees it, so the channel Dispatcharr creates is called CNN. This removes the reason to select a combined multi-country lineup, which gives up country filtering almost entirely, just to carry a few foreign channels.
A channel's own prefix beats its category's, which beats the lineup filename, and an override is logged.
Reports
Every action that exports a CSV now also writes a shareable HTML page with a sortable table: click a column heading, or focus it and press Enter. The page is self contained, loads nothing from the network, and every row is in the markup, so a reader whose mail client strips scripts still sees the whole table.
Reports are written to /data/lineuparr_reports, kept to the newest eight, and carry the run timestamp. Stream names in them have the M3U source label removed, and the settings that name your M3U sources are not included.
Newsflasharr can email them. Three new settings choose whether to send, when, and whether to attach the HTML page, the CSV, or both, plus an Email Report Now action that sends the newest report already on disk. Sending is off by default and needs the Newsflasharr plugin routing this plugin's usage_report event to your email channel.
Fixed
- Alias maps follow the channel's country rather than the lineup filename's. A channel in a category marked for another country was being matched with the wrong country's aliases.
- Quality tags were removed from a stream name with an empty replacement, which glued neighbouring words together: "SKY NEWS FHD rec" became "SKY NEWSrec". A glued token was also unreachable by a user ignore tag, so that escape hatch silently did nothing.
Documentation
The README is now an overview with a documentation index and a disclaimer. Two new pages carry the detail: a user guide covering every setting, action and troubleshooting step, and a lineup file format page for writing your own.
Notes
Tested on Dispatcharr 0.28.2. 626 unit tests, plus the vendored-core, vendored-client and matcher-drift gates.
Eight lineup JSON files still ship with Windows line endings. Python parses them without trouble; it is cosmetic and predates this release.