Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: VDR Plugin System - First Step



Steffen Koch wrote:
> 
> On Fri, 10 May 2002 10:59:53 +0200, Klaus Schmidinger wrote:
> 
> >> >> why do you load the plugins with the -P Parameter?
> >> >> Isn't it better to load all plugins automaticly and only pass the
> >> >> Parameter with the -P Option to the plugin?
> >> >I'm not sure what you mean.
> >> >Why should VDR load *all* plugins, if the user only wants specific ones?
> >> >If you want to load *all* plugins, you can use the parameter -P*, as in
> >> What about defining the plugins to load in the setup menu?
> >> eg. all plugins the user needs/wants are in a "plugin"-directory and
> >> then he/she can select what to use. This is IMHO the better way to
> >> handle plugins for different users when a multiuser-vdr is available...
> >That would make it hard to provide command line options to individual
> >plugins.
> Maybe one can provide these options in the plugin specific menu then,
> so each plugin will get an own setup menu

Hey, we don't even HAVE real plugins yet!
Shouldn't we first try to actually make these things WORK before
fiddling around with stuff like this?

I believe using command line options for starters is a fairly simple
and straightforward way of doing things. If an individual plugin
decides to allow the user to do all its configuring via its (own!)
setup menu, that's fine with me. And if you simply load *all* plugins
with -P'*', that's ok , too. But you should keep in mind that there
may be plugins that contradict each other. For instance, there may be
a plugin that implements a whole different way of displaying the OSD - so
of there are several such plugins with different OSD implementations,
simply loading *all* plugins will not work. And this is nothing that
could be decided at runtime - you'll *have* to specify this when starting
VDR.

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________



Home | Main Index | Thread Index