diff --git a/boswatch/inputSource/inputBase.py b/boswatch/inputSource/inputBase.py index e3c03c5..001d102 100644 --- a/boswatch/inputSource/inputBase.py +++ b/boswatch/inputSource/inputBase.py @@ -67,7 +67,7 @@ class InputBase(ABC): print(data) def getDecoderInstance(self, decoderConfig, StdIn): - mmProc = ProcessManager(str(decoderConfig.get("Path", default="multimon-ng")), textMode=True) + mmProc = ProcessManager(str(decoderConfig.get("path", default="multimon-ng")), textMode=True) if decoderConfig.get("fms", default=0): mmProc.addArgument("-a FMSFSK") if decoderConfig.get("zvei", default=0): @@ -78,8 +78,8 @@ class InputBase(ABC): mmProc.addArgument("-a POCSAG1200") if decoderConfig.get("poc2400", default=0): mmProc.addArgument("-a POCSAG2400") - if decoderConfig.get("Char", default=0): - mmProc.addArgument("-C " + str(decoderConfig.get("Char"))) + if decoderConfig.get("char", default=0): + mmProc.addArgument("-C " + str(decoderConfig.get("char"))) mmProc.addArgument("-f alpha") mmProc.addArgument("-t raw -") mmProc.setStdin(StdIn) diff --git a/config/client.yaml b/config/client.yaml index b6a1f29..1550eab 100644 --- a/config/client.yaml +++ b/config/client.yaml @@ -38,4 +38,4 @@ decoder: poc1200: yes poc2400: yes Path: /opt/multimon/multimon-ng - Char: DE + char: DE diff --git a/docu/docs/config.md b/docu/docs/config.md index efc4d5f..b833101 100644 --- a/docu/docs/config.md +++ b/docu/docs/config.md @@ -140,8 +140,8 @@ inputSource: |poc512|POCSAG Decoder (Bitrate 512)|no| |poc1200|POCSAG Decoder (Bitrate 1200)|no| |poc2400|POCSAG Decoder (Bitrate 2400)|no| -|Path|Pfad zur multimon-ng Binary|multimon-ng| -|Char|multimon-ng Char-Set|not set| +|path|Pfad zur multimon-ng Binary|multimon-ng| +|char|multimon-ng char-Set|not set| **Beispiel:** ```yaml @@ -151,8 +151,8 @@ decoder: poc512: no poc1200: no poc2400: yes - Path: /opt/multimon/multimon-ng - Char: DE + path: /opt/multimon/multimon-ng + char: DE ``` ---