You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yt-dlp/yt_dlp/postprocessor
Paul Wrubel d75201a873
Use `os.replace` where applicable (#793)
When using 
```py
os.remove(encodeFilename(filename))
os.rename(encodeFilename(temp_filename), encodeFilename(filename))
```
the `os.remove` need not be atomic and so can be executed arbitrarily compared to the immediately following rename call. It is better to use `os.replace` instead

Authored by: paulwrubel
3 years ago
..
__init__.py Misc fixes - See desc 3 years ago
common.py [downloader/ffmpeg] Allow passing custom arguments before -i 3 years ago
embedthumbnail.py Use `os.replace` where applicable (#793) 3 years ago
exec.py Misc fixes - See desc 3 years ago
ffmpeg.py Use `os.replace` where applicable (#793) 3 years ago
metadataparser.py minor bugfixes 3 years ago
movefilesafterdownload.py Allow running some `postprocessors` before actual download 4 years ago
sponskrub.py Use `os.replace` where applicable (#793) 3 years ago
xattrpp.py Completely change project name to yt-dlp (#85) 4 years ago