Fix missing extension when downloading youtube-dl format=worstaudio - #1110
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.