> Heya,
>
> Duilio, I've got a question about the way plugin enable/disable states
> are being saved.
>
> Snapshot from .xmms/config:
> [libvisual_xmms]
> version=0.1.7
> last_plugin=goom
> icon=/usr/share/libvisual-xmms/libvisual-xmms-vis.bmp
> width=731
> height=501
> color_depth=4
> fps=100
> fullscreen=FALSE
> enabled_plugins=all
> input_plugin=esd
> morph_plugin=flash
> random_morph=TRUE
> lv_dna=TRUE
> lv_gltest=TRUE
> madspin=TRUE
>
>
> Well, now what would happen if a plugin is called 'fps'... :)
>
> I think it's better to save the states in the following manner:
>
> plugins_enabled=list,of,plugins,that,are,enabled
Exactly, that is on the TODO. In fact there I have said (erroneously)
'remove enabled_plugins key', which must be 'replace when enable/disable
mechanism is ready' :-).
> (you don't need to save which are disabled, because they are if they
> are not in the plugins_enabled= list.
Is true!
Bye,
Duilio.
|