On 2026/09/11 02:33, Lucas Raab wrote:
> On Thu, Sep 10, 2026 at 02:42:45PM +0100, Stuart Henderson wrote:
> > On 2026/09/10 15:00, Robert Nilsson wrote:
> > > Hello!
> > > 
> > > I think it would be great to have an option to install mpv
> > > without the yt-dlp dependency.  Sometimes it's nice to just
> > > have a good media player without all the stuff that comes
> > > with yt-dlp.
> > > 
> > > Thanks.
> > > 
> > 
> > With the addition of py-yt_dlp_ejs the deps for yt-dlp are indeed
> > getting a bit heavy, so I think this would make sense. The error
> > message when opening a URL if yt-dlp is not present looks like this:
> > 
> > [ytdl_hook] Subprocess failed: init
> > [ytdl_hook] Subprocess failed: init
> > [ytdl_hook] Subprocess failed: init
> > [ytdl_hook]
> > [ytdl_hook] youtube-dl failed: not found or not enough permissions
> > Failed to recognize file format.
> > 
> > it would help if that message mentioned yt-dlp so that users wanting
> > it have a better clue for which software to install, so here's a
> > possible diff. Anyone have tweaks/objections?
> 
> Considering the youtube-dl homepage now redirects to yt-dlp, might be
> best to only mention yt-dlp in the error message? either way ok lraab@
> 
> youtube-dl seems to be in some kind of no-man's-land. The homepage
> redirects to yt-dlp, the repo though still has regular activity, but
> none of the installation options barring "developer instructions"
> would get you a reasonably up to date version which might work.
> 
> https://github.com/ytdl-org/youtube-dl#adding-support-for-a-new-site
> https://yt-dl.org/

I've gone with my version mentioning both for now.

> Thoughts on retiring youtube-dl?

I think it's still useful for now. Because yt-dlp depends on deno for
solving js challenges (which are only needed on a limited number of
the many supported video/audio download sites) it's restricted to only
being usable on rust archs.

Reply via email to