diff --git a/epg.c b/epg.c index ff2948df..b01eecda 100644 --- a/epg.c +++ b/epg.c @@ -424,7 +424,7 @@ epg_channel_maintain(void) epg_locate_current_event(ch, now); continue; } - + if(now >= e->e_start && now < e->e_start + e->e_duration) continue; diff --git a/htsclient.c b/htsclient.c index 621a231d..d961a23a 100644 --- a/htsclient.c +++ b/htsclient.c @@ -108,7 +108,7 @@ client_ip_streamer(struct th_subscription *s, uint8_t *pkt, th_pid_t *pi, */ void -clients_enq_ref(int ref) +clients_send_ref(int ref) { client_t *c; char buf[10]; diff --git a/htsclient.h b/htsclient.h index 0d1d65d5..f657d9c1 100644 --- a/htsclient.h +++ b/htsclient.h @@ -23,7 +23,7 @@ void client_start(void); void client_unsubscribe(client_t *c); -void clients_enq_ref(int ref); +void clients_send_ref(int ref); void client_status_update(void); diff --git a/pvr.c b/pvr.c index 5598e613..5c31f746 100644 --- a/pvr.c +++ b/pvr.c @@ -118,12 +118,12 @@ pvr_inform_status_change(pvr_rec_t *pvrr) { event_t *e; - clients_enq_ref(pvrr->pvrr_ref); + clients_send_ref(pvrr->pvrr_ref); e = epg_event_find_by_time(pvrr->pvrr_channel, pvrr->pvrr_start); if(e != NULL) - clients_enq_ref(e->e_tag); + clients_send_ref(e->e_tag); } @@ -157,7 +157,7 @@ pvr_unrecord(pvr_rec_t *pvrr) } pvr_database_save(); - clients_enq_ref(-1); + clients_send_ref(-1); } @@ -188,7 +188,7 @@ pvr_link_pvrr(pvr_rec_t *pvrr) pvr_inform_status_change(pvrr); - clients_enq_ref(-1); + clients_send_ref(-1); }