The (embedded) device on which I'd like to run NZBGet has two available storage devices, a 32GB microSDXC card and a 1TB (mechanical) HDD. In order to optimize unpacking performance, I'd like to use the microSDXC card as InterDir and the HDD as DestDir. For a download whose size is no greater than 32GB, this setup works fine. However, if the download size exceeds 32GB, then NZBGet fails to complete the download. In this latter case, it may be preferable to use the HDD as both InterDir and DestDir, in spite of the performance implications.
One way to achieve this would be to make InterDir a (prioritized) list of directories and, immediately prior to starting each download, assign it as InterDir the first entry in this list whose filesystem has sufficient free space for the download.
Thank you for NZBGet! Keep up the good work!