mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-17 18:33:35 +02:00
Merge branch 'cst-next' into nmp-cst-next
- Fix merge conflicts
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7a3c90fccf
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2016-08-19 (Fri, 19 Aug 2016)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -182,6 +182,8 @@ void SIevent::parse(Event &event)
|
||||
{
|
||||
int tsidonid = (transport_stream_id << 16) | original_network_id;
|
||||
time_t start_time = parseDVBtime(event.getStartTimeMjd(), event.getStartTimeBcd());
|
||||
extern long int secondsExtendedTextCache;
|
||||
time_t now = time(NULL);
|
||||
|
||||
running = event.getRunningStatus();
|
||||
|
||||
@@ -226,6 +228,8 @@ void SIevent::parse(Event &event)
|
||||
}
|
||||
case EXTENDED_EVENT_DESCRIPTOR:
|
||||
{
|
||||
if(now && secondsExtendedTextCache && start_time > now + secondsExtendedTextCache)
|
||||
continue;
|
||||
const ExtendedEventDescriptor *d = (ExtendedEventDescriptor*) *dit;
|
||||
std::string lang = d->getIso639LanguageCode();
|
||||
std::transform(lang.begin(), lang.end(), lang.begin(), tolower);
|
||||
|
Reference in New Issue
Block a user