diff --git a/CHANGELOG.md b/CHANGELOG.md index af01871..4abf764 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ **unreleased** - Introduced `squelch_auto_margin` config option that allows configuring the auto squelch level +- Removed `port` configuration option; `rtltcp_compat` takes the port number with the new connectors **0.20.0** - Added the ability to sign multiple keys in a single request, thus enabling multiple users to claim a single receiver diff --git a/debian/changelog b/debian/changelog index 7357723..31272e1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,8 @@ openwebrx (0.21.0) UNRELEASED; urgency=low * Introduced `squelch_auto_margin` config option that allows configuring the auto squelch level + * Removed `port` configuration option; `rtltcp_compat` takes the port number + with the new connectors -- Jakob Ketterl Sun, 11 Oct 2020 21:12:00 +0000 diff --git a/owrx/source/__init__.py b/owrx/source/__init__.py index c71c5a3..cf5e198 100644 --- a/owrx/source/__init__.py +++ b/owrx/source/__init__.py @@ -59,10 +59,7 @@ class SdrSource(ABC): self.activateProfile() self.wireEvents() - if "port" in props and props["port"] is not None: - self.port = props["port"] - else: - self.port = getAvailablePort() + self.port = getAvailablePort() self.monitor = None self.clients = [] self.spectrumClients = [] diff --git a/owrx/source/connector.py b/owrx/source/connector.py index f28da98..47eec5d 100644 --- a/owrx/source/connector.py +++ b/owrx/source/connector.py @@ -23,7 +23,7 @@ class ConnectorSource(SdrSource): "controlPort": Option("-c"), "device": Option("-d"), "iqswap": Flag("-i"), - "rtltcp_compat": Flag("-r"), + "rtltcp_compat": Option("-r"), "ppm": Option("-P"), "rf_gain": Option("-g"), }