[vlc-devel] [PATCH 4/4] ytdl: use redirect for single media
Rémi Denis-Courmont
remi at remlab.net
Tue Sep 22 19:19:39 CEST 2020
Le tiistaina 22. syyskuuta 2020, 19.58.23 EEST Pierre Ynard via vlc-devel a
écrit :
> Let's keep in mind that youtube-dl is the one really extracting the
> metadata. If the ytdl access processes directly itself its youtube-dl output
> - which makes sense - it works, in a sensible way.
If we parse the YoutubeDL JSON or the whatever to-be-defined serialisation
format directly in the access plugin, then there's no point in redirecting:
You can just wrap the native HTTP plugin via vlc_stream_NewURL() and catch the
STREAM_GET_META control.
So there's really no point in extending the redirection to support metadata.
--
レミ・デニ-クールモン
http://www.remlab.net/
More information about the vlc-devel
mailing list