Corrected mistake in processing of old radio flag.

This commit is contained in:
Adam Sutton 2012-08-19 20:50:17 +01:00
parent 0f3c6f74b3
commit abc09456c2

View file

@ -597,7 +597,7 @@ iptv_service_load(void)
if(!htsmsg_get_u32(c, "stype", &u32))
t->s_servicetype = u32;
else if (!htsmsg_get_u32(c, "radio", &u32))
else if (!htsmsg_get_u32(c, "radio", &u32) && u32)
t->s_servicetype = ST_RADIO;
else
t->s_servicetype = ST_SDTV;