diff --git a/pvr.iptvsimple/addon.xml.in b/pvr.iptvsimple/addon.xml.in index f43887e6..b2dd592c 100644 --- a/pvr.iptvsimple/addon.xml.in +++ b/pvr.iptvsimple/addon.xml.in @@ -1,7 +1,7 @@ @ADDON_DEPENDS@ diff --git a/src/IptvSimple.cpp b/src/IptvSimple.cpp index 3f476839..ea8b63a0 100644 --- a/src/IptvSimple.cpp +++ b/src/IptvSimple.cpp @@ -160,6 +160,8 @@ void IptvSimple::Process() { std::this_thread::sleep_for(std::chrono::milliseconds(1000)); + Logger::Log(LEVEL_DEBUG, "%s - ReloadChannelsGroupsAndEPG", __func__); + m_settings->ReloadAddonInstanceSettings(); m_playlistLoader.ReloadPlayList(); m_epg.ReloadEPG(); // Reloading EPG also updates media diff --git a/src/iptvsimple/Epg.cpp b/src/iptvsimple/Epg.cpp index 66efbca5..13ca937b 100644 --- a/src/iptvsimple/Epg.cpp +++ b/src/iptvsimple/Epg.cpp @@ -392,6 +392,8 @@ PVR_ERROR Epg::GetEPGForChannel(int channelUid, time_t epgWindowStart, time_t ep if (myChannel.GetUniqueId() != channelUid) continue; + Logger::Log(LEVEL_DEBUG, "%s - Getting EPG for Channel: %s", __FUNCTION__, myChannel.GetName().c_str()); + if (epgWindowStart > m_lastStart || epgWindowEnd > m_lastEnd) { // reload EPG for new time interval only