[vlc-devel] [PATCH] GSoC: lua services discovery, final?

Rémi Denis-Courmont remi at remlab.net
Thu Jan 21 14:26:14 CET 2010


On Thu, 21 Jan 2010 13:39:46 +0100, Fabio Ritrovato
<exsephiroth87 at gmail.com> wrote:
> Ok, new questions...
> Using the configuration chain, the playlist node that gets created
> when the SD start, will be named "luasd" and not as the script.

If it's true, then that logic is broken in any case. It's broken if you use
a script name. It's broken if you use a SD plugin written with native C
code (as currently). To my knowledge, you can't make assumptions about the
uniqueness of a playlist item name.

I write "If it's true", because I have no clue what you are referring to.
playlist_ServicesDiscoveryAdd() compares the requested SD string against
the list of strings of already loaded SD objects. I fail to see any problem
with that. As far as I know, the same logic is used by --sout-keep and
works just fine with configuration chains.

-- 
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis




More information about the vlc-devel mailing list