[vlc-devel] [PATCH 0/4] Add multi-playlist support

Rémi Denis-Courmont remi at remlab.net
Tue Sep 15 23:02:25 CEST 2020


Le tiistaina 15. syyskuuta 2020, 23.27.55 EEST Jean-Baptiste Kempf a écrit :
> On Thu, 20 Aug 2020, at 18:07, Rémi Denis-Courmont wrote:
> > We already have a sane API for multiple players, the LibVLC API.
> 
> We need to be able to have multiple playlist/players for other things than
> VLM, like transcoding queue, UPnP server and maybe other media servers
> cases.

First, definitely not all but most of those server'ish use cases are better 
served by multiple process with one instance per process, for very obvious 
reliability and robustness reasons.

But second and more importantly, you can already do any and all of those 
multiple instnaces with the existing API. You can spawn multiple LibVLC 
instances, or multiple playlists in an instance or multiple player in an 
instance, both via LibVLC APIs or with the existing core/plugin APIs.

This patchset is a glorified ad-hoc dictionary of playlists and a reintroduced 
nonsensical playlist reference counter. We have already seen just how the 
reference counter concept really does not mix well with the dictionary.

But really, it boils down to merge whole new API sets only alongside at least 
one use case, not without one. Otherwise, there are no ways to evaluate the 
soundness of the design requirements and the fitness of the implementation.
That piece of well-known software development wisdom is not my invention.

-- 
Реми Дёни-Курмон
http://www.remlab.net/





More information about the vlc-devel mailing list