bouquets: small addition to 1d6336b240

Origin commit data
------------------
Branch: ni/coolstream
Commit: 05a47e0ef5
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-09-11 (Sat, 11 Sep 2021)

Origin message was:
------------------
- bouquets: small addition to 1d6336b240

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-09-11 19:29:08 +02:00
parent 328a0d0a7d
commit 1be753cb5a
2 changed files with 1 additions and 3 deletions

View File

@@ -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 && (

View File

@@ -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);
}
}