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

Add option to disable cleaning database when files are missing #301

Open
blissd opened this issue Dec 2, 2024 · 1 comment
Open

Add option to disable cleaning database when files are missing #301

blissd opened this issue Dec 2, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@blissd
Copy link
Owner

blissd commented Dec 2, 2024

Fotema maintains a database of all the photos and videos it has discovered. Each time Fotema starts it will scan the file system for photos and videos, and if Fotema detects any database entries to files that don't currently exist, then Fotema will run a cleanup process for the missing files. Fotema will:

  • Delete any generated thumbnails.
  • Delete any detected faces (each face is saved to separate file).
  • Delete any transcoded video.

I hadn't thought this to be a problem, but from several issues raised for Fotema I see a good number of users don't store their photos and videos locally like me, but store them on a NAS. I fear that for those users they will one day start Fotema while their NAS is unavailable and then Fotema will run the cleanup process for every photo and video in the users collection... and delete all the database data, thumbnails, faces, and transcoded videos that might have taken hours to generate.

I think Fotema should have an option to disable automatic cleaning of data when files are missing.

@blissd blissd added enhancement New feature or request good first issue Good for newcomers labels Dec 2, 2024
@blissd
Copy link
Owner Author

blissd commented Dec 2, 2024

If you've been affected by this, then please let me know and I'll prioritize this work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant