eitd/xmlutil: shorten console messages

Origin commit data
------------------
Branch: ni/coolstream
Commit: 35cfdd542a
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-06-18 (Fri, 18 Jun 2021)

Origin message was:
------------------
- eitd/xmlutil: shorten console messages

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-06-18 23:08:11 +02:00
parent bc33cf5c75
commit d29f9c70c9

View File

@@ -590,7 +590,7 @@ bool readEventsFromDir(std::string &epgdir, int &ev_count)
{
struct dirent **namelist;
int n = scandir(epgdir.c_str(), &namelist, my_filter, NULL);
debug(DEBUG_NORMAL, "Reading Information from directory %s, file count %d", epgdir.c_str(), n);
debug(DEBUG_NORMAL, "Reading data from directory %s, file count %d", epgdir.c_str(), n);
if (n <= 0)
return false;
@@ -624,12 +624,12 @@ void *insertEventsfromFile(void * data)
if (index_parser == NULL) {
readEventsFromDir(epg_dir, ev_count);
debug(DEBUG_NORMAL, "Reading Information finished after %" PRId64 " milliseconds (%d events) from %s",
debug(DEBUG_NORMAL, "Reading data finished after %" PRId64 " ms (%d events) from %s",
time_monotonic_ms()-now, ev_count, epg_dir.c_str());
reader_ready = true;
pthread_exit(NULL);
}
debug(DEBUG_NORMAL, "Reading Information from file: %s", indexname.c_str());
debug(DEBUG_NORMAL, "Reading data from file: %s", indexname.c_str());
eventfile = xmlDocGetRootElement(index_parser);
eventfile = xmlChildrenNode(eventfile);
@@ -642,7 +642,7 @@ void *insertEventsfromFile(void * data)
epgname = epg_dir + filename;
readEventsFromFile(epgname, ev_count);
debug(DEBUG_NORMAL, "Reading Information finished after %" PRId64 " milliseconds (%d events) from %s",
debug(DEBUG_NORMAL, "Reading data finished after %" PRId64 " ms (%d events) from %s",
time_monotonic_ms()-now, ev_count, epgname.c_str());
eventfile = xmlNextNode(eventfile);
@@ -685,7 +685,7 @@ void *insertEventsfromXMLTV(void * data)
pthread_exit(NULL);
}
debug(DEBUG_NORMAL, "Reading Information finished after %" PRId64 " milliseconds (%d events) from %s",
debug(DEBUG_NORMAL, "Reading data finished after %" PRId64 " ms (%d events) from %s",
time_monotonic_ms()-now, ev_count, url.c_str());
reader_ready = true;