mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
eitd: sectionsd after cleanup, dvbsi++ based, for testing
This commit is contained in:
@@ -62,6 +62,7 @@ void SIevent::parse(Event &event)
|
||||
uint8_t duration_hi = (duration >> 16) & 0xFF;
|
||||
uint8_t duration_mid = (duration >> 8) & 0xFF;
|
||||
uint8_t duration_lo = duration & 0xFF;
|
||||
|
||||
if (!((duration_hi == 0xff) && (duration_mid == 0xff) && (duration_lo == 0xff)))
|
||||
duration = ((duration_hi)>>4)*10*3600L + ((duration_hi)&0x0f)*3600L +
|
||||
((duration_mid)>>4)*10*60L + ((duration_mid)&0x0f)*60L +
|
||||
|
@@ -28,7 +28,7 @@
|
||||
#include <stdint.h>
|
||||
#include <string>
|
||||
|
||||
#define ENABLE_FREESATEPG //FIXME
|
||||
//#define ENABLE_FREESATEPG //FIXME
|
||||
|
||||
time_t changeUTCtoCtime(const unsigned char *buffer, int local_time=1);
|
||||
time_t parseDVBtime(uint16_t mjd, uint32_t bcd);
|
||||
|
@@ -61,7 +61,7 @@
|
||||
#include "eitd.h"
|
||||
#include "edvbstring.h"
|
||||
|
||||
#define ENABLE_SDT //FIXME
|
||||
//#define ENABLE_SDT //FIXME
|
||||
|
||||
// 60 Minuten Zyklus...
|
||||
#define TIME_EIT_SCHEDULED_PAUSE 60 * 60
|
||||
@@ -77,8 +77,8 @@ static bool sectionsd_ready = false;
|
||||
/*static*/ bool reader_ready = true;
|
||||
static unsigned int max_events;
|
||||
|
||||
//#define HOUSEKEEPING_SLEEP (5 * 60) // sleep 5 minutes
|
||||
#define HOUSEKEEPING_SLEEP (30) // FIXME 1 min for testing
|
||||
#define HOUSEKEEPING_SLEEP (5 * 60) // sleep 5 minutes
|
||||
//#define HOUSEKEEPING_SLEEP (30) // FIXME 1 min for testing
|
||||
#define META_HOUSEKEEPING (24 * 60 * 60) / HOUSEKEEPING_SLEEP // meta housekeeping after XX housekeepings - every 24h -
|
||||
|
||||
// Timeout bei tcp/ip connections in ms
|
||||
|
Reference in New Issue
Block a user