[vdr] trouble changing Setup variables from Plugin.

sundararaj reel sundararaj.reel at googlemail.com
Tue Feb 12 19:14:35 CET 2008


>
> >  I change a VDR's setup setting from inside a plugin like:
> >
> > ::Setup.UseSmallFont = 0;
> > ::Setup.Save();         // commit the change to setup.conf
> >
> > This is done only when the plugin's setting is changed. ( in the Store()
> > ).
> >
> > When changes are accepted with OK, the setup.conf is written but it is
> > immediately overwritten by a Setup.Save() call from
> > cMenuSetupBase::Store(). How can I avoid this ?
> >
> > Is there a more orderly way to modify VDR's setup settings ?
>
> Why do you need to change VDR's setup settings?
> That's VDR's own business ;-)
>


:) True.

The skin plugin I am trying has its parameters buried deep inside submenus.
I want the font setting of the skin displayed under the "OSD-Expertmenu".
And would like to change it when ever the skin's settings are changed -
since they are related.

-- 

Sundararaj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.linuxtv.org/pipermail/vdr/attachments/20080212/23706aef/attachment.htm 


More information about the vdr mailing list