-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
fix(server): check if sidecarPath exists #6293
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the point of all this? exiftool.read
should just throw an error (which we catch in the repository readTags
method)
Has been discussed on Discord
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like this is something better suited for the sidecar sync/discover job. Sync can probably be updated to null out the database in the case the file no longer exists.
TODO: Add valuable tests 🤣 |
Hey @JW-CH, just wanting to check in... Would you like us to add some tests or do you plan on adding them yourself? |
Fixes #6169