epg: forgot to uncomment the broadcast save loop

This commit is contained in:
Adam Sutton 2013-08-28 21:07:49 +01:00
parent 32edfc623f
commit 75fa931667

View file

@ -268,10 +268,8 @@ void epg_save ( void *p )
{
int fd;
epg_object_t *eo;
#if 0
epg_broadcast_t *ebc;
channel_t *ch;
#endif
epggrab_stats_t stats;
extern gtimer_t epggrab_save_timer;
@ -303,14 +301,12 @@ void epg_save ( void *p )
stats.seasons.total++;
}
if ( _epg_write_sect(fd, "broadcasts") ) return;
#if 0
RB_FOREACH(ch, &channel_name_tree, ch_name_link) {
CHANNEL_FOREACH(ch) {
RB_FOREACH(ebc, &ch->ch_epg_schedule, sched_link) {
if (_epg_write(fd, epg_broadcast_serialize(ebc))) return;
stats.broadcasts.total++;
}
}
#endif
/* Stats */
tvhlog(LOG_INFO, "epgdb", "saved");