]> git.etc.gen.nz Git - mythtv-epg-nz.git/commitdiff
Use a file: URI to load the +json files.
authorAndrew Ruthven <andrew@etc.gen.nz>
Sat, 11 Jun 2022 07:59:36 +0000 (19:59 +1200)
committerAndrew Ruthven <andrew@etc.gen.nz>
Sat, 11 Jun 2022 07:59:36 +0000 (19:59 +1200)
Removes the need to run a local web server.

bin/xmltv-proc-nz

index 206a670a886be2d363d9bc005946e93bb0ef2d28..0af53dc51b06353bd870284e331050e49a430643 100644 (file)
@@ -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