kiall / android-tvheadend

Android + TV Headend + TV Input Framework
Apache License 2.0
191 stars 61 forks source link

Wrong EPG time #219

Closed Marcinbar closed 6 years ago

Marcinbar commented 6 years ago

Client use time from the device. When time on device is wrong then you can see "no title" in epg.

Maybe client should use time from the server. I am found getSysTime methods to do this on this site https://tvheadend.org/projects/tvheadend/wiki/Htsp

kiall commented 6 years ago

We can't correct the time on the device, or use a different reference clock for displaying EPG data, is there a reason the clock on the device can't be set correctly? It seems like this would fix this issue, and probably issues with other apps too?

Marcinbar commented 6 years ago

When i set time and date manualy then is fine. When device set correct time and date from server ntp then is fine. But when i reboot device without internet connection clock reset to default (01.01.2015 01:00am) then epg does not display correctly data.

Server and client is the same device.

kiall commented 6 years ago

There's really nothing I can do here, I tell Android what time the program is on, and Android shows it at the right time, I don't have the ability to offset this when your clock is wrong, or sync it to tvheadend's clock.

If your devices clock is wrong, you should fix the clock! If the device doesn't keep the time after a reboot, you should file a bug with the manufacturer - I can't fix that (I know, the chances of that actually getting a fix are slim to none, but there really is nothing I can do on this side!)