mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
remove obsolete rtl workarounds (thx Gaucho316)
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1492 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: 339b869b64
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-05-25 (Wed, 25 May 2011)
Origin message was:
------------------
- remove obsolete rtl workarounds (thx Gaucho316)
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1492 e54a6e83-5905-42d5-8d5c-058d10e6a962
------------------
This commit was generated by Migit
This commit is contained in:
@@ -171,18 +171,9 @@ void EventList::readEvents(const t_channel_id channel_id)
|
||||
}
|
||||
// Houdini added for Private Premiere EPG, start sorted by start date/time
|
||||
sort(evtlist.begin(),evtlist.end(),sortByDateTime);
|
||||
// Houdini: dirty workaround for RTL double events, remove them
|
||||
CChannelEventList::iterator e2;
|
||||
for ( e=evtlist.begin(); e!=evtlist.end(); ++e )
|
||||
{
|
||||
e2 = e+1;
|
||||
if ( e2!=evtlist.end() && (e->startTime == e2->startTime)) {
|
||||
evtlist.erase(e2);
|
||||
}
|
||||
}
|
||||
|
||||
timerlist.clear();
|
||||
g_Timerd->getTimerList (timerlist);
|
||||
|
||||
}
|
||||
|
||||
current_event = (unsigned int)-1;
|
||||
|
Reference in New Issue
Block a user