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).
This commit is contained in:
parent
01129191be
commit
5735cfd577
1 changed files with 0 additions and 7 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue