Hi,
Is there a way, from a plugin, to save immediately the setup.conf instead of waiting a proper VDR shutdown?
I a word how to call Setup.Save() from a plugin method ?
Thanks
Béranger
BRUNETON Béranger wrote:
Is there a way, from a plugin, to save immediately the setup.conf instead of waiting a proper VDR shutdown?
I a word how to call Setup.Save() from a plugin method ?
Calling Setup.Save() should be fine, unless you do it from a background thread. VDR does call it too for its own setup pages in cMenuSetupBase::Store().
Cheers,
Udo
So simple;) it's working thanks. béranger
On 11/17/06, Udo Richter udo_richter@gmx.de wrote:
BRUNETON Béranger wrote:
Is there a way, from a plugin, to save immediately the setup.conf instead of waiting a proper VDR shutdown?
I a word how to call Setup.Save() from a plugin method ?
Calling Setup.Save() should be fine, unless you do it from a background thread. VDR does call it too for its own setup pages in cMenuSetupBase::Store().
Cheers,
Udo
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr