diff --git a/src/epggrab/otamux.c b/src/epggrab/otamux.c index 0d314e2f..1d12ec0a 100644 --- a/src/epggrab/otamux.c +++ b/src/epggrab/otamux.c @@ -376,7 +376,10 @@ epggrab_ota_load_one const char *id; mm = mpegts_mux_find(uuid); - if (!mm) return; + if (!mm) { + hts_settings_remove("epggrab/otamux/%s", uuid); + return; + } ota = calloc(1, sizeof(epggrab_ota_mux_t)); ota->om_mux_uuid = strdup(uuid);