Feature Request: free space limiter to protect against filling disks #130
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This FR got missed from the move off github. Basically, its very easy for ofdl to fill up the disk it's downloading to, which can be highly problematic if that happens to be the OS drive. It would be good to add some form of configurable protection to things to prevent that from happening.
The easiest method i can see is checking free space before any download against the threshold value. It'd still be possible with a very low threshold and a long video like a livestream recording, but more accurate protection would probably require the information gathered when ShowScrapeSize is enabled, and we already know that adds a very significant performance impact.
We should be careful about Docker with this feature, as checking free space against a Docker volume mount may be problematic.