[vlc-devel] [RFC] Moving services discovery out of the playlist

Rémi Denis-Courmont remi at remlab.net
Sun Jun 10 15:56:08 CEST 2018


Le sunnuntaina 10. kesäkuuta 2018, 16.42.03 EEST Romain Vimont a écrit :
> On Sun, Jun 10, 2018 at 04:03:43PM +0300, Rémi Denis-Courmont wrote:
> > Le sunnuntaina 10. kesäkuuta 2018, 15.38.17 EEST Romain Vimont a écrit :
> > > On Fri, Jun 08, 2018 at 07:43:11PM +0300, Rémi Denis-Courmont wrote:
> > > > Le perjantaina 8. kesäkuuta 2018, 18.05.58 EEST Romain Vimont a écrit
> > > > :
> > > > 
> > > > And it makes zero sense to allow users to modify or lock the SD tree.
> > > > An
> > > > SD
> > > > maintains its tree. Nobody else can modify it, and nobody else can
> > > > decide
> > > > when it gets modified.
> > > 
> > > In my proposal, the media tree is modified both by the SD (when it
> > > detects new items) and by the browsing/preparsing (from different
> > > threads).
> > 
> > You CANNOT change the media tree of an SD.
> 
> Why CANNOT?

Because you cannot reverse causality.
SD add/remove items as a consequence of services becoming (un)available.

You cannot just add an item into an SD-maintained tree.

-- 
雷米‧德尼-库尔蒙
http://www.remlab.net/





More information about the vlc-devel mailing list