Skip to content

v1.26.2490035

Latest

Choose a tag to compare

@PiratesIRC PiratesIRC released this 06 Sep 00:54

Sixteen commits since v1.26.2451734. Two of the fixes below change guide data,
so read those first if you use the managed dummy EPG.

Fixed

Channels held visible by Regex: Force Visible Channels never received the managed dummy EPG.
They were also unprotected from having it removed. On one installation this was 17 visible
channels carrying no guide data at all, while the run reported "Managed EPG Attached: 0".

A channel matched by Regex: Channel Names to Ignore could have its managed EPG removed.
The plugin never attaches guide data to an ignored channel, so the only outcome available to
one was losing what it already had. Ignore now means ignore in both directions.

An operator's own wording in the fallback title and description templates was overwritten on
every run.
If you edited either in Dispatcharr's EPG source editor, your text was gone by the
next scan with nothing to tell you. Those two fields are now yours once you change them, while a
value the plugin shipped, including a superseded one, still upgrades itself automatically.

The CSV reported a hidden channel under a blank rule name. A channel hidden because another
channel carries the same event now reports Duplicate instead of an empty column, in the row and
in the Rule Effectiveness summary. That blank was the information needed to diagnose a real
support case.

The report could contradict the run. A checkbox stored as "on" printed Yes in the CSV
preamble while the scan acted on it as off. One shared rule now decides what a stored checkbox
means, so the report and the run cannot disagree.

The guide text this plugin writes no longer contains an em dash, which some clients render
badly.

Added

Delete CSV Exports Older Than (Days). Housekeeping for the CSV files this plugin writes to
/data/exports. The default is 0, which keeps every file, so nothing is deleted unless you ask.
The file just written is never deleted and at least one always survives. That directory is
shared with other plugins and only this plugin's own exports are ever touched.

Validate Configuration warns about regex alternatives that do not mean what they look like.
Pasting channel group names into one of the three regex fields is a common mistake, because the
group names contain the same pipe character that separates alternatives. The pattern compiles
and quietly matches far more than intended. Validate now says so and names the offending text.

Interface

Button colour now tracks consequence. Red can take a channel off air or remove guide data
(Run Now, Remove EPG from Hidden), orange writes or clears state without removing either (Clear
CSV Exports, Cleanup Orphaned Tasks), green runs an operation that writes no channel data, blue
reads and reports (Validate, Dry Run, Check Scheduler). Previously Run Now was the same colour
as Save Schedule.

The CSV preamble is readable. It says what the file is and that the # lines are a preamble a
spreadsheet should skip, states what the run did before the settings, renders checkboxes as Yes
and No rather than Python True and False, uses the label each setting carries in the interface
instead of its internal id, gives numbers their units, and names the default that applies when a
setting is unset. The Remove EPG from Hidden Channels export had no preamble at all and now has
one. The whole preamble is plain ASCII so a spreadsheet opening it under another codepage cannot
turn it into mojibake.

The settings form headings describe their whole section, and the user guide documents which
fields on the managed EPG source are yours to edit and which the plugin maintains.

Notes

724 tests pass and ruff check . exits 0. No behaviour outside the items above was changed.