[mythtv-users] Schedules Direct JSON service changes 2022-05-20

Gary Buhrmaster gary.buhrmaster at gmail.com
Sun May 22 17:46:18 UTC 2022

On Sun, May 22, 2022 at 5:27 PM Tom Dexter <digitalaudiorock at gmail.com> wrote:
> Does anyone know if the numeric portion of that xmltvid is by some
> chance the same number as the old numeric ID?

They are (since the data comes from the same
upstream source), but technically one should
not depend upon it.

Somewhere, a long time ago, someone posted
a one time conversion script (not sure if email,
or forum, or wiki) to convert the MythTV
(non-RFC2838 compliant) xmltvids to the
RFC2838 compliant form zz_sdjson_sqlite emits.

And for those of a certain persuasion, one
could modify the variable RFC2838_COMPLIANT
near the top of the script to create non-compliant
station IDs that are the bare integer, or run the
output through a xslt conversion filter to do
whatever you wish to the xml.

More information about the mythtv-users mailing list