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

Rémi Denis-Courmont remi at remlab.net
Wed Sep 16 01:21:31 CEST 2020


Le keskiviikkona 16. syyskuuta 2020, 0.07.15 EEST Jean-Baptiste Kempf a écrit 
:
> On Tue, 15 Sep 2020, at 23:02, Rémi Denis-Courmont wrote:
> > 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.
> 
> But people don't do that.

People don't use APIs. Lets add more APIs for them to use.
Surely that's going to fix the problem...

Come on, don't be ridiculous.

> People use the VLC product and run VLC product,
> because they download vlc.exe/dmg. And VLC UIs don't use libVLC, they use
> the core,

Of course, that's why I did point out, in the very quote right above, that 
"[y]ou can spawn (...) multiple playlists in an instance or multiple player in 
an instance, (...) via (...) the existing core/plugin APIs" that the GUIs can 
already use.

Though I fear very much for the GUI UX if it exposes multiple players in a 
single instance.

Besides...

> and therefore one cannot "spawn multiple libVLC".

They *do* not spawn them but they still *can* spawn them. Indeed, nothing 
prevents VLC from spawning LibVLC instances within a helper process that would 
either be vlc.exe or a new ad-hoc executable. In fact, that is the only way 
that potentially heavy background tasks can be ran nicely and safely on 
desktop, including preparsing or offline transcode. Whether we like it or not, 
that is the level at which OSes partition resources, and we do not have a say 
in that.

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





More information about the vlc-devel mailing list