Opened 3 years ago

Last modified 3 years ago

#63478 assigned enhancement

Introduce pyXX-youtube-dl instead of variants

Reported by: catap (Kirill A. Korinsky) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: youtube-dl

Description

youtube-dl is also can be used inside some application as plugin.

Right now I can't add to my beets port a plugin https://github.com/vmassuchetto/beets-ydl because it required to setup youtube-dl with the right version of python.

Right now youtube-dl uses variants to configure the python version and migrate to select group and pyXX-youtube-dl seems as logical and standard way.

Thanks!

Change History (3)

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Port: youtube-dl added

I wasn't aware that youtube-dl could be used as a module in other python software.

I've never been a huge fan of the select mechanism. I wonder if the build system would accommodate separating the python module part out into pyXX-youtube-dl subports while keeping the CLI part in the youtube-dl port.

comment:2 in reply to:  1 Changed 3 years ago by catap (Kirill A. Korinsky)

Replying to ryandesign:

I wasn't aware that youtube-dl could be used as a module in other python software.

Technically any application which is distributed via pypi can be used as library or module.

I've never been a huge fan of the select mechanism. I wonder if the build system would accommodate separating the python module part out into pyXX-youtube-dl subports while keeping the CLI part in the youtube-dl port.

Agreed with it.

Anyway, I haven't know any easy or better solution which doesn't create dependency conflict in long term.

comment:3 Changed 3 years ago by mascguy (Christopher Nielsen)

Owner: set to mascguy
Status: newassigned
Type: defectenhancement
Note: See TracTickets for help on using tickets.