Commit Graph

132 Commits

Author SHA1 Message Date
[CST] Focus
f816efadc6 eitd/sectionsd.cpp: try to fix filter restart on service stop 2014-12-23 19:08:01 +03:00
[CST] Focus
c4a8d40853 eitd/sectionsd.cpp: fix busywait loop after service stop 2014-12-05 14:44:48 +03:00
svenhoefer
e21a79195e - add epg_save_frequently feature ...
... to provide the EPG data in frequently intervals on an external device
2014-12-05 09:08:56 +01:00
[CST] Focus
320c3b163c gui/miscsettings_menu.cpp: fix settings sectionsd config 2014-10-20 11:16:14 +04:00
martii
0bcff8b930 eitd: Reduce sectionsd memory requirements:
* Various EPG related strings (language- and country keys, audio descriptions) come with a pretty low variance. Cache them, and use an index instead of allocating redundant strings for each and every SIevent.
* Storing content classifications in native format instead of std::string removes quite some memory overhead, too.

This saves about 250 bytes of RAM for every event cached, resulting in a considerably reduced sectionsd memory footprint.

Conflicts:
	src/eitd/xmlutil.cpp
2014-09-15 10:16:30 +04:00
[CST] Focus
3513f9830a neutrino: stop EIT read before zap 2014-09-02 12:59:21 +04:00
[CST] Focus
a473fe8194 webtv channels integration port,
initial code (C) martii,
initial patch from jacek
2014-08-27 17:32:26 +04:00
Jacek Jendrzej
f1028f0d16 eitd/sectionsd.cpp void addEven: crash fix, do not use iterator without locking 2014-04-09 16:57:56 +02:00
[CST] Focus
201022450c eitd/sectionsd.cpp: check myCurrentEvent for expire before using it 2014-02-05 14:02:46 +04:00
Stefan Seyfried
1acddb37bf sectionsd: don't hardcode ntpdate and ntpd path 2014-01-26 21:43:52 +01:00
Stefan Seyfried
17ba068850 sectionsd: set time at start, even if diff is <120s 2013-12-26 13:37:28 +01:00
[CST] Focus
c57f0385c6 eitd/sectionsd.cpp: try to fix messaging_zap_detected flag 2013-12-21 14:03:35 +04:00
[CST] Focus
5acfcb9dee eitd/sectionsd.cpp: remove old events also when not scanning,
ie in standby, every 1 hour
2013-12-20 16:43:37 +04:00
[CST] Focus
0a831b87a0 eitd/sectionsd.cpp: do not send EVT_EIT_COMPLETE, if scanning paused 2013-10-10 19:01:46 +04:00
Jacek Jendrzej
6321bd1810 eitd: -fix wakeup epg scan with max_events==0 2013-10-02 17:50:49 +02:00
[CST] Focus
537a60fe6b eitd/sectionsd.cpp: add getEventsCount() 2013-09-27 16:27:21 +04:00
[CST] Focus
db027d50ea eitd/sectionsd.cpp: disable ntpd daemonize 2013-08-08 10:57:18 +04:00
[CST] Focus
28af6c810b eitd/sectionsd.cpp: check is /sbin/ntpdate present, use ntpd if not 2013-08-07 17:47:28 +04:00
[CST] Focus
450099e04d eitd/sectionsd.cpp: wakeup threadEIT only, if case demux number is not 0 (live)
and cached events count less than max;
set full channel_id as current service for threadEIT
2013-06-12 18:46:34 +04:00
Jacek Jendrzej
09bd2c98e9 CEitManager::getEventsServiceKey - simplification - THX Gaucho316 2013-06-03 21:37:47 +02:00
Jacek Jendrzej
1a1be2a82f eitd: addEvent - fix possible segfault if lastEvent==NULL 2013-05-26 18:44:52 +02:00
Jacek Jendrzej
35bac1ff40 CNeutrinoEventList::findEvents - add search all epg option 2013-05-17 21:08:09 +02:00
Jacek Jendrzej
63bb0996da CNeutrinoEventList::findEvents - speedup search in all channelList 2013-05-15 14:39:09 +02:00
Stefan Seyfried
b1e0fcb0c8 sectionsd: fix memleak with unused events 2013-04-17 10:21:33 +04:00
[CST] Focus
aa60c85768 Merge branch 'next' of coolstreamtech.de:cst-public-gui-neutrino into next
Conflicts:
	lib/libconfigfile/configfile.cpp
	src/system/setting_helpers.cpp
	src/zapit/src/femanager.cpp
2013-03-07 17:10:57 +04:00
Stefan Seyfried
3d386649a9 sectionsd: trim CN thread debug messages
* disable DEBUG_CN_THREAD
* shorten eit update filter message
* remove unneeded printdata_ms

Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-03-06 10:15:55 +01:00
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