From: Dave Chapman Date: Mon, 17 Jun 2013 21:06:05 +0000 (+0100) Subject: Only compare the serieslink field when comparing an event with a serieslink auto... X-Git-Tag: v3.9~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cb8eaae8dc4d67c417067e6a5c3c7bff2d92a1c;p=thirdparty%2Ftvheadend.git 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. --- diff --git a/src/dvr/dvr_autorec.c b/src/dvr/dvr_autorec.c index 09cd228f7..57609ef83 100644 --- a/src/dvr/dvr_autorec.c +++ b/src/dvr/dvr_autorec.c @@ -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)