From 1be753cb5a6fd0b83d951d08867d6ad600bb740f Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sat, 11 Sep 2021 19:29:08 +0200 Subject: [PATCH] bouquets: small addition to 1d6336b2405fee2a2798fa9eb47e42914f4b567d Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/05a47e0ef5f7f2e00c74f7f976ccd14f51cb98cf Author: vanhofen Date: 2021-09-11 (Sat, 11 Sep 2021) Origin message was: ------------------ - bouquets: small addition to 1d6336b2405fee2a2798fa9eb47e42914f4b567d ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/webchannels_setup.cpp | 2 -- src/zapit/src/bouquets.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gui/webchannels_setup.cpp b/src/gui/webchannels_setup.cpp index 36d85081c..071cb2bda 100644 --- a/src/gui/webchannels_setup.cpp +++ b/src/gui/webchannels_setup.cpp @@ -303,8 +303,6 @@ bool CWebChannelsSetup::changeNotify(const neutrino_locale_t OptionName, void */ int filefilter(const struct dirent *entry) { std::string f = entry->d_name; - if (f.find("epgmap.xml") != std::string::npos) - return 0; int len = strlen(entry->d_name); if (len > 3 && ( diff --git a/src/zapit/src/bouquets.cpp b/src/zapit/src/bouquets.cpp index 219868a46..24d63044e 100644 --- a/src/zapit/src/bouquets.cpp +++ b/src/zapit/src/bouquets.cpp @@ -1384,7 +1384,7 @@ void CBouquetManager::readEPGMapping() while ((d = readdir(dp)) != NULL) { std::string f = d->d_name; - if (f.find("epgmap.xml") != std::string::npos) + if ((f.compare("epgmap.xml") == 0) || (f.find(".epgmap") != std::string::npos)) epgmaps.push_back((*it) + "/" + f); } }