From b6a26b7cc2310b0252a29cd97408beb246782d14 Mon Sep 17 00:00:00 2001 From: Cort Buffington Date: Sat, 2 Mar 2019 13:29:31 -0600 Subject: [PATCH] Update ID file format to JSON --- config_SAMPLE.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/config_SAMPLE.py b/config_SAMPLE.py index 8c4779b..d68ce4d 100755 --- a/config_SAMPLE.py +++ b/config_SAMPLE.py @@ -8,14 +8,14 @@ WEB_SERVER_PORT = 8080 # Has to be above 1024 if you're not run # Files and stuff for loading alias files for mapping numbers to names PATH = './' # MUST END IN '/' -PEER_FILE = 'peer_ids.csv' # Will auto-download from DMR-MARC -SUBSCRIBER_FILE = 'subscriber_ids.csv' # Will auto-download from DMR-MARC -TGID_FILE = 'talkgroup_ids.csv' # User provided, should be in "integer TGID, TGID name" format -LOCAL_SUB_FILE = 'local_subscriber_ids.csv' # User provided (optional, leave '' if you don't use it), follow the format of DMR-MARC -LOCAL_PEER_FILE = 'local_peer_ids.csv' # User provided (optional, leave '' if you don't use it), follow the format of DMR-MARC +PEER_FILE = 'peer_ids.json' # Will auto-download from DMR-MARC +SUBSCRIBER_FILE = 'subscriber_ids.json' # Will auto-download from DMR-MARC +TGID_FILE = 'talkgroup_ids.json' # User provided, should be in "integer TGID, TGID name" format +LOCAL_SUB_FILE = 'local_subscriber_ids.json' # User provided (optional, leave '' if you don't use it), follow the format of DMR-MARC +LOCAL_PEER_FILE = 'local_peer_ids.json' # User provided (optional, leave '' if you don't use it), follow the format of DMR-MARC FILE_RELOAD = 7 # Number of days before we reload DMR-MARC database files -PEER_URL = 'https://www.radioid.net/static/rptrs.csv' -SUBSCRIBER_URL = 'https://www.radioid.net/static/users.csv' +PEER_URL = 'https://www.radioid.net/api/dmr/repeater/?country=united%20states' +SUBSCRIBER_URL = 'https://www.radioid.net/api/dmr/user/?country=united%20states' # Settings for log files LOG_PATH = '/var/log/link/' # MUST END IN '/'