{
if (!channel->GroupSep())
{
- log->log("JSONServer", Log::DEBUG, "name: '%s'", channel->Name());
+// log->log("JSONServer", Log::DEBUG, "name: '%s'", channel->Name());
- if (channel->Vpid()) type = 1;
- else if (channel->Apid(0)) type = 2;
- else continue;
+// if (channel->Vpid()) type = 1;
+// else if (channel->Apid(0)) type = 2;
+// else continue;
Json::Value oneChannel;
oneChannel["Number"] = channel->Number();
- oneChannel["Type"] = type;
+// oneChannel["Type"] = type;
oneChannel["Name"] = channel->Name();
-#if VDRVERSNUM < 10703
- oneChannel["VType"] = 2;
-#else
- oneChannel["VType"] = channel->Vtype();
-#endif
+//#if VDRVERSNUM < 10703
+// oneChannel["VType"] = 2;
+//#else
+// oneChannel["VType"] = channel->Vtype();
+//#endif
jschannels.append(oneChannel);
}
}