On 2021-11-15 11:42-0700 Skippy <[email protected]> wrote:

> On 11/15/21 09:14, tastytea wrote:
> 
> snip
> 
> >>
> >> When in gPodder i enable use of Youtube-dl I get the message
> >>
> >> Extension cannot be activated.
> >> Python module not found: youtube_dl  
> > 
> > That looks like it does not use the program, but the python module
> > directly. You could try if symlinking
> > /usr/lib/python3.9/site-packages/yt_dlp to
> > /usr/lib/python3.9/site-packages/youtube_dl helps. Replace python3.9
> > with your version of course.
> > If that works, please file a bug on bugs.gentoo.org.
> >   
> >> Anyone know how to make gPodder use yt-dlp?
> >>
> >> Do I simply need a link that sends youtube_dl to yt-dlp?  
> > 
> > yt-dlp already installs a wrapper script in /usr/bin/youtube-dl.
> > 
> > Kind regards, tastytea
> >   
> 
> I created the symlink as you instructed and it appears to be working. 
> When I enable use of youtube-dl in gPodder I get no error messages.
> I just added a youtube feed and am downloading some videos.
> 
> Thanks for the assistance.
> 
> In regards to filing a bug - I'm unclear exactly what the bug is.  Is 
> the bug the fact that gPodder will not use yt-dlp in place of
> youtube-dl without your work-around?

It's not really a bug, more a workaround for projects that haven't
switched yet. I thought it makes sense to let the ebuild add the
symlink since yt-dlp and youtube-dl can't be installed at the same time.

But ionen mentioned in the other reply¹, that

> While the "youtube-dl" command from the yt-dlp ebuild is mostly
> compatible, the python module can need small workarounds so opted
> not to symlink the module in the ebuild.

So it seems to be not such a good idea. 😊

¹ 
<https://archives.gentoo.org/gentoo-user/message/c76c383b9ff73e7c9cd48f76bad4f752>

-- 
Get my PGP key with `gpg --locate-keys [email protected]` or at
<https://tastytea.de/tastytea.asc>.

Attachment: pgpiG6UhGwEvK.pgp
Description: Digitale Signatur von OpenPGP

Reply via email to