]> git.vomp.tv Git - jsonserver.git/commitdiff
Include number of tuners in timerlist json call
authorChris Tallon <chris@vomp.tv>
Thu, 19 Apr 2018 12:38:00 +0000 (13:38 +0100)
committerChris Tallon <chris@vomp.tv>
Thu, 19 Apr 2018 12:38:00 +0000 (13:38 +0100)
vdrclient.c

index 04d05e0cf31aff65dfc9f30e631f82b7c31cc18c..e118ed836bb91f820ee56374a8dac8e818ffb1d3 100644 (file)
@@ -210,6 +210,7 @@ bool VDRClient::timerlist(PFMap& postFields, Json::Value& js)
   }
 
   js["Timers"] = jstimers;
+  js["NumTuners"] = cDevice::NumDevices();
   js["Result"] = true;
   return true;
 }