-
Notifications
You must be signed in to change notification settings - Fork 30
Description
It takes a very long time to load the guide on a Raspberry Pi after a while of not using it. Usually it takes more then a minute, which almost nullifies the practical use of the guide as a quick switch to it too see what's on.
It's not really possible to make out what step of the loading takes so long because text gets replaced by the time estimation. I've been going through the code a little bit but I can't see any obvious bottle-necks as fast as I would like to. It does appear that the code is processing all the programs instead of only the ones of the enabled channels. Changing it to exclude the disabled channel programs would at least decrease the loading time to some extend but I can't tell if it would be enough. It would, however, need to trigger a re-process when one or more channels are enabled again.
I'm using a local copy of http://www.click2record.nl/xmltv/xmltv.xml