Parse the old radio flag from PR-52 to make compatible
This commit is contained in:
parent
ce862f85fc
commit
f7a9c8627d
1 changed files with 3 additions and 0 deletions
|
@ -596,6 +596,9 @@ iptv_service_load(void)
|
|||
|
||||
if(!htsmsg_get_u32(c, "stype", &u32))
|
||||
t->s_servicetype = u32;
|
||||
else if (!htsmsg_get_u32(c, "radio", &u32))
|
||||
t->s_servicetype = ST_RADIO;
|
||||
// Note: for compat with old PR #52 I load "radio" flag
|
||||
|
||||
pthread_mutex_lock(&t->s_stream_mutex);
|
||||
service_make_nicename(t);
|
||||
|
|
Loading…
Add table
Reference in a new issue