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 ?: "");
{ "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 *