Skip to content

Commit

Permalink
Accommodate DMR-MARC JSON only database changes
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
n0mjs710 committed Mar 17, 2018
1 parent 81c3467 commit 59a59e4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dmrlink_SAMPLE.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
3 changes: 3 additions & 0 deletions talkgroup_ids.csv.SAMPLE
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
1,MARC Wordlwide
2,Local 2
3,MARC North America
6 changes: 6 additions & 0 deletions talkgroup_ids.json.SAMPLE
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{"tgids":[
{"tgid":"1","name":"MARC Worldwide"},
{"tgid":"2","name":"Local 2"},
{"tgid":"3","name":"MARC North America"}
]
}

0 comments on commit 59a59e4

Please sign in to comment.