]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
epg: fix the running check in _epg_channel_timer_callback(), fixes #5067
authorJaroslav Kysela <perex@perex.cz>
Fri, 13 Apr 2018 18:35:12 +0000 (20:35 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 13 Apr 2018 18:35:12 +0000 (20:35 +0200)
src/epg.c

index 0f9ad14eb1338dc0ebeb2184a8f4fc562d2ca879..5cad23461496a1a9da0dc5c75a49c271b54ef497 100644 (file)
--- a/src/epg.c
+++ b/src/epg.c
@@ -498,7 +498,7 @@ static void _epg_channel_timer_callback ( void *p )
 
   /* Clear now/next */
   if ((cur = ch->ch_epg_now)) {
-    if (cur->running != EPG_RUNNING_STOP) {
+    if (cur->running != EPG_RUNNING_STOP && cur->running != EPG_RUNNING_NOTSET) {
       /* running? don't do anything */
       gtimer_arm_rel(&ch->ch_epg_timer, _epg_channel_timer_callback, ch, 2);
       return;