Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extension to filename automatically #254

Open
5 of 7 tasks
kohanyirobert opened this issue Feb 2, 2025 · 0 comments
Open
5 of 7 tasks

Add extension to filename automatically #254

kohanyirobert opened this issue Feb 2, 2025 · 0 comments

Comments

@kohanyirobert
Copy link
Contributor

kohanyirobert commented Feb 2, 2025

Discussed in #251

image

Creating an issue/branch for a PR from the above mentioned discussion.

  • The dropdown would appear only if in the settings one enables "override extension" or something
  • The "override extension" setting is only active if one enables the "override filename" option
  • When not enabled everything looks and works right now, if I specify a filename as "the filename" it'll downloaded as such (without extension)
  • When enabled it defaults to something like "Auto" (in the dropdown), which would mean adding %(ext)s to the end of the --output template`
  • Otherwise it can be prepopulated with popular options (mp4, mkv, mp3, webm)
  • Optionally if the "override/select format" option is disabled it could populated with available options
  • When I download something with the new option enabled and selected the "default" option it'd add the extension to the end of filename (e.g. 'the filenamebecomes 'the filename.mp4' if that's the extensionyt-dlp` determined suitable

(Tracking work in PR #255)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant