From 029e9c757549e5d1e8923d10f704fbf31c0ac1ff Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 6 Dec 2023 16:21:59 +0100 Subject: Add protection_level to ensemble in showjson --- src/DabMod.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/DabMod.cpp b/src/DabMod.cpp index 2b75680..648b7ad 100644 --- a/src/DabMod.cpp +++ b/src/DabMod.cpp @@ -223,6 +223,7 @@ class ModulatorData : public RemoteControllable { (*service_map)["sid"].v = s.second.sid; (*service_map)["label"].v = FICDecoder::ConvertLabelToUTF8(s.second.label, nullptr); (*service_map)["bitrate"].v = s.second.subchannel.bitrate; + (*service_map)["protection_level"].v = s.second.subchannel.pl; json::value_t v; v.v = service_map; services.push_back(v); -- cgit v1.2.3