[mythtv] Caller ID
Isaac Richards
ijr at po.cwru.edu
Mon Nov 10 23:02:50 EST 2003
On Monday 10 November 2003 10:50 pm, Ken Bass wrote:
> On Mon, 10 Nov 2003 22:37:47 -0500, Isaac Richards <ijr at po.cwru.edu>
> wrote:
>
> >> My preference would be to
> >> change
> >> int udp_port = gContext->GetNumSetting("UDPNotifyPort");
> >> back to
> >> int udp_port = gContext->GetNumSetting("UDPNotifyPort", 6948);
> >> so it works out of CVS with a 0.12 database.
> >
> >
> >Barking completely up the wrong tree here. All new settings get created
> > when mythfrontend is run.
> >
> Hmm, what part of the software does that? I found a dbcheck.cpp file
> which updates based on a schema version. It would seem that there needs to
> be an addition of an 'INSERT INTO settings SET value="UDPNotifyPort",
> data=6948;' somewhere in there. However since the CVS didn't bump the
> schema beyond 0.12 I'm not how this would get executed (if it were the
> proper place to add it) until 0.13 is released. Please educate me.
A new setting does not require a schema update, as no tables change. There's
code in mythfrontend's main.cpp to set the defaults for all settings on
startup. You _could_ just try it yourself and see.
Isaac
More information about the mythtv-dev
mailing list