Commit Graph

82 Commits

Author SHA1 Message Date
Jacek Jendrzej
f9a2d11b5d sectionsd: -fix possible buf overflow & skip read EPG cache if index.tmp available
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2123 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 1378d78557
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-02-25 (Sat, 25 Feb 2012)



------------------
This commit was generated by Migit
2012-02-25 18:56:50 +00:00
Jacek Jendrzej
71e542ceaa sectionsd: -fix possible buf overflow & skip read EPG cache if index.tmp available
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2122 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: a397eaef58
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-02-25 (Sat, 25 Feb 2012)



------------------
This commit was generated by Migit
2012-02-25 18:11:19 +00:00
Jacek Jendrzej
b610a6975e sectionsd: delete events with vector list
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2081 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: e65cd22ebe
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-02-01 (Wed, 01 Feb 2012)



------------------
This commit was generated by Migit
2012-02-01 13:07:42 +00:00
Jacek Jendrzej
17c12418ec sectionsd: remove never used var &6 init var
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2080 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 369e67d26c
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-02-01 (Wed, 01 Feb 2012)



------------------
This commit was generated by Migit
2012-02-01 13:00:25 +00:00
Stefan Seyfried
b246938b29 sectionsd: add sectionsd_isReady function
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1743 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 1564c1d9ca
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-10-03 (Mon, 03 Oct 2011)



------------------
This commit was generated by Migit
2011-10-03 17:51:10 +00:00
gixxpunk
f826a2df0a optional usage of busybox ntpd instead of ntpdate (enable it via CFLAGS: -DUSE_BB_NTPD)
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1664 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 5fd34b84ac
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-09-04 (Sun, 04 Sep 2011)

Origin message was:
------------------
- optional usage of busybox ntpd instead of ntpdate (enable it via CFLAGS: -DUSE_BB_NTPD)

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1664 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
2011-09-04 17:28:40 +00:00
Stefan Seyfried
9ab19539e4 CBouquetManager/sectionsd: get rid of (char *) casts left over from rev 117
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1552 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: f0f2c77166
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-06-19 (Sun, 19 Jun 2011)



------------------
This commit was generated by Migit
2011-06-19 20:26:21 +00:00
Stefan Seyfried
b491774013 sectionsd: improve deletion of surplus events in addEvent()
If the number of events is bigger than the configured maximum, first
remove old events and only if there are none left start removing the
most future events.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1543 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 418be814a8
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-06-13 (Mon, 13 Jun 2011)



------------------
This commit was generated by Migit
2011-06-13 15:53:34 +00:00
gixxpunk
b7b76f8779 sectionsd: disable removeDupEvents()
-> after two days of testing and logging removeDupEvents() did not nemove one single event. So disable it by flipping the CFLAG definition.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1537 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 0fc88a4515
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-06-09 (Thu, 09 Jun 2011)

Origin message was:
------------------
- sectionsd: disable removeDupEvents()

-> after two days of testing and logging removeDupEvents() did not nemove one single event. So disable it by flipping the CFLAG definition.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1537 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
2011-06-09 15:32:12 +00:00
gixxpunk
0a21a88274 sectionsd: remove superflous argument table_id in addEvent() (patch by Gaucho613)
-> this saves about 3% RAM with ~25000 events in use

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1536 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: c9cfbe31d7
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-06-09 (Thu, 09 Jun 2011)

Origin message was:
------------------
- sectionsd: remove superflous argument table_id in addEvent() (patch by Gaucho613)

-> this saves about 3% RAM with ~25000 events in use

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1536 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
2011-06-09 15:28:11 +00:00
gixxpunk
79fc7d2421 sectionsd: reenable removeDupEvents() but give people who do not need this feature the ability to disable it with -DNO_REMOVE_DUPS via CFLAGS
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1526 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 130c38499b
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-06-07 (Tue, 07 Jun 2011)

Origin message was:
------------------
- sectionsd: reenable removeDupEvents() but give people who do not need this feature the ability to disable it with -DNO_REMOVE_DUPS via CFLAGS

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1526 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
2011-06-07 15:51:07 +00:00
gixxpunk
70aebf47fc sectionsd: revert rev. 1489 as it simply removed too much events
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1525 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4489e4143e
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-06-07 (Tue, 07 Jun 2011)

Origin message was:
------------------
- sectionsd: revert rev. 1489 as it simply removed too much events

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1525 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
2011-06-07 15:43:43 +00:00
gixxpunk
ca621a9c6b sectionsd: improved addEvent-handling. This makes removeDupEvents() obsolete and even beats double events on ServusTV and other broadcasters which do not honor the specs. (Patch by Gauch316 -> http://www.dbox2world.net/board293-coolstream-hd1/board314-coolstream-development/p131104-seife-removedupevents/#post131104)
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1511 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: f8192e17c6
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-06-05 (Sun, 05 Jun 2011)

Origin message was:
------------------
- sectionsd: improved addEvent-handling. This makes removeDupEvents() obsolete and even beats double events on ServusTV and other broadcasters which do not honor the specs. (Patch by Gauch316 -> http://www.dbox2world.net/board293-coolstream-hd1/board314-coolstream-development/p131104-seife-removedupevents/#post131104)

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1511 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
2011-06-05 10:40:33 +00:00
gixxpunk
88ebba9ecd sectionsd: refresh itemDescription & item (patch by Gaucho316)
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1506 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 57caff6485
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-06-03 (Fri, 03 Jun 2011)

Origin message was:
------------------
- sectionsd: refresh itemDescription & item (patch by Gaucho316)

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1506 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
2011-06-03 17:55:43 +00:00
Jacek Jendrzej
cf15f33903 reformat wiith unix2dos & astyle
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1495 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 7dab3d9e3e
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-05-26 (Thu, 26 May 2011)



------------------
This commit was generated by Migit
2011-05-26 20:23:16 +00:00
Jacek Jendrzej
8a981ec482 version check limited to actual transport stream
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1493 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: cd70dc8472
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-05-25 (Wed, 25 May 2011)



------------------
This commit was generated by Migit
2011-05-25 19:52:42 +00:00
Jacek Jendrzej
25799ff3f1 workaround: for save duplicate
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1489 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: cd4669d31b
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-05-24 (Tue, 24 May 2011)



------------------
This commit was generated by Migit
2011-05-24 15:03:51 +00:00
Jacek Jendrzej
cab62b6239 fix
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1487 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9b87fbf8ec
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-05-24 (Tue, 24 May 2011)

Origin message was:
------------------
-fix

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1487 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
2011-05-24 13:51:42 +00:00
Jacek Jendrzej
490d015306 fix Freesat-EPG, thx Houdini & bazi98
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1486 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 90c5683746
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-05-23 (Mon, 23 May 2011)

Origin message was:
------------------
-fix Freesat-EPG, thx Houdini & bazi98

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1486 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
2011-05-23 18:50:35 +00:00
Stefan Seyfried
6f8f6af3ab sectionsd: add debug method to stop startup until EPG is read
This allows for more consistent benchmarking of the event insertion
code. It is not intended for usage in normal setup. Read the comment.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1484 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 162a8c5945
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-05-22 (Sun, 22 May 2011)



------------------
This commit was generated by Migit
2011-05-22 16:25:25 +00:00
gixxpunk
95a213bb69 remove dup getName() call and add a small fix for vps (thx Gaucho316)
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1480 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: b172a0ef7c
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-05-17 (Tue, 17 May 2011)

Origin message was:
------------------
- remove dup getName() call and add a small fix for vps (thx Gaucho316)

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1480 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
2011-05-17 20:31:40 +00:00
Stefan Seyfried
37b74eadd3 sectionsd: more optimization of addEvent() (thanks Gaucho316)
This saves an SIevent constructor by temporarily modifying the
already created event. Also slightly reduces code size.
Performance impact: ~6.5% when reading 25000 events from disk on
coolstream, almost not noticeable (< 1%) on tripledragon.
The idea came from Gaucho316.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1479 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 9b04ffbb41
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-05-17 (Tue, 17 May 2011)



------------------
This commit was generated by Migit
2011-05-17 20:01:10 +00:00
Jacek Jendrzej
e36876cb1e oops
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1477 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: b9d090e112
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-05-16 (Mon, 16 May 2011)



------------------
This commit was generated by Migit
2011-05-16 11:14:39 +00:00
Jacek Jendrzej
f1bc5e2083 revert change 1429
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1476 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: f9ea5bf74f
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-05-16 (Mon, 16 May 2011)



------------------
This commit was generated by Migit
2011-05-16 11:09:59 +00:00
Stefan Seyfried
7d42c4fc6d sectionsd: optimize the slow_addevent case a bit more
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1475 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 2fbbef4e34
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-05-16 (Mon, 16 May 2011)



------------------
This commit was generated by Migit
2011-05-15 23:53:27 +00:00
Stefan Seyfried
45c9a2685b sectionsd: optimize the slow_addevent case a tiny bit (10%)
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1474 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4a49fb4083
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-05-15 (Sun, 15 May 2011)



------------------
This commit was generated by Migit
2011-05-15 21:19:31 +00:00
Stefan Seyfried
4a72625339 sectionsd: don't even add duplicate events
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1473 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: c492fb671b
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-05-15 (Sun, 15 May 2011)



------------------
This commit was generated by Migit
2011-05-15 10:54:58 +00:00
Stefan Seyfried
d5a13b8159 sectionsd: reduce removeDupEvents verbosity
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1472 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 43a18977ed
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-05-13 (Fri, 13 May 2011)



------------------
This commit was generated by Migit
2011-05-13 17:03:40 +00:00
Stefan Seyfried
162ab33d64 sectionsd: enable slow_addevent by default
Only very little people are apparently testing this code path, so make
it opt-out instead of opt-in :-)

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1446 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8a062b0ee5
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-05-08 (Sun, 08 May 2011)



------------------
This commit was generated by Migit
2011-05-08 11:16:12 +00:00
Jacek Jendrzej
5022565e1c forget in last commit
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1429 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: da2c6d5683
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-05-03 (Tue, 03 May 2011)



------------------
This commit was generated by Migit
2011-05-03 20:52:51 +00:00
Jacek Jendrzej
276a6e0037 replace if version != version
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1428 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 57bc001832
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-05-03 (Tue, 03 May 2011)



------------------
This commit was generated by Migit
2011-05-03 19:49:54 +00:00
Jacek Jendrzej
a5273063c9 fix event version handling
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1427 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 3770af64b0
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-05-03 (Tue, 03 May 2011)

Origin message was:
------------------
-fix event version handling

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1427 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
2011-05-03 15:06:32 +00:00
Jacek Jendrzej
0b9dee42e8 tiny fix
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1423 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: aa7fa768b8
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-05-02 (Mon, 02 May 2011)



------------------
This commit was generated by Migit
2011-05-02 11:47:38 +00:00
Jacek Jendrzej
f52c110de2 sectionsd: -add replae event if new version
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1422 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 517a305980
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-05-02 (Mon, 02 May 2011)



------------------
This commit was generated by Migit
2011-05-02 11:21:15 +00:00
Stefan Seyfried
a6ef144d53 sectionsd: avoid duplicate events
When adding a new event remove others with the same start time and the
same service id, but possibly different event id.
This reduces the number of duplicates significantly, and is basically
similar to what other projects are doing for this case.

Due to the significant overhead this needs to be explicitly enabled by
exporting the TEST_ADDEVENT environment variable before starting
neutrino for now. Please test and report your findings to the mailing
list.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1410 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 4ed9e079ae
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-04-17 (Sun, 17 Apr 2011)



------------------
This commit was generated by Migit
2011-04-17 17:36:53 +00:00
Stefan Seyfried
c3228a6b53 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


Origin commit data
------------------
Branch: ni/coolstream
Commit: 95e1d38529
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-04-17 (Sun, 17 Apr 2011)



------------------
This commit was generated by Migit
2011-04-17 17:36:51 +00:00
Stefan Seyfried
73d827b1c3 sectionsd: add timing info to 'reading saved EPG' message
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1406 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 48ac30ddb9
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-04-17 (Sun, 17 Apr 2011)



------------------
This commit was generated by Migit
2011-04-16 22:11:21 +00:00
Stefan Seyfried
f058884920 sectionsd: fix iterator type mismatch
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1405 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: b52d414d97
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-04-16 (Sat, 16 Apr 2011)



------------------
This commit was generated by Migit
2011-04-16 21:57:29 +00:00
Stefan Seyfried
f3ec52aa05 sectionsd: don't take any chances in deleteEvent()
Just take the write lock right away, to make sure nothing changes the
event lists behind our backs and possibly corrupts the iterator.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1392 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: df3d2fbc3b
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-04-11 (Mon, 11 Apr 2011)



------------------
This commit was generated by Migit
2011-04-11 17:17:39 +00:00
Stefan Seyfried
76711ee4e6 sectionsd: un-break removeDupEvents()
The crashes probably were caused by the iterator being invalid
due to concurrent insertion and deletion of events.
An obvious fix is to collect the list of events to delete while
holding the read lock, and later deleting them all in an extra loop.
Turned out to be less complicated than I originally expected ;)
TODO: audit the sectionsd code for similar stuff in other places.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1391 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: c5ae25e66d
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-04-11 (Mon, 11 Apr 2011)



