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

which is default change/check interval for loop -l option #9

Closed
mrlee14 opened this issue May 19, 2024 · 4 comments · Fixed by #11
Closed

which is default change/check interval for loop -l option #9

mrlee14 opened this issue May 19, 2024 · 4 comments · Fixed by #11
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@mrlee14
Copy link

mrlee14 commented May 19, 2024

It says on help print "every hours", is this typo meaning "every hour"? Also can i change it in the config?

@thibaultmeyer
Copy link
Owner

thibaultmeyer commented May 19, 2024

Hello,

if you run application at 3h12 PM, next check will be at 4h12 PM. Remember that the Bing wallpaper only changes once a day.

If you'd like, I can look into adding an option to change the default value (1 hour) to check more quickly or less quickly for the presence of a new wallpaper ?

@thibaultmeyer thibaultmeyer self-assigned this May 19, 2024
@thibaultmeyer thibaultmeyer added the question Further information is requested label May 19, 2024
@mrlee14
Copy link
Author

mrlee14 commented May 19, 2024

Hello,

if you run application at 3h12 PM, next check will be at 4h12 PM. Remember that the Bing wallpaper only changes once a day.

If you'd like, I can look into adding an option to change the default value (1 hour) to check more quickly or less quickly for the presence of a new wallpaper ?

Yes, in case I decide to not use cron then interval config option would be great perhaps every 4 or 8 hours eg. -loop 4 or -loop 8 I think this is useful option or even better maybe once a day not via cron but some internal stamping…

@mrlee14
Copy link
Author

mrlee14 commented May 19, 2024

Also via cron is not working exactly as it should, I have fedora 38 system and I does partly job but not always, will describe in new ticket when I have time… good work, actually it’s pulling bing wallpapers to fit my resolution, before I had some python bw but only single resolution support.

@thibaultmeyer thibaultmeyer added the enhancement New feature or request label May 19, 2024
@thibaultmeyer
Copy link
Owner

Finally, the documentation was wrong :( When using --loop, a new wallpaper is checked every 900 seconds (15 minutes).

I've added the loop_interval_second option to the configuration file so that I can customize the value. You can try it with the version 1.4.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
2 participants