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:
Michael Liebmann
2016-08-19 17:40:48 +02:00
260 changed files with 8682 additions and 4001 deletions

View File

@@ -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);