Commit Graph

156 Commits

Author SHA1 Message Date
Stefan Seyfried
49f2f4e70d sectionsd: shorten debug messages
* channel ids in sectionsd are only 48bit
* addEvent debug message had redundant information

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-03-06 10:14:54 +01:00
Stefan Seyfried
789d25eab0 sectionsd: be more tolerant about adjtime() failure
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-03-06 10:12:31 +01:00
Stefan Seyfried
4d5e7bf354 sectionsd: don't truncate 64bit value before comparing
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-03-06 10:12:24 +01:00
[CST] Focus
026592e8fe Merge branch 'dvbsi++' into next
Conflicts:
	src/neutrino.cpp
	src/zapit/src/femanager.cpp
	src/zapit/src/getservices.cpp
	src/zapit/src/transponder.cpp
2013-02-28 16:39:34 +04:00
Stefan Seyfried
5db16ee2ff sectionsd: consider the table_id when inserting events
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-02-21 15:52:13 +01:00
Stefan Seyfried
4dbeb3a31e neutrino: fix 32<->64bit format string warnings
use portable C99 format string macros for 64bit types to
fix many warnings when compiling for 64bit architectures,
add some (int) casts for size_t
2013-02-21 15:47:18 +01:00
micha-bbg
9be5730183 * src/eitd/sectionsd.cpp: Calling function 'Sleep()' restored 2013-02-21 06:23:23 +01:00
Jacek Jendrzej
1df14bd8af src/eitd/sectionsd.cpp fix compil unused variable 'rs' 2013-02-20 21:13:52 +01:00
Stefan Seyfried
c5ef1bf14c sectionsd: only step time if difference is > 2min
in order to avoid unnecessary system time jumps, only step time
if the difference is bigger than 120 seconds, else use adjtime

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-02-20 21:10:52 +01:00
Stefan Seyfried
e7dd3083e6 sectionsd: silence debug spam
disable some debug messages, remove unneeded newlines
from other messages

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-02-20 21:06:27 +01:00
Stefan Seyfried
a0cefea55a sectionsd: retry getting eit_version
Sometimes at first start, the cn thread does not fetch the EIT version
and thus automatic updates don't work. The cause of this is not 100%
clear, for now let's add a workaround to try a bit longer fetching it.

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-02-20 21:05:38 +01:00
[CST] Focus
6174c657a1 Merge branch 'dvbsi++' into next 2013-02-13 15:34:41 +04:00
micha-bbg
6e9cc3d837 sectionsd.cpp: Remove invalid events (duration <= 1 sec.) from event list 2013-02-12 15:45:27 +01:00
[CST] Bas
8dfa226920 neutrino: fix file locations. use the predetermined CONFIGDIR instead of hardcoding paths. 2013-01-25 10:33:40 +08:00
[CST] Focus
fac86b3bdb eitd/sectionsd.cpp: fix different uclibc/glibc malloc_stats 2013-01-11 15:13:21 +04:00
[CST] Bas
fbc512889f Merge branch 'dvbsi++' of coolstreamtech.de:cst-private-neutrino into neutrino-apollo 2012-09-24 15:28:48 +08:00
satbaby
324a4721f4 sectionsd.cpp:-fix search mode 2012-09-16 20:15:38 +02:00
satbaby
c7e764f93c sectionsd.cpp:-fix channelID 2012-09-16 16:42:26 +02:00
[CST] Bas
688f464bb6 Merge branch 'dvbsi++' of coolstreamtech.de:cst-private-neutrino into neutrino-apollo 2012-09-10 07:39:30 +08:00
[CST] Focus
95b6e12346 eitd/sectionsd.cpp: remove unused getChannelEvents() arg 2012-08-30 18:12:07 +04:00
[CST] Focus
7d1bb02f6a eitd/sectionsd.cpp: cleanup commands 2012-08-30 15:55:50 +04:00
[CST] Focus
8d02122425 eitd/sectionsd.cpp: add channel_id mask in getXXX 2012-08-30 14:46:57 +04:00
[CST] Focus
fb68bff086 eitd/sectionsd.cpp: move public functions to CEitManager class 2012-08-30 11:32:29 +04:00
satbaby
434ac74066 sectionsd.cpp: fix possible segfault 2012-08-08 22:05:33 +02:00
satbaby
9124c20f31 comment out never used 2012-08-04 10:03:19 +02:00
[CST] Focus
d8d42b26a0 eitd/sectionsd.cpp: add mutex to protect update demux 2012-07-24 15:12:06 +04:00
[CST] Bas
cf878686ba neutrino-apollo: changes for apollo uclibc. 2012-07-09 11:58:15 +08:00
satbaby
7d8d995046 use empty() instead of size() 2012-06-18 16:57:44 +02:00
satbaby
bc574e9688 use empty() instead of size() 2012-06-16 09:44:42 +02:00
satbaby
92f747d30c sectionsd.cpp: fix Segmentation fault if max_events == 0 2012-06-06 20:59:11 +02:00
[CST] Focus
a4a3d20667 eitd: change SIevents type to vector - no need to sort this temp list 2012-06-05 20:18:48 +04:00
[CST] Focus
dddc468bc9 eitd/sectionsd.cpp: try to fix occasional eit update demux error 2012-05-29 17:43:11 +04:00
[CST] Focus
0a0e92c0fa Merge branch 'dvbsi++' of coolstreamtech.de:cst-public-gui-neutrino into dvbsi++ 2012-05-29 16:52:50 +04:00
[CST] Focus
ace0f4828b eitd/sectionsd.cpp disable debug code 2012-05-29 13:26:47 +04:00
[CST] Focus
1cc3219c89 eitd: ifdef unused item/itemDescription, comment unused vps in SIevent 2012-05-29 13:12:35 +04:00
[CST] Focus
ba5047f5aa eitd/sectionsd.cpp: compare full channel id to wakeup eit -
on broken providers zap was not detected
2012-05-29 12:41:24 +04:00
[CST] Focus
0617fc8527 eitd/sectionsd.cpp: includes cleanup; fix compile without dvbsi++ event parse - to test memory fragmentation 2012-05-29 12:33:22 +04:00
svenhoefer
4eeca53fd6 - eitd: fix possible buffer overflow while writing egp-data (patch by FlatTV) 2012-05-24 21:06:28 +02:00
satbaby
8d22e72962 move unique sort to eventlist.cpp 2012-05-11 13:13:50 +02:00
satbaby
ff2ca4393d sectionsd.cpp:sort unique search-eventlist (fix tiny) 2012-05-11 12:33:59 +02:00
satbaby
37a3480006 sectionsd.cpp:sort unique search-eventlist (fix) 2012-05-11 12:21:43 +02:00
satbaby
a227ef5f6d sectionsd.cpp:sort unique search-eventlist 2012-05-11 12:00:52 +02:00
satbaby
489d88a9a2 initialize volues 2012-05-09 17:33:34 +02:00
[CST] Focus
a79e374cab eitd/sectionsd.cpp: fix invalid iterator compare from different sets 2012-05-09 18:24:23 +04:00
[CST] Focus
37a482d8e2 eitd/sectionsd.cpp: fix SIevent times.begin()-> access - times could be empty 2012-05-09 18:24:16 +04:00
[CST] Focus
8e06495776 comment some found not used variables 2012-05-08 16:18:16 +04:00
satbaby
520cf0e150 eitd: -fix read/write epg collision 2012-05-08 13:55:47 +02:00
[CST] Focus
9fc50cdf98 eitd/sectionsd.cpp: delete C/N events on cleanup 2012-05-05 14:12:16 +04:00
[CST] Focus
5fe2159cab eitd/sectionsd.cpp: split commandFreeMemory, call FreeMemory at exit if configured 2012-05-02 17:53:42 +04:00
satbaby
bb347b3a44 performance Prefer prefix ++/-- operators for non-primitive types. 2012-04-28 10:56:27 +02:00