videohash
videohash copied to clipboard
Temp folder not freeing up
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
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.
I implemented a feature that automatically takes care of this issue in my fork: https://github.com/Demmenie/videohash2 https://pypi.org/project/videohash2/