Kodi Community Forum
Bug PVR EPG updateemptytagsinterval in seconds while wiki/kodi setting state minutes - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136)
+---- Thread: Bug PVR EPG updateemptytagsinterval in seconds while wiki/kodi setting state minutes (/showthread.php?tid=340370)



PVR EPG updateemptytagsinterval in seconds while wiki/kodi setting state minutes - AnonTester - 2019-02-05

Added to advancedsettings.xml and restarted kodi:
Quote:  <epg>
    <updatecheckinterval>1500</updatecheckinterval>
    <updateemptytagsinterval>2880</updateemptytagsinterval>
  </epg>

Update frequency for an empty EPG is every 50 minutes with the 2880 'minutes' setting:
Quote:12:41:37.850 T:140060007585536 NOTICE: EPG thread started
12:41:38.851 T:140059890153216 NOTICE: AddOnLog: PVR IPTV Simple Client: EPG file path is not configured. EPG not loaded.
13:31:38.410 T:140059890153216 NOTICE: AddOnLog: PVR IPTV Simple Client: EPG file path is not configured. EPG not loaded.
14:21:38.919 T:140059890153216 NOTICE: AddOnLog: PVR IPTV Simple Client: EPG file path is not configured. EPG not loaded.
It appears the updateemptytagsinterval setting is interpreted as seconds and not in minutes as the wiki states.
https://kodi.wiki/view/Advancedsettings.xml#epg

This post from 2015 noted a seconds/minutes issue as well: https://forum.kodi.tv/showthread.php?tid=237109

https://github.com/xbmc/xbmc/blob/master/xbmc/settings/AdvancedSettings.cpp
It appears the default is set to 1 minute for empty EPGs and 5 minutes for regular updates here.

I can't see references to the updatecheckinterval / epg.epgupdate user setting from the default Kodi settings -> PVR -> Guide menu in the EPG code here https://github.com/xbmc/xbmc/blob/master/xbmc/pvr/epg/Epg.cpp and I'm wondering if the user setting is ignored and therefore an advancedsettings entry is required?

Related feature request/discussion point:
For empty EPG urls, what's the point in checking it over and over again anyway? Wouldn't it make more sense to stop checks when initialising and no URL is available? A url won't automagically appear.


RE: PVR EPG updateemptytagsinterval in seconds while wiki/kodi setting state minutes - AnonTester - 2019-02-05

This happens on latest Kodi 18.1RC1 nightly, 18.1-RC1 Git:20190205-35a2613 Media Center Kodi
Ubuntu Linux 18.04.1 kernel 4.15.0-45