[mythtv] patch: setsetting -> db

Isaac Richards ijr at po.cwru.edu
Mon Feb 24 11:18:53 EST 2003


On Monday 24 February 2003 02:44 am, Andy Davidoff wrote:
> This patch makes MythContext::SetSetting() save settings into the
> database.  It defaults to updating settings for localhost context,
> but you can give it an optional 'true' argument to affect the global
> value for the given key.

I had kind of meant for SetSetting() to only be temporary storage, and not 
write to the database.  The only users of it are the setup program, when it 
ensures that there's a Theme and a ThemeQt setting present, and mythvideo, 
where the stuff it stores there is only temp storage, and shouldn't be 
written to the DB.

Isaac


More information about the mythtv-dev mailing list