Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to limit update frequencies #8

Open
twjacobsen opened this issue Mar 31, 2014 · 1 comment
Open

Option to limit update frequencies #8

twjacobsen opened this issue Mar 31, 2014 · 1 comment

Comments

@twjacobsen
Copy link

Looking through the source, it seems to me that the service updates every 10 minutes, when media is not playing.
Would it be possible to limit this to only update when entering the home screen or the library? Or maybe disable updating after X minutes of user inactivity. After all, there's no reason for updating when XBMC is not in use.
With the current implementation, my server wont ever go to sleep, because each service refresh triggers a MySQL query, which in turn wakes the server/prolongs the sleep-timeout.

@ghost
Copy link

ghost commented Apr 1, 2014

Can you look at the alternative_random branch. This branch updates the random items (those that are updated every 10 minutes) after playback ended and library updated instead.

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

No branches or pull requests

1 participant