youtube-dl-gui
youtube-dl-gui copied to clipboard
Checking "Avoid failing to save duplicate filename" causes the file not to be saved to disk after downloading
Describe the bug Checking "Avoid failing to save duplicate filename" causes the file not to be saved to disk after downloading
To Reproduce Steps to reproduce the behavior:
- Go to 'Settings'
- Mark check 'Avoid failing to save duplicate filename'
- Apply
- Download video
- After downloading there is no file in download location
Additional info:
- OS: Windows 10
- Application version: 2.4.10
Additional context I unchecked that option and everything works properly.
Confirmed with Open-Video-Downloader-2.4.10.AppImage on Kubuntu 22.04.2.
Confirmed with Open-Video-Downloader-2.4.10.dmg on macOS 12.6.
Problem seems to exist on modules/download/DownloadQuery.js around line 213.
A work around that gets us halfway there is to also check "Keep Unmerged File". This prevents the folder's deletion.