From 67e221300ca32c1c0a69f9eec6bb599f3f4af844 Mon Sep 17 00:00:00 2001 From: Adam Sutton Date: Tue, 24 Sep 2013 15:33:30 +0100 Subject: [PATCH] epggrab: remove out of date otamux config files --- src/epggrab/otamux.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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);