");
tcp_qprintf(tq, "
", t->tht_identifier, t->tht_identifier);
tcp_qprintf(tq, "
%d
",
t->tht_dvb_service_id);
tcp_qprintf(tq, "
%s
",
t->tht_scrambled ? "CSA" : "Free");
tcp_qprintf(tq, "
%s
",
transport_servicetype_txt(t));
tcp_qprintf(tq, "
%s
",
t->tht_servicename ?: "");
tcp_qprintf(tq,
"
",
t->tht_identifier, t->tht_identifier);
tcp_qprintf(tq, "
",
t->tht_identifier);
if(t->tht_channel == NULL) {
/* Unmapped */
v = t->tht_channelname;
snprintf(buf, sizeof(buf),
"tentative_chname('chname%s', "
"'/ajax/transport_rename_channel/%s', '%s')",
t->tht_identifier, t->tht_identifier, v);
ajax_a_jsfunc(tq, v, buf, "");
} else {
/* Mapped */
tcp_qprintf(tq, "%s", t->tht_channel->ch_name);
}
tcp_qprintf(tq, "
");
tcp_qprintf(tq, "
"
""
"
", t->tht_identifier);
tcp_qprintf(tq, "
",
t->tht_identifier);
tcp_qprintf(tq, "
");
tcp_qprintf(tq, "
");
tcp_qprintf(tq, "
"
"
");
tcp_qprintf(tq, "");
tcp_qprintf(tq, "");
tcp_qprintf(tq, "");
tcp_qprintf(tq, "
");
LIST_FOREACH(st, &t->tht_streams, st_link) {
tcp_qprintf(tq, "
");
tcp_qprintf(tq, "
");
tcp_qprintf(tq, "
%d
",
st->st_pid);
tcp_qprintf(tq, "
%s
",
htstvstreamtype2txt(st->st_type));
switch(st->st_type) {
case HTSTV_MPEG2AUDIO:
case HTSTV_AC3:
extra = st->st_lang;
break;
case HTSTV_CA:
extra = psi_caid2name(st->st_caid);
break;
default:
extra = NULL;
break;
}
if(extra != NULL)
tcp_qprintf(tq, "
%s
",
extra);
tcp_qprintf(tq, "
");
}
tcp_qprintf(tq, "