marijnkampf / Random-Photo-Screensaver

Source of Random Photo Screensaver
http://www.abscreensavers.com/random-photo-screensaver/open-source
Other
44 stars 14 forks source link

Make RPS less random so it appears more random #51

Open marijnkampf opened 8 years ago

marijnkampf commented 8 years ago

Also see http://www.abscreensavers.com/random-photo-screensaver/faq/#Random

mailinglists35 commented 8 years ago

Actually, I'd like even a more fine grained randomness.

  1. User-configurable interval to block an image from being re-shown if elected by randomness. So if I set up the interval to 10 minutes or 24 hours or whatever, skip the image if it was already shown during the past interval. This requires quite a bit of coding to manage the live list of images and intervals but would be nice for people with very good visual memory like me.
  2. Add an user configurable option to not show more than N images from same folder during an interval of M minutes/hours/days. I have my holidays organized into folders, one per trip. I really don't want to "win the lottery" and see the same holiday over and over.

Subfolders are ok (trip1/day1 trip1/day2 so it's ok to show me trip1/day1/file1 then trip1/day2/file1 within 10 minutes even if I have setup no more than 1 image for 10 minutes) but same folder no.

ps: i find the program not really random. it keeps on showing me pics from two folders over and over. i should have probably open a separate issue for this, but if you implement 1 &2, this should be fixed as well.

marijnkampf commented 8 years ago

Is the Use filters option checked in the config? Press S key whilst RPS is running and select Filters tab.

mailinglists35 commented 8 years ago

the filter is this NOT path LIKE '%thumbs%' ESCAPE '\' OR NOT path LIKE '%slides%' ESCAPE '\' but the "ps:" issue is solved: apparently I did not run enough to scan all images (it crashes very often), that's why it was showing only two folders.

marijnkampf commented 8 years ago

Regarding the crashes, I've had some recent reports where virus scanners report a false positive on RPS and quarantine the program causing a crash. Could this be the case for your setup?

mailinglists35 commented 8 years ago

I don't use a real time antivirus

marijnkampf commented 6 years ago

Via e-mail I've read your notes about using a "real" random generator, etc. - and I am aware of some of probability calcs which show surprising results about how small a sample it takes to get "duplicates". However - it REALLY does seem that a "recently" shown picture is more likely to appear again than hundreds or even thousands that have not been seen.

BUT, the point is not "absolute randomness" but rather a nice slide show. I would suggest keeping a circular list of the last 20% pictures shown (up to a max of 100), and simply pick again if the next "random" selection is already on the list. This would produce what I believe is really wanted - a slide show without undue repetitions really close together.