Skip to content

Fix playlist plugin refresh intervals - #738

Open
Rs4anti wants to merge 3 commits into
fatihak:mainfrom
Rs4anti:fix_clock
Open

Fix playlist plugin refresh intervals#738
Rs4anti wants to merge 3 commits into
fatihak:mainfrom
Rs4anti:fix_clock

Conversation

@Rs4anti

@Rs4anti Rs4anti commented Aug 9, 2026

Copy link
Copy Markdown

Fix playlist plugin refresh intervals

This change fixes refresh scheduling for playlist plugin instances with their own refresh interval.

Changes

  • The refresh task now wakes up according to the currently displayed plugin's refresh interval.
  • Plugin-specific refresh intervals can trigger a refresh without waiting for the global playlist cycle interval.
  • This fixes plugins such as the clock, which need to regenerate their image periodically while remaining the currently displayed playlist item.

Example

With:

  • plugin_cycle_interval_seconds = 600
  • Clock plugin interval = 60

the clock is refreshed every 60 seconds while it remains the active plugin, while playlist rotation continues to use the global cycle interval.

@saulob

saulob commented Aug 11, 2026

Copy link
Copy Markdown

I already have a PR open for this issue since March 19, #629

It addresses the scheduled refresh behavior, including plugin-specific refresh intervals

Maybe we can compare both approaches and consolidate the fixes into one PR

@Rs4anti

Rs4anti commented Aug 11, 2026 via email

Copy link
Copy Markdown
Author

@saulob

saulob commented Aug 11, 2026

Copy link
Copy Markdown

Yes, my PR works with all plugins, not just the clock plugin

If you can test my PR with the Calendar plugin as well, I would really appreciate it :)

Thanks

@Rs4anti

Rs4anti commented Aug 12, 2026 via email

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants