[vlc-devel] [PATCH 06/11] playlist/directory: attach slaves to input items

Rémi Denis-Courmont remi at remlab.net
Wed Apr 6 11:05:19 CEST 2016


Le 2016-04-05 23:09, Benjamin Adolphi a écrit :
> Ok, so I realize that it is complicated or probably even impossible 
> to
> compare URLs in a scheme-independent manner. So what about limiting
> scope? We don't really want to compare any kind of URL against any
> other kind of URL. What we want to do is compare filenames and file
> extensions. So we can of course not do this with URLs that do not 
> have
> a path. So let's limit which schemes we support to schemes that
> actually have a path (and that VLC actually supports).

Right now, all directory access plugins provide traditional filesystems 
semantics. It won't stay that way for long. A lot of assumptions that 
hold true now will soon no longer hold true.

How do you even know that the URL scheme is conductive to comparison 
and searching for subtitle files? How will be deal with HTTP(S), which 
can wrap regular filesystems as well as very different beasts?

I think handling the matching correctly in the directory access or the 
core is essentially impossible. Only the access plugin instance has 
enough specific knowledge.

-- 
Rémi Denis-Courmont
http://www.remlab.net/


More information about the vlc-devel mailing list