EPG is shifted on startup depending on timezone

  • Hi! I get this rather strange behavior that EPG is late by one hour after reboot. Here's what I gathered so far trying to troubleshoot:

    • Seems to happen only when timezone offset in Kodi matches the one in EPG I happen to use (tried Europe/Warsaw, Europe/Oslo). Switching timezone to something else like Pacific/Pitcairn solves the problem outright.
    • To fix the problem without changing zone I can do any of the following after boot:
      • restart Kodi service
      • clean EPG data from Television settings. This makes Kodi crash (not sure if it's related or not) after which Kodi restarts automatically
      • change timezone in Interface settings back and forth
    • The EPG data in Kodi database imported from IPTV Simple Client is always correct! Here's a script I use to verify:

    I'm using 12.2.1 with RPi 4. Has anyone else experienced something like this before or has any clue what's going on?

  • Does this happen with LE13 nightly images? .. not that we don't care about LE12.2, but no more releases are planned/likely and K22 removed timezone support; timezone is now set through LE settings and no longer defined within Kodi.

  • Sounds like a lot has changed in this regard I could certainly give it a shot. I'm just a little worried about running nightlies on production (family lol) system especially since new Kodi is still in alpha. I guess I can try cloning the SD card or at least backup the LE partition beforehand. Anyhow I'll let you know how it goes.

    I also noticed that connman itself has idea about timezones (connmanctl clock)

  • I've been running nightlies for the last ~2 years without drama (other than self-inflicted) despite the current Alpha tag.

    Just cp -R /storage/.kodi /storage/.kodi-backup before updating and you can revert back easily.