mediathekview / zapp-backend

Program info API for German public broadcasting services.
MIT License
4 stars 3 forks source link

Pull down to refresh live program list #30

Closed Der-Flip closed 1 year ago

Der-Flip commented 1 year ago

The live program list at times happens to be out of date / lagging behind. Sometimes the program will not update up to 15 minutes past the program has ended. A pull down to refresh option to force reload the entire program list would be very convenient as I have not yet found out how to force refresh this list. Closing and reopening the app doesn't seem to do it either.

In the screenshot below see 3sat being out of date for 7minutes at the moment of taking the screenshot, Screenshot_2022-10-20-08-15-55-431_de.christinecoenen.code.zapp.jpg

At 10 minutes it changed to "No program info" Screenshot_2022-10-20-08-17-42-273_de.christinecoenen.code.zapp.jpg

cemrich commented 1 year ago

Thank you very much for this report!

Zapp does reload the program information on restart and every minute for all channels visible onscreen. So this is no frontend error. I suspect something wrong with the backend and will transfer this issue to the correct repository.

Are there channels where this does happen more often? The ZDF channels ("zdf", "dreisat", "kika", "phoenix", "zdf_info", "zdf_neo", "arte") have a quite nice program info api and should not lag behind this much. All ARD channels can lag behind because there is no well defined api to fetch program information from.

cemrich commented 1 year ago

This was an easy fix :)

The server time was off. I might have to add a metadata field sometime to find out what time the server thinks it is.