-
-
Notifications
You must be signed in to change notification settings - Fork 217
Use youtube-dl or yt-dlp for the youtube-dl extension. #1182
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
|
Could you also change youtube-dl to yt-dlp in the tools/requirements.txt file? The flatpak builds have their python deps generated from this file. |
|
doesn't quite work for me, see comment in #1176 |
a306c8a to
4ede518
Compare
|
I haven't finished this because yt-dlp has an issue where it correctly writes the whole file to It has never happened when using yt-dlp outside of gpodder, so either an issue with embedding or the nopart option gpodder passes to it, which is something I don't use outside gpodder. The youtube-dl extension could be altered to always scan for |
|
The issue with --no-part should be fixed in yt-dlp, or at least reported. But current versions should be supported also. |
|
There are 133 open/closed issues matching 'no-part', is/was there an issue with it that you know of? It could also be related to using DASH formats which I do in gpodder but rarely outside of it. I haven't filed an issue yet, but cancelling a ytdl/ytdlp download leaves behind the separate video and audio parts. So the youtube-dl extension does need a bit better handling of the files created by ytdl/ytdlp. |
Sorry, no. For huge projects like yt-dlp it's usually more productive to just submit a patch rather than a bug report. That's of course easier said than done, and I don't have the time right now. |
No objection: whatever works with yt-dlp |
4ede518 to
aa24598
Compare
|
This should now be ready to merge along with #1219, unless anyone sees something I missed. The only issue I have seen is that yt-dlp dumps a stack trace and three identical messages when it can't download a video without throttling. It would be nice if gpodder could prevent the dump and be notified of the throttling, but it should be fine for now. |
This changes the youtube-dl extension to use yt-dlp if installed. As of yt-dlp 2021.10.09, the progress bar appears in the console and needs
noprogressto suppress.Closes #1176.