Project

General

Profile

Feature #1959 » tvheadend-network-map.patch

Paolo Roascio, 2015-06-24 16:20

View differences:

tvheadend/src/service_mapper.c 2015-06-24 15:50:34.176654256 +0200
251 251
    }
252 252

  
253 253
    /* Provider */
254
    if (service_mapper_conf.provider_tags)
255
      if ((prov = s->s_provider_name(s)))
254
    if (service_mapper_conf.provider_tags) {
255
      if ((prov = s->s_provider_name(s))) {
256 256
        channel_tag_map(channel_tag_find_by_name(prov, 1), chn, chn);
257
      }
258
        source_info_t si;
259
        s->s_setsourceinfo(s, &si);
260
        channel_tag_map(channel_tag_find_by_name(si.si_network, 1), chn, chn);
261
    }
257 262

  
258 263
    /* save */
259 264
    idnode_notify_changed(&chn->ch_id);
(1-1/2)