@newpipe
When downloading in a (desktop) web browser, the file is saved under a temporary name, and then renamed when the download is finished.
Could newpipe do the same on Android? Maybe as a setting, if anyone depends on how it currently works?
Reason? I use newpipe to download Youtube videos on wifi, then watch them in VLC later. But VLC is really bad at refreshing its cache, and if it ever sees a 0 byte file that Newpipe is getting ready to download, it will cache this file as unplayable. Renaming the file after the download finishes solves the problem.
You could argue that this is a VLC bug, but 1. Web browsers already do this (at least on desktop), and 2. There are 10+ year old ignored bug reports about this on the VLC bug tracker.
Adding a rename to Newpipe is probably much easier than fixing whatever mess the VLC cache is.