diff --git a/csdr/chain/dablin.py b/csdr/chain/dablin.py index 80e79a70..d451a248 100644 --- a/csdr/chain/dablin.py +++ b/csdr/chain/dablin.py @@ -40,7 +40,10 @@ class MetaProcessor(PickleModule): if "programmes" in data: result["programmes"] = data["programmes"] # don't send out data if there was nothing interesting for the client - return result if result else None + if not result: + return + result["mode"] = "DAB" + return result class Dablin(BaseDemodulatorChain, FixedIfSampleRateChain, FixedAudioRateChain, HdAudio, MetaProvider): diff --git a/htdocs/index.html b/htdocs/index.html index fe0e2aeb..921be5a4 100644 --- a/htdocs/index.html +++ b/htdocs/index.html @@ -150,6 +150,7 @@
+