t->tht_provider = strdup("HTS Tvheadend");
t->tht_network = strdup("Internal");
+ t->tht_uniquename = strdup("TEST1");
+
transport_link(t, ch);
}
else
t->tht_network = strdup(inet_ntoa(t->tht_iptv_group_addr));
+ snprintf(buf, sizeof(buf), "IPTV:%s:%d",
+ inet_ntoa(t->tht_iptv_group_addr), t->tht_iptv_port);
+ t->tht_uniquename = strdup(buf);
+
t->tht_channel = channel_find(channel_name, 1, NULL);
LIST_INSERT_HEAD(&iptv_probing_transports, t, tht_adapter_link);
startupcounter++;
t->tht_network = strdup("Analog TV");
t->tht_provider = strdup("Analog TV");
+ snprintf(buf, sizeof(buf), "ANALOG:%u", t->tht_v4l_frequency);
+ t->tht_uniquename = strdup(buf);
transport_link(t, channel_find(channel_name, 1, NULL));
return 0;