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

Temp folder not freeing up #102

Open
96jaco96 opened this issue Mar 30, 2023 · 2 comments
Open

Temp folder not freeing up #102

96jaco96 opened this issue Mar 30, 2023 · 2 comments

Comments

@96jaco96
Copy link

The temp folder (or cache folder on Mac) gets increasingly bigger when processing a lot of videos at the same time.

It SHOULD cleanup after itself, and not leave the working/temp files there.

Currently i have to do it manually when processing ~20k files

@lounging-lizard
Copy link

lounging-lizard commented Apr 26, 2023

I second this issue, it fills up quickly creating duplicates of the original its a real pain

Edit: I found the deleted_storage_path method on the VideoHash class which can be used to delete these onces you're done with them.

IMO it should just be apart of the destructor.

@Demmenie
Copy link

Demmenie commented Jul 5, 2024

I implemented a feature that automatically takes care of this issue in my fork:
https://github.com/Demmenie/videohash2
https://pypi.org/project/videohash2/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants