Album Helper #3650
dlgreenwald
started this conversation in
Show and tell
Album Helper
#3650
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been working on a set of python scripts for a few weeks now which can fill a gap highlighted by this issue which I also miss. I've just gotten it to the point where I think it's ready for some power users to give it a try (with TRIALRUN=True at first) and give me some feedback on any edge cases I haven't caught or improvements they would like to see so I've packaged it up into a container and published it on Docker Hub so it should be pretty straightforward to use. The scripts themselves are driving the same API the web front-end is using and so I believe based on my experience that it's pretty safe to use. Regardless, run it in TRIALRUN=true first, and backup your database.
PhotoAlbumHelper
PhotoPrismAlbumHelper is a badly named set of python scripts which provide some dynamic1 photo album functionality currently missing from PhotoPrism. Dockerfile and a docker-compose.yml file provide turnkey like behavior. Each script will be run once a week.
PhotoAlbumHelper is provided is NOT affiliated with PhotoPrism in any way. I just wanted to have some features I missed from other commercial photo software so I hacked it in.
In The Past
The "In Past" tooling create albums which contain photos from the same calendar week in the past. It will automatically create an album for 1 Week Ago, 1 Month Ago, and for all previous years in your photo timeline. The script creates albums with a category of "In The Past".
Automatic Events
Automatic Events applies anomaly detection to your PhotoPrism timeline. It calculates days where an abnormal number of photos are taken, connects concurrent dates, and applies some rising and falling edge detection. The resulting start and end dates are used to create an album. The album is named by examining the location tags on the photos and determining if there are one or two locations where 75% of the photos were taken, if a day in the event is a holiday (New Years, Memorial Day, Labor Day, Thanksgiving(US), Christmas, Easter, Valentines, or Halloween), and how long the event lasts. Currently it will only examine the most recent 10k photos.
Future Improvements
Tips
Footnotes
The album itself is not dynamic, but the jobs will remove and add photos dynamically once a week. ↩
Beta Was this translation helpful? Give feedback.
All reactions