When a channel has a lot of short programmes, often early morning children's programmes, the guide will either not display the current programme or will need to refresh almost immediately.
This is because the cache starts 6 hours before the current time but the API used will only return a maximum of 25 entries. The reason for asking for the previous 6 hours was to prevent a problem with overnight programs that run on for a long time stopping the current program display working.
Resolution will be to change the call to the API to use the end time rather than start time. This should resolve the overnight problem, plus mean that we don't have to cache a lot of previous programme data.
When a channel has a lot of short programmes, often early morning children's programmes, the guide will either not display the current programme or will need to refresh almost immediately.
This is because the cache starts 6 hours before the current time but the API used will only return a maximum of 25 entries. The reason for asking for the previous 6 hours was to prevent a problem with overnight programs that run on for a long time stopping the current program display working.