From f7a9c8627d648b8274c7321693789e7c48834b19 Mon Sep 17 00:00:00 2001 From: Adam Sutton Date: Fri, 17 Aug 2012 21:29:11 +0100 Subject: [PATCH] Parse the old radio flag from PR-52 to make compatible --- src/iptv_input.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/iptv_input.c b/src/iptv_input.c index 218d6db0..06b3a924 100644 --- a/src/iptv_input.c +++ b/src/iptv_input.c @@ -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);