From 66dd907bb6a7eb5ee44954f94fb5e3ecf2413be7 Mon Sep 17 00:00:00 2001 From: Andrew Ruthven Date: Sat, 11 Jun 2022 19:59:36 +1200 Subject: [PATCH] Use a file: URI to load the +json files. Removes the need to run a local web server. --- bin/xmltv-proc-nz | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xmltv-proc-nz b/bin/xmltv-proc-nz index 206a670..0af53dc 100644 --- a/bin/xmltv-proc-nz +++ b/bin/xmltv-proc-nz @@ -73,7 +73,7 @@ NAME = 'xmltv-proc-nz' URL = 'http://nice.net.nz/xmltv-proc-nz' VERSION = '0.6.0 JSW' BASE_URL = 'http://epg.org.nz' -JSON_BASE_URLS = ['http://epg.org.nz', 'http://localhost/json'] +JSON_BASE_URLS = ['http://epg.org.nz', 'http://localhost/json', 'file:///etc/mythtv-epg-nz/xmltv-proc-nz/json'] TIME_FORMAT = '%Y%m%d%H%M%S' LOG_LEVEL = logging.INFO #LOG_LEVEL = logging.WARNING -- 2.30.2