youtube-dl-gui icon indicating copy to clipboard operation
youtube-dl-gui copied to clipboard

Checking "Avoid failing to save duplicate filename" causes the file not to be saved to disk after downloading

Open Moonstone3010 opened this issue 1 year ago • 2 comments

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:

  1. Go to 'Settings'
  2. Mark check 'Avoid failing to save duplicate filename'
  3. Apply
  4. Download video
  5. 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.

Moonstone3010 avatar May 05 '23 23:05 Moonstone3010

Confirmed with Open-Video-Downloader-2.4.10.AppImage on Kubuntu 22.04.2.

SnowballV avatar Jul 19 '23 12:07 SnowballV

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.

aboredguy avatar Aug 26 '23 19:08 aboredguy