[mythtv] patch: setsetting -> db

Isaac Richards ijr at po.cwru.edu
Mon Feb 24 19:06:28 EST 2003


On Monday 24 February 2003 06:48 pm, Andy Davidoff wrote:
> Are you saying you don't want people to be able to change settings
> in the database from outside of a setup GUI?  Let's say I want to
> have my PlayMode toggle saved between mythmusic invocations.  I'm
> SOL in the current codebase.

No, you're not.  In that case, you'd make your settings object visible to what 
needs to change it -- just like the existing ThemeSelector object could be 
made visible to the code in mythfrontend's main.cpp if wanted to.  It even 
was visible to the main.cpp once, the current layout (all the classes inside 
globalsettings.cpp) was just put in place to speed up compilation a bit.  
Changing it back would be the work of a couple minutes.

By the way -- your playlist schema changes are 4 times faster than the current 
code at reading in a playlist, and a good 10 times slower (on average, it's 
up to 20 times slower for large changes to the playlist) at writing out a 
playlist.  

Isaac


More information about the mythtv-dev mailing list