Skip to content

Commit

Permalink
Add some logging
Browse files Browse the repository at this point in the history
  • Loading branch information
phunkyfish committed Jan 29, 2025
1 parent 511b618 commit e2f4ffa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pvr.iptvsimple/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.iptvsimple"
version="21.10.1"
version="21.10.2"
name="IPTV Simple Client"
provider-name="nightik and Ross Nicholson">
<requires>@ADDON_DEPENDS@
Expand Down
2 changes: 2 additions & 0 deletions src/IptvSimple.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/iptvsimple/Epg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e2f4ffa

Please sign in to comment.