------------------
This commit was generated by Migit
2011-04-11 17:17:37 +00:00
gixxpunk
fa641650ae revert to rev. 1387
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1390 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6395258913
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-04-11 (Mon, 11 Apr 2011)

Origin message was:
------------------
- revert to rev. 1387

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1390 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
2011-04-11 15:01:24 +00:00
Jacek Jendrzej
1950e5f714 test remove2
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1389 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: ca8a298d83
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-04-11 (Mon, 11 Apr 2011)



------------------
This commit was generated by Migit
2011-04-11 14:23:15 +00:00
Jacek Jendrzej
43d319055e test remove
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1388 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 5f8ed77fc1
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2011-04-11 (Mon, 11 Apr 2011)



------------------
This commit was generated by Migit
2011-04-11 14:01:36 +00:00
Stefan Seyfried
af982d4193 sectionsd: disable removeDupEvents() for now
removeDupEvents has some yet to be discovered design problem which
leads to crashes after some time, which smell like stack corruption
or locking issues wrt. the event lists
Obviously it needs some more thought, so disable it for now.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1386 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: f9250015c7
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-04-11 (Mon, 11 Apr 2011)



------------------
This commit was generated by Migit
2011-04-11 06:26:51 +00:00
Stefan Seyfried
0cddc37cfa sectionsd: use better event set for removeDupEvents()
Use the set of events which is sorted by start time and
service id intead of the one sorted by end time to iterate
through the list of events. Fixes a mysterious crash on ppc.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1385 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 8f704427b8
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-04-11 (Mon, 11 Apr 2011)



