videohash icon indicating copy to clipboard operation
videohash copied to clipboard

Temp folder not freeing up

Open 96jaco96 opened this issue 1 year ago • 2 comments

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

96jaco96 avatar Mar 30 '23 11:03 96jaco96

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.

lounging-lizard avatar Apr 26 '23 11:04 lounging-lizard

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

Demmenie avatar Jul 05 '24 00:07 Demmenie