htsp channels: ensure HTSP gets channel update messages

This commit is contained in:
Adam Sutton 2014-02-24 22:05:09 +00:00
parent b5112daee8
commit 1445848cc6

View file

@ -536,6 +536,9 @@ channel_create0
/* EPG */
epggrab_channel_add(ch);
/* HTSP */
htsp_channel_add(ch);
return ch;
}
@ -572,6 +575,9 @@ channel_delete ( channel_t *ch )
epggrab_channel_rem(ch);
epg_channel_unlink(ch);
/* HTSP */
htsp_channel_delete(ch);
/* Settings */
hts_settings_remove("channel/%s", idnode_uuid_as_str(&ch->ch_id));