Accommodate DMR-MARC JSON only database changes
Talkgroup files are samples – pick one format or the other if you want those aliases. this changes the type of dump you do with DMR-MARC and the way you save files locally. CSV still works, but DMR-MARC will stop supporting it!!! DO NOT mix .csv filenames and .json downloads. The extension must match the file data type.
This commit is contained in:
parent
81c3467ec0
commit
59a59e4100
|
@ -86,11 +86,11 @@ LOG_NAME: DMRlink
|
|||
TRY_DOWNLOAD: True
|
||||
LOCAL_FILE: False
|
||||
PATH: ./
|
||||
PEER_FILE: peer_ids.csv
|
||||
SUBSCRIBER_FILE: subscriber_ids.csv
|
||||
TGID_FILE: talkgroup_ids.csv
|
||||
PEER_URL: http://www.dmr-marc.net/cgi-bin/trbo-database/datadump.cgi?table=repeaters&format=csv&header=0
|
||||
SUBSCRIBER_URL: http://www.dmr-marc.net/cgi-bin/trbo-database/datadump.cgi?table=users&format=csv&header=0
|
||||
PEER_FILE: peer_ids.json
|
||||
SUBSCRIBER_FILE: subscriber_ids.json
|
||||
TGID_FILE: talkgroup_ids.json
|
||||
PEER_URL: http://www.dmr-marc.net/cgi-bin/trbo-database/datadump.cgi?table=repeaters&format=json
|
||||
SUBSCRIBER_URL: http://www.dmr-marc.net/cgi-bin/trbo-database/datadump.cgi?table=users&format=json
|
||||
STALE_DAYS: 7
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
1,MARC Wordlwide
|
||||
2,Local 2
|
||||
3,MARC North America
|
|
@ -0,0 +1,6 @@
|
|||
{"tgids":[
|
||||
{"tgid":"1","name":"MARC Worldwide"},
|
||||
{"tgid":"2","name":"Local 2"},
|
||||
{"tgid":"3","name":"MARC North America"}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue