Skip to content
Browse files

vdr-plugin-vnsiserver: fix a bug in epg auto update

  • Loading branch information...
1 parent 0c2595a commit e42171588a51604fb7ec2a1ffd1f05f81eee2169 @FernetMenta FernetMenta committed Dec 4, 2013
Showing with 2 additions and 5 deletions.
  1. +2 −5 addons/pvr.vdr.vnsi/vdr-plugin-vnsiserver/vnsiclient.c
View
7 addons/pvr.vdr.vnsi/vdr-plugin-vnsiserver/vnsiclient.c
@@ -274,15 +274,12 @@ void cVNSIClient::EpgChange()
uint32_t channelId = CreateStringHash(schedule->ChannelID().ToString());
it = m_epgUpdate.find(channelId);
- if (it == m_epgUpdate.end())
+ if (it != m_epgUpdate.end() && it->second >= lastEvent->StartTime())
{
continue;
}
- if (it->second >= lastEvent->StartTime())
- continue;
-
- INFOLOG("Trigger EPG update for channel %s", channel->Name());
+ INFOLOG("Trigger EPG update for channel %s, id: %d", channel->Name(), channelId);
cResponsePacket *resp = new cResponsePacket();
if (!resp->initStatus(VNSI_STATUS_EPGCHANGE))

0 comments on commit e421715

Please sign in to comment.
Something went wrong with that request. Please try again.