]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
otamux: fix the loading of the epg services per mux, fixes #4877
authorJaroslav Kysela <perex@perex.cz>
Tue, 23 Jan 2018 08:27:56 +0000 (09:27 +0100)
committerJaroslav Kysela <perex@perex.cz>
Tue, 23 Jan 2018 08:27:56 +0000 (09:27 +0100)
src/epggrab/otamux.c

index bbe3d7287bdf901bee9633dec1ce4dc768fee2fb..99d33826539b8ce1f466360b9992ce3155d47cde 100644 (file)
@@ -789,7 +789,7 @@ epggrab_ota_load_one
     if ((l2 = htsmsg_get_list(e, "services")) != NULL) {
       HTSMSG_FOREACH(f2, l2) {
         tvh_uuid_t u;
-        if (htsmsg_field_get_uuid(f2, &u))
+        if (!htsmsg_field_get_uuid(f2, &u))
           epggrab_ota_service_add(map, ota, &u, 0);
       }
     }