Commit Graph

63 Commits

Author SHA1 Message Date
TangoCash
9a4bd22793 mode xml epg delete direct into function 2022-09-12 20:13:11 +02:00
TangoCash
29731b1d2f log failed tp remove xml epg 2022-09-12 20:13:06 +02:00
Jacek Jendrzej
9b893f61bc xmlutil:readEventsFromXMLTV add epgid cache 2021-10-21 14:58:25 +02:00
Jacek Jendrzej
089df8d24f xmlutil:insertEventsfromXMLTV really make url not static 2021-10-21 13:54:15 +02:00
Jacek Jendrzej
01bd7d51d0 xmlutil:insertEventsfromXMLTV make url not static 2021-10-21 13:42:37 +02:00
Jacek Jendrzej
ede935bdce fix other reloadchannels segfault with getepgid 2021-10-20 16:35:40 +02:00
svenhoefer
08ee186b19 - introduce configurable ZAPITDIR
Conflicts:
	data/config/settingsupdate.conf.in

Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-10-20 09:22:20 +02:00
TangoCash
5c2c6d5f96 - xmlutil: try to fix xmltv for hd2 2021-10-13 05:08:19 +02:00
TangoCash
f8d3c34307 avoid possible segfault 2021-09-15 08:05:23 +02:00
TangoCash
cdbfe10b13 move xmltv epgmapping into own variable 2021-08-25 12:21:20 +02:00
Jacek Jendrzej
c5d977cd63 src/eitd/xmlutil.cpp log in DEBUG mode 2021-06-28 13:52:31 +02:00
svenhoefer
8344d07b20 - eitd/xmlutil: shorten console messages
Signed-off-by: Thilo Graf <dbt@novatux.de>
2021-06-19 10:32:19 +02:00
TangoCash
596d390297 fix epg mapping for multiple channels 2020-07-05 13:00:06 +02:00
TangoCash
01e6aeb2ed show in log where epg events come from 2020-07-04 23:04:09 +02:00
svenhoefer
54cbca936c - just indentation alignments; no other code changes
Signed-off-by: Thilo Graf <dbt@novatux.de>
2020-02-18 18:03:27 +01:00
svenhoefer
f88c398f87 - a bit more readability in latest changes
Signed-off-by: Thilo Graf <dbt@novatux.de>
2020-02-16 00:49:48 +01:00
svenhoefer
79a9c6dd44 - xmlutil: badass hack to read radio epg from xmltv.xml
Signed-off-by: Thilo Graf <dbt@novatux.de>
2020-02-16 00:48:52 +01:00
svenhoefer
2ef0caef83 - webradio-setup/controlapi: get webradio via xmltv
Signed-off-by: Thilo Graf <dbt@novatux.de>
2020-02-15 21:42:24 +01:00
Jacek Jendrzej
b1899de3f5 eitd:fix some compil warnings 2020-01-30 17:33:50 +01:00
limes007
2a74457000 sectionsd: unify and optimize debug messages
Signed-off-by: Thilo Graf <dbt@novatux.de>
2019-02-24 13:38:13 +01:00
TangoCash
aff3629fdb fix xmltv time offsets
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-10-28 19:41:22 +01:00
svenhoefer
f5754b74f2 - helpers: rework new random-functions to get the code more reuseable
* introduceand use LOGODIR_TMP (storage dir for webchannel logos)

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-10-02 23:24:52 +02:00
TangoCash
cf885b1027 implement own tmp function / satify compiler
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-02 17:21:58 +02:00
svenhoefer
3606c717d4 - eitd/sectionsdclient: unify new code and call it as it is ... it is XMLTV; ...
fix another compiler warning: the use of `tmpnam' is dangerous

Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-01 23:33:42 +02:00
TangoCash
a9bb08df0d add option to read (online) xmltv epg
Signed-off-by: Thilo Graf <dbt@novatux.de>
2018-09-01 19:43:33 +02:00
Stefan Seyfried
8dad062eff change time_monotonic_ms() from time_t to int64_t
time_monotonic_ms values did wrap every ~24 days, leading to problems
in code that did not cope with that. Instead of fixing all places where
relative comparisons with time_monotonic_ms() are made, just use a
bigger datatype. Convert all users to the new type.
2017-09-26 11:37:19 +02:00
Stefan Seyfried
13ab1ebc8a Merge remote-tracking branch 'tuxbox/master'
* needs compile fixes
* needs additional tests, of course :-)
2016-10-22 11:37:40 +02:00
Jacek Jendrzej
b4fccb307c src/eitd/xmlutil.cpp fix possible segfault 2016-04-17 20:04:15 +02:00
Stefan Seyfried
eeee5bacab Merge remote-tracking branch 'uncool/cst-next'
This need buildfixes and some functional updates...
2015-12-13 17:41:55 +01:00
[CST] Focus
fc52af49da eitd/xmlutil.cpp: add support to read epg from directory without index.xml 2015-06-02 12:26:49 +03:00
[CST] Focus
36cec7d41f eitd/xmlutil.cpp: split read events code 2015-06-02 12:26:17 +03:00
[CST] Focus
37a2fc42d7 eitd/xmlutil.cpp: change event file name to match channel id order 2015-05-26 13:27:42 +03:00
Jacek Jendrzej
422c91d117 add pugixml 2015-04-28 10:12:23 +02:00
Jacek Jendrzej
2c3ecf6183 change check dir to check with jffs2 (mtd) 2015-03-31 12:12:14 +02:00
Jacek Jendrzej
22399f73e2 chhecking if epgdir directory exists for frequently save 2015-03-24 21:00:44 +01:00
Jacek Jendrzej
8227a01592 xmlinterface use const char instand char 2015-03-20 12:05:22 +01:00
Jacek Jendrzej
40fe7fae34 prevent possible segfault std::string if value NULL 2015-03-20 11:57:12 +01:00
Stefan Seyfried
ae21edb141 remove useless sync() calls
unless we had serious kernel bugs, those sync() calls
serve no useful purpose
2015-02-25 21:43:41 +01:00
[CST] Focus
839f78b9e5 eitd/xmlutil.cpp: add sync() after epg save is done 2015-02-22 19:01:42 +03: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
Jacek Jendrzej
8e4af0b619 eitd: use check empty() instead of size() or length() 2015-01-01 19:02:41 +01: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
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
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
Stefan Seyfried
0a366a4ae4 sectionsd: on-disk epg data has lower priority than on-air data
Signed-off-by: Jacek Jendrzej <crashdvb@googlemail.com>
2013-02-20 21:19:05 +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
1f65f1bc80 eitd/xmlutil.cpp: fix crash, if epg data saved with older image -
item/item_description can be present and break parsing
2012-11-15 19:13:13 +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