Readded DSC bookmarks, logging DSC messages from service.
This commit is contained in:
parent
a06c357843
commit
944157e32f
|
|
@ -487,3 +487,14 @@ RHA23|||71550|NFM
|
|||
RHA24|||71575|NFM
|
||||
RHA25|||71600|NFM
|
||||
RHA26|||72325|NFM
|
||||
|
||||
#
|
||||
# DSC
|
||||
#
|
||||
DSC|||2187500|DSC
|
||||
DSC|||4207500|DSC
|
||||
DSC|||6312000|DSC
|
||||
DSC|||8414500|DSC
|
||||
DSC|||12577000|DSC
|
||||
DSC|||16804500|DSC
|
||||
DSC|||156525000|DSC
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ class DscParser(TextParser):
|
|||
self.frequency = frequency
|
||||
|
||||
def parse(self, msg: bytes):
|
||||
logger.debug(msg.decode("utf-8"))
|
||||
# Do not parse in service mode
|
||||
if self.service:
|
||||
return None
|
||||
|
|
@ -31,5 +32,4 @@ class DscParser(TextParser):
|
|||
out["frequency"] = self.frequency
|
||||
if "src" in out:
|
||||
out["color"] = self.colors.getColor(out["src"])
|
||||
logger.debug("{0}".format(out))
|
||||
return out
|
||||
|
|
|
|||
Loading…
Reference in New Issue