]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Only compare the serieslink field when comparing an event with a serieslink auto...
authorDave Chapman <dave@dchapman.com>
Mon, 17 Jun 2013 21:06:05 +0000 (22:06 +0100)
committerDave Chapman <dave@dchapman.com>
Mon, 17 Jun 2013 21:06:05 +0000 (22:06 +0100)
src/dvr/dvr_autorec.c

index 09cd228f7114c032c74743ea37f750fd5dba42d9..57609ef83950f63f5cd7ac2d0b4868b225974381 100644 (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)