show in log where epg events come from

This commit is contained in:
TangoCash
2020-07-01 23:31:07 +02:00
committed by Thilo Graf
parent 28b96cfa58
commit 01e6aeb2ed

View File

@@ -615,8 +615,8 @@ void *insertEventsfromFile(void * data)
if (index_parser == NULL) {
readEventsFromDir(epg_dir, ev_count);
debug(DEBUG_NORMAL, "Reading Information finished after %" PRId64 " milliseconds (%d events)",
time_monotonic_ms()-now, ev_count);
debug(DEBUG_NORMAL, "Reading Information finished after %" PRId64 " milliseconds (%d events) from %s",
time_monotonic_ms()-now, ev_count, epg_dir.c_str());
reader_ready = true;
pthread_exit(NULL);
}
@@ -633,12 +633,13 @@ 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",
time_monotonic_ms()-now, ev_count, epgname.c_str());
eventfile = xmlNextNode(eventfile);
}
xmlFreeDoc(index_parser);
debug(DEBUG_NORMAL, "Reading Information finished after %" PRId64 " milliseconds (%d events)",
time_monotonic_ms()-now, ev_count);
reader_ready = true;
@@ -676,8 +677,8 @@ void *insertEventsfromXMLTV(void * data)
pthread_exit(NULL);
}
debug(DEBUG_NORMAL, "Reading Information finished after %" PRId64 " milliseconds (%d events)",
time_monotonic_ms()-now, ev_count);
debug(DEBUG_NORMAL, "Reading Information finished after %" PRId64 " milliseconds (%d events) from %s",
time_monotonic_ms()-now, ev_count, url.c_str());
reader_ready = true;