Commit Graph

144 Commits

Author SHA1 Message Date
[CST] Focus
b91347e99a eitd/sectionsd.cpp: fix ntp_system_cmd in case ntpdate not found 2015-06-05 16:26:42 +03:00
[CST] Focus
b230f63d85 eitd/sectionsd.cpp: remove useless IS_WEBTV check on event channel id 2015-06-02 12:26:44 +03:00
TangoCash
eb81369965 add VIASAT EPG based on martii 2015-05-15 03:46:50 +02:00
Thilo Graf
76ca33de9f CTimeThread: sectionsd.cpp: use thread save localtime_r 2015-03-29 22:40:04 +02:00
Thilo Graf
d58679f42d CEitManager: use unified binary search for ntp 2015-03-29 22:40:00 +02:00
Jacek Jendrzej
22399f73e2 chhecking if epgdir directory exists for frequently save 2015-03-24 21:00:44 +01:00
[CST] Focus
5d9e7a814d eitd: ignore neutrino epg filter, if filter was configured from xml 2015-02-15 12:57:29 +03:00
[CST] Focus
e8700de2b7 eitd: as long as neutrino using only first content classification,
reduce content classification caching (leaving old code with ifdef)
2015-01-30 19:47:30 +03:00
[CST] Focus
486d3692a6 eitd: add API to configure white EPG filter 2015-01-22 18:58:53 +03:00
[CST] Focus
d0593a5572 eitd/sectionsd.cpp: bugfix after ad9bf009da:
neutrino do set current channel to 0 in standby, too
2015-01-08 16:17:41 +03:00
[CST] Focus
ad9bf009da eitd/sectionsd.cpp: do not wakeup epg scan on service stop 2015-01-05 13:52:40 +03:00
Jacek Jendrzej
8e4af0b619 eitd: use check empty() instead of size() or length() 2015-01-01 19:02:41 +01:00
[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