Accommodate DMR-MARC JSON only database dumps.
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
12f9e0af42
commit
31d8d50358
@ -41,10 +41,10 @@ LOG_NAME: HBlink
|
|||||||
TRY_DOWNLOAD: True
|
TRY_DOWNLOAD: True
|
||||||
PATH: ./
|
PATH: ./
|
||||||
PEER_FILE: peer_ids.csv
|
PEER_FILE: peer_ids.csv
|
||||||
SUBSCRIBER_FILE: subscriber_ids.csv
|
SUBSCRIBER_FILE: subscriber_ids.json
|
||||||
TGID_FILE: talkgroup_ids.csv
|
TGID_FILE: talkgroup_ids.json
|
||||||
PEER_URL: http://www.dmr-marc.net/cgi-bin/trbo-database/datadump.cgi?table=repeaters&format=csv&header=0
|
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=csv&header=0
|
SUBSCRIBER_URL: http://www.dmr-marc.net/cgi-bin/trbo-database/datadump.cgi?table=users&format=json
|
||||||
STALE_DAYS: 7
|
STALE_DAYS: 7
|
||||||
|
|
||||||
# EXPORT AMBE DATA
|
# EXPORT AMBE DATA
|
||||||
|
3
talkgroup_ids.csv.SAMPLE
Normal file
3
talkgroup_ids.csv.SAMPLE
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
1,MARC Wordlwide
|
||||||
|
2,Local 2
|
||||||
|
3,MARC North America
|
6
talkgroup_ids.json.SAMPLE
Normal file
6
talkgroup_ids.json.SAMPLE
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{"tgids":[
|
||||||
|
{"tgid":"1","name":"MARC Worldwide"},
|
||||||
|
{"tgid":"2","name":"Local 2"},
|
||||||
|
{"tgid":"3","name":"MARC North America"}
|
||||||
|
]
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user