From: Chris Tallon Date: Thu, 19 Apr 2018 12:38:00 +0000 (+0100) Subject: Include number of tuners in timerlist json call X-Git-Url: https://git.vomp.tv/gitweb/?a=commitdiff_plain;h=6663e6219ed865a3dfe99190c294059dbdd4932f;p=jsonserver.git Include number of tuners in timerlist json call --- diff --git a/vdrclient.c b/vdrclient.c index 04d05e0..e118ed8 100644 --- a/vdrclient.c +++ b/vdrclient.c @@ -210,6 +210,7 @@ bool VDRClient::timerlist(PFMap& postFields, Json::Value& js) } js["Timers"] = jstimers; + js["NumTuners"] = cDevice::NumDevices(); js["Result"] = true; return true; }