Update ID file format to JSON

This commit is contained in:
Cort Buffington 2019-03-02 13:29:31 -06:00
parent 1e93b076f8
commit b6a26b7cc2

View File

@ -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 # Files and stuff for loading alias files for mapping numbers to names
PATH = './' # MUST END IN '/' PATH = './' # MUST END IN '/'
PEER_FILE = 'peer_ids.csv' # Will auto-download from DMR-MARC PEER_FILE = 'peer_ids.json' # Will auto-download from DMR-MARC
SUBSCRIBER_FILE = 'subscriber_ids.csv' # Will auto-download from DMR-MARC SUBSCRIBER_FILE = 'subscriber_ids.json' # Will auto-download from DMR-MARC
TGID_FILE = 'talkgroup_ids.csv' # User provided, should be in "integer TGID, TGID name" format TGID_FILE = 'talkgroup_ids.json' # 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_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.csv' # 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 FILE_RELOAD = 7 # Number of days before we reload DMR-MARC database files
PEER_URL = 'https://www.radioid.net/static/rptrs.csv' PEER_URL = 'https://www.radioid.net/api/dmr/repeater/?country=united%20states'
SUBSCRIBER_URL = 'https://www.radioid.net/static/users.csv' SUBSCRIBER_URL = 'https://www.radioid.net/api/dmr/user/?country=united%20states'
# Settings for log files # Settings for log files
LOG_PATH = '/var/log/link/' # MUST END IN '/' LOG_PATH = '/var/log/link/' # MUST END IN '/'