[vlc-devel] [PATCH 4/4] ytdl: use redirect for single media

Rémi Denis-Courmont remi at remlab.net
Tue Sep 22 19:11:10 CEST 2020


Le tiistaina 22. syyskuuta 2020, 19.58.23 EEST Pierre Ynard via vlc-devel a 
écrit :
> > You can't do that, and it's very much intended that way.
> 
> Well in reality it seems to work just fine for me when I try. Can you
> substantiate better why it wouldn't be possible?

There's a big difference between (not) possible and (not) intended.

> > That would be a horrible hack. If you redirect, the redirected-to
> > modules is expected to provide all controls, including the meta.
> 
> Why do you say that metadata are controls?

Because that's true: STREAM_GET_META.

> > And it would indeed fundamentally not work in this particular case,
> > because the access has no idea what the meta-data is. The meta-data is
> > extracted by the playlist parser, which does not even exist if there a
> > redirection.
> 
> It fundamentally does not work in this one particular implementation
> approach that writes an M3U playlist.

Not only it fundamentally does not work in this particular case, but it is 
completely unnecessary or even inapplicable in all the pre-existing cases, for 
which this feature was designed.

-- 
レミ・デニ-クールモン
http://www.remlab.net/





More information about the vlc-devel mailing list