opentv: save service when the opentv channel number is updated
This commit is contained in:
parent
ae0d4dc462
commit
a43e80d6a9
1 changed files with 3 additions and 1 deletions
|
@ -401,8 +401,10 @@ opentv_desc_channels
|
|||
/* Find the service */
|
||||
svc = mpegts_service_find(mm, sid, 0, 0, NULL);
|
||||
tvhtrace(mt->mt_name, " svc %p [%s]", svc, svc ? svc->s_nicename : NULL);
|
||||
if (svc)
|
||||
if (svc && svc->s_dvb_opentv_chnum != cnum) {
|
||||
svc->s_dvb_opentv_chnum = cnum;
|
||||
service_request_save((service_t *)svc, 0);
|
||||
}
|
||||
if (svc && LIST_FIRST(&svc->s_channels)) {
|
||||
ec =_opentv_find_epggrab_channel(mod, cid, 1, &save);
|
||||
ecl = LIST_FIRST(&ec->channels);
|
||||
|
|
Loading…
Add table
Reference in a new issue