From 5735cfd577aea4a6b92b7fd98527c78ff3ad02d3 Mon Sep 17 00:00:00 2001 From: Adam Sutton Date: Wed, 19 Sep 2012 09:46:26 +0100 Subject: [PATCH] Remove episode number check, this was added during EPG updates and poorly thought through. Most DVR additions have been removed and DVR code will be updated next release. Fixes #1221 (Credit to schmoko for pointing this out). --- src/dvr/dvr_autorec.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/dvr/dvr_autorec.c b/src/dvr/dvr_autorec.c index 7e7d460e..5dae8ce8 100644 --- a/src/dvr/dvr_autorec.c +++ b/src/dvr/dvr_autorec.c @@ -64,7 +64,6 @@ static int autorec_cmp(dvr_autorec_entry_t *dae, epg_broadcast_t *e) { channel_tag_mapping_t *ctm; - epg_episode_num_t epnum; dvr_config_t *cfg; if (!e->channel) return 0; @@ -127,12 +126,6 @@ autorec_cmp(dvr_autorec_entry_t *dae, epg_broadcast_t *e) return 0; } - // Note: dae_epnum is unset then all values are 0 and this will - // always return 1 - epg_episode_get_epnum(e->episode, &epnum); - if(epg_episode_number_cmp(&dae->dae_epnum, &epnum) < 0) - return 0; - if(dae->dae_weekdays != 0x7f) { struct tm tm; localtime_r(&e->start, &tm);