I have a 512GB SD card in my phone, but only 32GB of internal storage which is mostly full. I have my downloaded videos folder on the SD card, but in-progress downloads are still only downloaded to internal storage in Android->data->org.schabi.newpipe->files->pending_downloads. They are just moved to the SD card after its finished downloading. Which means if you only have 3GB left of your internal storage, then you will only be able to download up to a 3GB file, even if you have your downloads folder on a 512GB sd card. (It also just downloads as much as it can until the internal storage fills up and fails, instead of checking if there's actually enough space for the file).
Is there any way to move the pending_downloads folder to the SD card? I have moved my NewPipe install to the SD card, and there is a copy of the exact same file structure to a pending_downloads folder there, but NewPipe still only uses the one in the internal storage.
Using a Samsung Galaxy A8
EDIT: I've tested it again and it's actually the post processing phase that fills up the storage to the max, not the download itself. Downloading a video only uses the pending_downloads folder for small kb chunks, but then when it gets to the processing phase, the folder fills up to the size of the whole video itself and maxes out my internal storage, failing the download.