Auto/timed feed refresh #41
-
I have a need for my channel to reload my feed and refresh the gridscreen every five minutes or so. As it is currently, the only way to force a feed refresh is to close the channel and restart it. I have looked around in the code, but I can not find where to put a possible loop and I'm not sure what function to call to initiate a refresh. Maybe LoadChannelContent() ? To further complicate, this refresh should only happen when gridscreen is shown. It doesn't need to happen while a video is playing. Thanks for your work on this project! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I think you should look into creating a task node that runs in the background with a timer that refreshes your feed content. Keep in mind, that what you're asking for is somewhat complicated in the existing code framework. Loading the channel content already happens in a task at startup. You're asking for a way to repeat that process. It could get messy. |
Beta Was this translation helpful? Give feedback.
I think you should look into creating a task node that runs in the background with a timer that refreshes your feed content. Keep in mind, that what you're asking for is somewhat complicated in the existing code framework. Loading the channel content already happens in a task at startup. You're asking for a way to repeat that process. It could get messy.