services: include info from SDT (for Other services) if they already exist.
Services can be added from a variety of other tables which probably indicates that they are in fact valid TV/Radio services, but we just don't know the type. This might help people to map these services manually within TVH.
This commit is contained in:
parent
b672a9da50
commit
34e7acc087
2 changed files with 6 additions and 3 deletions
|
@ -485,7 +485,10 @@ dvb_service_build_msg(service_t *t)
|
|||
htsmsg_add_u32(m, "pmt", t->s_pmt_pid);
|
||||
htsmsg_add_u32(m, "pcr", t->s_pcr_pid);
|
||||
|
||||
htsmsg_add_str(m, "type", service_servicetype_txt(t));
|
||||
snprintf(buf, sizeof(buf), "%s (0x%04X)", service_servicetype_txt(t), t->s_servicetype);
|
||||
htsmsg_add_str(m, "type", buf);
|
||||
htsmsg_add_str(m, "typestr", service_servicetype_txt(t));
|
||||
htsmsg_add_u32(m, "typenum", t->s_servicetype);
|
||||
|
||||
htsmsg_add_str(m, "svcname", t->s_svcname ?: "");
|
||||
htsmsg_add_str(m, "provider", t->s_provider ?: "");
|
||||
|
|
|
@ -763,8 +763,8 @@ static struct strtab stypetab[] = {
|
|||
{ "HDTV", ST_DN_HDTV },
|
||||
{ "SDTV", ST_SK_SDTV },
|
||||
{ "SDTV", ST_NE_SDTV },
|
||||
{ "SDTV-AC", ST_AC_SDTV },
|
||||
{ "HDTV-AC", ST_AC_HDTV },
|
||||
{ "SDTV", ST_AC_SDTV },
|
||||
{ "HDTV", ST_AC_HDTV },
|
||||
};
|
||||
|
||||
const char *
|
||||
|
|
Loading…
Add table
Reference in a new issue