diff --git a/owrx/dsc.py b/owrx/dsc.py index 36b68715..6a66b41f 100644 --- a/owrx/dsc.py +++ b/owrx/dsc.py @@ -19,9 +19,10 @@ class DscParser(TextParser): if self.service: return None # Expect JSON data in text form + logger.debug("TEXT: {0}".format(msg)) out = json.loads(msg) # Add mode name and a color to identify the sender out["mode"] = "DSC" out["color"] = self.colors.getColor(out["src"]) - logger.debug("{0}".format(out)) + logger.debug("JSON: {0}".format(out)) return out diff --git a/owrx/toolbox.py b/owrx/toolbox.py index a5c7a7bd..c4c26577 100644 --- a/owrx/toolbox.py +++ b/owrx/toolbox.py @@ -81,8 +81,9 @@ class TextParser(LineBasedModule): # Compose name of this decoder, made of client/service and frequency def myName(self): - return "%s%s" % ( + return "%s%s%s" % ( "Service" if self.service else "Client", + " " + self.filePfx if self.filePfx else "", " at %dkHz" % (self.frequency // 1000) if self.frequency>0 else "" )