Only compare the serieslink field when comparing an event with a serieslink auto recording. Previously tvh was also comparing other fields, including title, which broke some serieslink recordings (e.g. if the episodes had unique titles). Fix by adamsutton.

This commit is contained in:
Dave Chapman 2013-06-17 22:06:05 +01:00
parent 2a9ccdd8bc
commit 6cb8eaae8d

View file

@ -88,8 +88,10 @@ autorec_cmp(dvr_autorec_entry_t *dae, epg_broadcast_t *e)
// Note: we always test season first, though it will only be set
// if configured
if(dae->dae_serieslink)
if(dae->dae_serieslink) {
if (!e->serieslink || dae->dae_serieslink != e->serieslink) return 0;
return 1;
}
if(dae->dae_season)
if (!e->episode->season || dae->dae_season != e->episode->season) return 0;
if(dae->dae_brand)