varietywalls / variety

Wallpaper downloader and manager for Linux systems
http://peterlevi.com/variety
GNU General Public License v3.0
1.2k stars 146 forks source link

Change frequency of image folder. #487

Closed odror closed 2 years ago

odror commented 2 years ago

Be able to specify what percent of the time each image folder is selected.

I have noticed that the "astronomy picture of the day" is selected significantly more than other folders such as BIng. I'd like Bing picture of the day to be selected more often.

peterlevi commented 2 years ago

Variety tries to do a "fair" job of selecting images, by giving existing images an equal chance. Newly-downloaded images get a larger chance, otherwise, for people with large preexisting collections, they'd never see "new" images. This may mean that download sources that provide a larger choice for downloading images (like APOD), will get shown more than sources that offer just a bunch of images for download like Bing (one new image per day).

You may want to reduce the download_preference_ratio parameter in ~/.config/variety/variety.conf:

# download_preference_ratio - if we have "unconsumed" download sources, we'll prefer to show a newly
# downloaded image instead of an existing one in this percentage of the cases
download_preference_ratio = 0.9

But I don't think that Variety should provide more options around the random selection of images - there are too many factors to consider there, they cannot be captured without exposing a huge number of options to the users, and this is not where I want to be going.