------------------
This commit was generated by Migit
2011-04-10 22:21:42 +00:00
Stefan Seyfried
6c07a3f2a7 sectionsd: remove duplicate events with different eventIDs
Sometimes the playout centers seem to "renumber" the events, leading
to duplicates.
This "removeDupEvents()" checks for events from the same service, with
identical start time and duration. If it finds such events, it keeps
the one with the lower (== more recent) table_id.
This check is run from the hosekeeping thread.
It could be extended to also remove overlapping events, but this is
potentially more dangerous and can be implemented later still.

As this code is experimental, it is pretty noisy for now. The debugging
output should be toned down later.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1384 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 13b67c5da5
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-04-10 (Sun, 10 Apr 2011)



------------------
This commit was generated by Migit
2011-04-10 18:10:27 +00:00
Stefan Seyfried
f02fec6579 sectionsd: replace existing events with event from lower table ID
If we get a new epg event whose eventID is already existing, still
replace the existing event if the table ID of the new event is lower.
This comes from the observation that the lower table IDs have the
"more current" events:
Table 0x60-0x6f: other TS, scheduled
 0x50-0x5f: current TS, scheduled
 0x4f: other TS, current/next
 0x4e: current TS, current/next
So, at at least in theory, an event from table 0x4e should always be
"better" than one from 0x60.
If you see any regressions, don't hesitate to report them.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1382 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 04bd1ce20b
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-04-09 (Sat, 09 Apr 2011)

Origin message was:
------------------
sectionsd: replace existing events with event from lower table ID

If we get a new epg event whose eventID is already existing, still
replace the existing event if the table ID of the new event is lower.
This comes from the observation that the lower table IDs have the
"more current" events:
Table 0x60-0x6f: other TS,  scheduled
   0x50-0x5f: current TS, scheduled
   0x4f:   other TS,  current/next
   0x4e:   current TS, current/next
So, at at least in theory, an event from table 0x4e should always be
"better" than one from 0x60.
If you see any regressions, don't hesitate to report them.

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1382 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
2011-04-09 16:35:16 +00:00
Stefan Seyfried
bb61bf9995 sectionsd: add table ID to event data
record the originating table ID with every event
if not set (e.g. for events read from saved data), it defaults
to 0xff to make sure it is bigger than a real existing table ID

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1381 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 72149b63a4
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-04-09 (Sat, 09 Apr 2011)



------------------
This commit was generated by Migit
2011-04-09 16:35:14 +00:00
[CST] Focus
3a7fc46be5 Workaround for new COsdLangSetup, which not send configured preffered languages to sectionsd at startup
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1345 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 0651464007
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2011-03-28 (Mon, 28 Mar 2011)



------------------
This commit was generated by Migit
2011-03-28 09:49:18 +00:00
Stefan Seyfried
2c7ea22a9f get rid of HAVE_DVB_API_VERSION define
remove non-working legacy code

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1289 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 6efb0d5e47
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-03-12 (Sat, 12 Mar 2011)



------------------
This commit was generated by Migit
2011-03-12 12:36:13 +00:00