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

Remove books that are no longer found #23

Closed
Handyfon opened this issue Mar 1, 2023 · 1 comment · Fixed by #28
Closed

Remove books that are no longer found #23

Handyfon opened this issue Mar 1, 2023 · 1 comment · Fixed by #28
Assignees
Labels
Feature Feature request

Comments

@Handyfon
Copy link

Handyfon commented Mar 1, 2023

I suggest adding a feature that checks for the existence of a file at the specified path when a collection loads, and removes it if it doesn't exist. This could be accompanied by a popup. Alternatively, adding a button to prune unreferenced files would be another elegant solution.

Let me know what you think.

Thanks,
Handyfon

@Handyfon Handyfon added the Feature Feature request label Mar 1, 2023
@DSPaul
Copy link
Owner

DSPaul commented Mar 1, 2023

Currently I check for the existence of the file only when the user tries to open it because I don't want to bother people with popups for things that aren't relevant for them at that very moment. It show a little warning popup if it's not found as you have probably noticed and you would have to close the popup, open the edit window for that file and either delete it there or change the path to point to the new location and then try to open it again.

I could upgrade that popup to include two new buttons, one to immediately open a file dialog to select the updated path location in case you moved it and immediately open it because that's what you were trying to do to begin with and one to immediately delete it, that would streamline the process a lot. I was planning to change out those popups anyway because the default windows ones look really bad.

Having a button to auto prune references to files that no longer exist is a great idea and really easy to implement. It would make a perfect pairing with the path updating feature I already made in the data management tab of the settings because both deal with outdated file references. Thanks for the ideas!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Feature request
Projects
Status: Released
Development

Successfully merging a pull request may close this issue.

2 participants