-
-
Notifications
You must be signed in to change notification settings - Fork 217
Fix missing extension when downloading youtube-dl format=worstaudio #1110
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
Conversation
See #1099 for a repro feed
|
What exactly is the issue? Without patch, downloading with gpodder(249) or ytdl(249 or worstaudio) produces a With the patch, the file has the same filename on disk and in database but now has a |
|
On my machine (gPodder master@016cde21, youtube-dl 21.06.06), it doesn't get a .weba extension. |
|
My test client is running from git master with only the youtube-dl (2021.06.06) extension loaded. https://github.com/gpodder/gpodder/blob/master/share/gpodder/extensions/youtube-dl.py#L120 That code changes the mimetype, and adding |
|
Gentoo has |
|
That was it, then! Good to know: indeed archlinux doesn't have audio/webm in its |
|
Seems better to stick with .webm instead of .weba. |
See https://www.youtube.com/channel/UCPiFOcskeiOj0jHz3YCWDBQ with settings:
The mime type reported by youtube-dl is 'audio/webm', then the end filename doesn't have an extension.