Skip to content

Start-up incredibly slow on Raspberry Pi #7

@Forage

Description

@Forage

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions