mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
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 to1d6336b240
------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit
This commit is contained in:
@@ -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 && (
|
||||
|
@@ -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);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user