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

select new cache location does not work on Mac #129

Open
Thomasmac opened this issue Sep 9, 2024 · 9 comments
Open

select new cache location does not work on Mac #129

Thomasmac opened this issue Sep 9, 2024 · 9 comments
Labels
bug Something isn't working enhancement New feature or request macOS

Comments

@Thomasmac
Copy link

Video Simili uses quite a lot of space for caches. They are useful, though.
In "Tools" one can set a custom cache location. The app indicates in the main window that the location has been changed BUT

a) the cache file remains empty
b) after a new start of the app the selection of the new cache location is ignored. The app uses the default location again

@theophanemayaud
Copy link
Owner

Hey and thanks for reaching out ! As to b) that is indeed a feature I would like to add but haven't gotten to yet.
For a), that is strange. Even after setting a new cache location, and starting a scan, you see the cache.db file remain empty in your newly configured location ?

@Thomasmac
Copy link
Author

Thomasmac commented Sep 9, 2024 via email

@theophanemayaud
Copy link
Owner

I'm currently writing the feature to remember the cache location between runs. I took the time to test again how the cache works and it very much still does on my m4 Mac.

a. Are you sure you've allowed the app access to the location you put the cache ? macOS should ask you if you want to allow, once you've selected the location.

b. Do you have any error messages in the app ?

c. And last check, when you enable cache only, does it then not find any duplicates anymore (meaning the cache is indeed empty) ?

@theophanemayaud theophanemayaud added bug Something isn't working enhancement New feature or request macOS labels Sep 25, 2024
@Thomasmac
Copy link
Author

Thomasmac commented Sep 25, 2024 via email

@theophanemayaud
Copy link
Owner

I just released v1.11.0 which changes a little how caching works. The cache location is now remembered between restarts. And hopefully this fixes the problem of not caching at all, please comment again if not 🤓

@github-project-automation github-project-automation bot moved this from Planned issues to triage to Done in Video simili duplicate cleaner roadmap - new Oct 27, 2024
@Thomasmac
Copy link
Author

Thomasmac commented Oct 28, 2024 via email

@theophanemayaud
Copy link
Owner

Oh no ! Yes I tried multiple scenarios including external disk, and they all work. I'm on arm though, but tested when running through rosetta so it shouldn't make a difference...

Does the default cache location also still not work ? If you navigate to the cache location as indicated by the log message (or just hit "open log folder" as the log files are in the same folder as the default cache location), what size is the cache.db file ?

@Thomasmac
Copy link
Author

Thomasmac commented Oct 28, 2024 via email

@theophanemayaud
Copy link
Owner

Good suggestion, but yes I did try on other arm computers, and the cache works. In the default location, or in a new location, it grows.
However there does seem to be a bug with remembering the new cache location, this setting doesn't seem to persist correctly. I'll look for a fix

@github-project-automation github-project-automation bot moved this from Done to Planned issues to triage in Video simili duplicate cleaner roadmap - new Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request macOS
Projects
Status: Planned issues to triage
Development

No branches or pull requests

2 participants