aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabMod.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-12-06 16:21:59 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-12-06 16:21:59 +0100
commit029e9c757549e5d1e8923d10f704fbf31c0ac1ff (patch)
treee95d86439b22c10f0627621dc62e46a9a46e6068 /src/DabMod.cpp
parent6ee07d97515ffd8899f3184ba37efaf092372982 (diff)
downloaddabmod-029e9c757549e5d1e8923d10f704fbf31c0ac1ff.tar.gz
dabmod-029e9c757549e5d1e8923d10f704fbf31c0ac1ff.tar.bz2
dabmod-029e9c757549e5d1e8923d10f704fbf31c0ac1ff.zip
Add protection_level to ensemble in showjson
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r--src/DabMod.cpp1
1 files changed, 1 insertions, 0 deletions
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);