From: Andrew Ruthven Date: Sat, 11 Jun 2022 07:59:36 +0000 (+1200) Subject: Use a file: URI to load the +json files. X-Git-Url: http://git.etc.gen.nz/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66dd907bb6a7eb5ee44954f94fb5e3ecf2413be7;p=mythtv-epg-nz.git Use a file: URI to load the +json files. Removes the need to run a local web server. --- 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