From 6cb8eaae8dc4d67c417067e6a5c3c7bff2d92a1c Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Mon, 17 Jun 2013 22:06:05 +0100 Subject: [PATCH] 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. --- src/dvr/dvr_autorec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dvr/dvr_autorec.c b/src/dvr/dvr_autorec.c index 09cd228f..57609ef8 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)