[vlc-devel] [PATCH] GSoC: lua services discovery, final?
Rémi Denis-Courmont
remi at remlab.net
Thu Jan 21 18:46:29 CET 2010
Le jeudi 21 janvier 2010 19:27:51 Fabio Ritrovato, vous avez écrit :
> 2010/1/21 Rémi Denis-Courmont <remi at remlab.net>:
> > Le jeudi 21 janvier 2010 19:03:08 Fabio Ritrovato, vous avez écrit :
> >> In this case, the one you run from the command line will start fine,
> >> but when you click on it in the playlist, it will start again...
> >
> > That's a limitation of the plugins cache foremost.
>
> I can't see why that's related to the cache, but what should I do
> anyway?
Currently, "services-discovery" (S) is a categorized modules list
(add_module_list_cat), which means the preference dialog will provide a list
of known modules. There are three places where you can fix it:
# Turn the option into a plain dumb string and add SD-specific logic to each
UI plugin, using SD probe. This is totally ugly, but relatively easy.
# Extend the modules bank and the plugins cache to support dynamic plugin
description. This is very difficult and complicated to get right.
# Add a new string configuration item sub-type that hooks into the new probe
subsystem instead of the modules bank.
> Ignore it and hope nobody will launch a script from the
> command line?
Only developpers do that, who cares? I am more concerned about breaking
backward compatibility with vlcrc from older VLC versions.
--
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis
More information about the vlc-devel
mailing list