From b877d8439a3857c5cec08e104928e57b64da75c7 Mon Sep 17 00:00:00 2001 From: Jakob Ketterl Date: Fri, 2 Apr 2021 21:46:21 +0200 Subject: [PATCH] fix "remote" mappings for rtl_tcp and soapy_remote --- owrx/source/rtl_tcp.py | 2 +- owrx/source/soapy_remote.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/owrx/source/rtl_tcp.py b/owrx/source/rtl_tcp.py index 3daec3f..59047bd 100644 --- a/owrx/source/rtl_tcp.py +++ b/owrx/source/rtl_tcp.py @@ -26,4 +26,4 @@ class RtlTcpDeviceDescription(ConnectorDeviceDescription): return super().getInputs() + [RemoteInput()] def getDeviceMandatoryKeys(self): - return super().getDeviceMandatoryKeys() + ["device"] + return super().getDeviceMandatoryKeys() + ["remote"] diff --git a/owrx/source/soapy_remote.py b/owrx/source/soapy_remote.py index c3ed174..7abe1e4 100644 --- a/owrx/source/soapy_remote.py +++ b/owrx/source/soapy_remote.py @@ -29,5 +29,8 @@ class SoapyRemoteDeviceDescription(SoapyConnectorDeviceDescription): ), ] + def getDeviceMandatoryKeys(self): + return super().getDeviceMandatoryKeys() + ["remote"] + def getDeviceOptionalKeys(self): return super().getDeviceOptionalKeys() + ["remote_driver"]