mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-05 20:58:33 +02:00
sectionsd: add number of read events to 'reading saved EPG' message
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1409 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -4491,6 +4491,7 @@ static void *insertEventsfromFile(void *)
|
||||
std::string indexname;
|
||||
std::string filename;
|
||||
std::string epgname;
|
||||
int ev_count = 0;
|
||||
|
||||
indexname = epg_dir + "index.xml";
|
||||
|
||||
@@ -4612,6 +4613,7 @@ static void *insertEventsfromFile(void *)
|
||||
//lockEvents();
|
||||
//writeLockEvents();
|
||||
addEvent(e, 0, 0);
|
||||
ev_count++;
|
||||
//unlockEvents();
|
||||
|
||||
event = event->xmlNextNode;
|
||||
@@ -4627,8 +4629,8 @@ static void *insertEventsfromFile(void *)
|
||||
|
||||
xmlFreeDoc(index_parser);
|
||||
printdate_ms(stdout);
|
||||
printf("[sectionsd] Reading Information finished after %ld miliseconds\n",
|
||||
time_monotonic_ms()-now);
|
||||
printf("[sectionsd] Reading Information finished after %ld miliseconds (%d events)\n",
|
||||
time_monotonic_ms()-now, ev_count);
|
||||
}
|
||||
|
||||
pthread_exit(NULL);
|
||||
|
Reference in New Issue
Block a user