With this patch, I'm just trying to gain back the lost functionality with the DMR-Mark URL changes. Following the DMR-Mark URL's from a web browser brings me to RadioID, so I figured that was the correct place to go. If there is a better URL let me know. As to additional functionality, let me get my very first patch approved and included first. :)--Jeff_______________________________________________On Sat, Dec 7, 2019 at 5:15 AM Chuck Hast <kp4djt@gmail.com> wrote:Well, I noticed he was hitting one db probably for the contacts list, and since there are really two, just figuredI would point that out, and YES I do know that it is not compatible with DMR radios. Sure wish it was but, Ican understand why, too bad the manufacturers are so stuck on that Trojan called windows.Anyhow just noticed that he was going to RadioID vice DMR-Mark (The DMR Mark URL gives a 404 I thinkit was) of course if he is just using RadioID to satisfy a step then it is moot, but if he is downloading the actualcontacts he would want to go to both places to make sure he gets a full list.On Sat, Dec 7, 2019 at 6:53 AM John Wuest <jhwuest@gmail.com> wrote:Why? CHIRP is not compatible with any digital radios._______________________________________________On Fri, Dec 6, 2019 at 10:06 AM Chuck Hast <kp4djt@gmail.com> wrote:Since Chirp is used all over the planet you might want to include HamDigital.org as that covers Europe andAfrica. Looks like you have RadioID in there.On Thu, Dec 5, 2019 at 10:02 PM j j <jeffjohnson0@gmail.com> wrote:Hello All,_______________________________________________I created a patch for Bug #6381 (DMR-Marc repeater download problem) and attached it here. The URL and format changed. I just followed the links in a web browser and fixed the format parsing. Let me know if there is a better process for this. I tried to follow the Wiki process, but couldn't get the automatic email from the command line working.--Jeff# HG changeset patch
# User Jeff Johnson <jeffjohnson0@gmail.com>
# Date 1573797619 28800
# Thu Nov 14 22:00:19 2019 -0800
# Node ID cbf3ce3272c77006a84980cea99d4c38b25cb5a5
# Parent 067b69c9b7d04d49462f390d99bc7f80c4b1b5d2
Bug #6381 Added new link and JSON structure for DMR-Marc repeaters.
diff --git a/chirp/dmrmarc.py b/chirp/dmrmarc.py
--- a/chirp/dmrmarc.py
+++ b/chirp/dmrmarc.py
@@ -35,8 +35,7 @@
VENDOR = "DMR-MARC"
MODEL = "Repeater database"
- URL = "http://www.dmr-marc.net/cgi-bin/trbo-database/datadump.cgi?" \
- "table=repeaters&format=json"
+ URL = "https://www.radioid.net/static/rptrs.json"
def __init__(self, *args, **kwargs):
chirp_common.NetworkSourceRadio.__init__(self, *args, **kwargs)
@@ -54,7 +53,7 @@
filename, headers = urllib.urlretrieve(self.URL, fn)
with open(fn, 'r') as f:
try:
- self._repeaters = json.load(f)['repeaters']
+ self._repeaters = json.load(f)['rptrs']
except AttributeError:
raise errors.RadioError(
"Unexpected response from %s" % self.URL)
chirp_users mailing list
chirp_users@intrepid.danplanet.com
http://intrepid.danplanet.com/mailman/listinfo/chirp_users
This message was sent to Chuck Hast at kp4djt@gmail.com
To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com--_______________________________________________Chirp + Editcp + MD380Tools on LinuxCelestial!!!Chuck -- KP4DJT
chirp_users mailing list
chirp_users@intrepid.danplanet.com
http://intrepid.danplanet.com/mailman/listinfo/chirp_users
This message was sent to John Wuest at jhwuest@gmail.com
To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
chirp_users mailing list
chirp_users@intrepid.danplanet.com
http://intrepid.danplanet.com/mailman/listinfo/chirp_users
This message was sent to Chuck Hast at kp4djt@gmail.com
To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com--_______________________________________________Chirp + Editcp + MD380Tools on LinuxCelestial!!!Chuck -- KP4DJT
chirp_users mailing list
chirp_users@intrepid.danplanet.com
http://intrepid.danplanet.com/mailman/listinfo/chirp_users
This message was sent to Jeff Johnson at jeffjohnson0@gmail.com
To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com
chirp_users mailing list
chirp_users@intrepid.danplanet.com
http://intrepid.danplanet.com/mailman/listinfo/chirp_users
This message was sent to Chuck Hast at kp4djt@gmail.com
To unsubscribe, send an email to chirp_users-unsubscribe@intrepid.danplanet.com