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

Make RPS less random so it appears more random #51

Open
marijnkampf opened this Issue Nov 5, 2015 · 6 comments

Comments

Projects
None yet
2 participants

@marijnkampf marijnkampf self-assigned this Nov 5, 2015

@mailinglists35

This comment has been minimized.

mailinglists35 commented Mar 29, 2016

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

This comment has been minimized.

Owner

marijnkampf commented Mar 29, 2016

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

@mailinglists35

This comment has been minimized.

mailinglists35 commented Mar 29, 2016

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

This comment has been minimized.

Owner

marijnkampf commented Apr 11, 2016

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

This comment has been minimized.

mailinglists35 commented Apr 11, 2016

I don't use a real time antivirus

@marijnkampf

This comment has been minimized.

Owner

marijnkampf commented Dec 8, 2017

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.

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