[vlc-devel] [PATCH 1/2] share: add wrapper script for the YoutubeDL Python module

Pierre Ynard linkfanel at yahoo.fr
Mon Sep 21 04:31:42 CEST 2020


> The second and most promising idea is what vlc-android is doing, meaning
> adding the real origin in the metadata of the file, since it's a UI
> meta.

How so? Lua script bindings (mostly) keep that in the item's URL
metadata. I don't think this metadata field is necessarily meant to be a
functional location though, so it would seem like a bit of a stretch to
use it as such in the playlist core.

> Regarding changing the module, it's an access module, and provide the
> features with really few lines, so I don't understand why the approach
> needs to be changed.

Well it does come with all the lines of a separate script. Rémi himself
said that MPV used another approach. I just brought up some reasons.

> > Or what about even directly plugging youtube-dl's output of the
> > downloading stream as the access's output? (Although I guess there
> > might be issues with that.)
> 
> I think Rémi covered that with the issues integrating python C api.

No I didn't mean using that, I meant the youtube-dl binary writing the
downloaded stream to a pipe, and reading that pipe from the VLC access
module.

-- 
Pierre Ynard
"Une âme dans un corps, c'est comme un dessin sur une feuille de papier."


More information about the vlc-devel mailing list