Add a radio group for YouTube downloads that includes a new default
run-time dependency on www/yt-dlp, a youtube-dl fork.
PR: 259944
Reported by: Oleh Vinichenko <moonlapse81@gmail.com>
Differential D33090
Ports that depend on youtube-dl: Switch to yt-dlp jrm on Nov 23 2021, 3:29 AM. Authored by Tags None Referenced Files
Details Add a radio group for YouTube downloads that includes a new default PR: 259944
Diff Detail
Event TimelineComment Actions Because www/youtube-dl and www/yt-dlp cannot coexist, switch all other ports that depend on www/youtube-dl to depend on www/yt-dlp Comment Actions For multimedia/lives in description add comment about turn on SYMLINK option: YTDLP_DESC= Install yt-dlp (youtube-dl fork) - turn on SYMLINK option Comment Actions www/yt-dlp: Turn the symlink option on by default If we are replacing youtube-dl with yt-dlp by default, it makes sense to turn on the symlink. Comment Actions I think we should sunset py-pafy as it seems to have multiple issues and it's not maintained upstream (I haven't looked for forks) Comment Actions I applied the change only to haruna (for kde@), then did pkg remove -f youtube_dl because it still got pulled in by the unchanged mpv package I have. Successfully plays videos from youtube by URL. Comment Actions That thread mentions pytube as an alternative. However, py-pafy is required by multimedia/mps-youtube. Both are maintained by @nivit Comment Actions I think we would only have to resolve this now if www/py-pafy were only broken when using www/yt-dlp and not www/youtube_dl. However, I just run-time tested multimedia/mps-youtube, py-pafy's only consumer, and it seems broken regardless which YouTube download tool py-pafy is built with. Error fetching data. Possible network issue. Youtube Error 403: The request cannot be completed because you have exceeded your <a href="/youtube/v3/getting-started#quota">quota</a>. https://github.com/mps-youtube/mps-youtube/issues/1089 My inclination is to mark py-pafy and mps-youtube as BROKEN and set some EXPIRATION. Of course, I'll wait for @nivit to comment. Maybe it's just a matter of using an appropriate API key? Comment Actions @jrm Comment Actions VVD, are you all right with the current situation, i.e., www/yt-dlp has the SYMLINK option on by default? Do you still require a comment? Comment Actions Yes. For those who will compile lives+yt-dlp on their own. Comment Actions Add text to multimedia/lives' YTDLP_DESC saying that it requires www/yt-dlp with SYMLINK option on Comment Actions Commit please fix for multimedia/lives: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260282 |