[mythtv] Ticket #4109: LocalHostName should not default to "my-unique-identifier-goes-here"

Janne Grunau janne-mythtv at grunau.be
Sun Oct 28 23:58:09 UTC 2007

On Monday 29 October 2007 00:00:36 Daniel Burr wrote:
> On Sun, 2007-10-28 at 15:10 +0000, MythTV wrote:
> >  if the parameter isn't set it is not used. See
> >  MythContextPrivate::LoadDatabaseSettings()
> MythContextPrivate::LoadDatabaseSettings() only does the host name
> check if m_settings->GetSetting("LocalHostName", NULL) evaluates to
> false. However, if LoadSettingsFile() evaluates to false (i.e.
> mysql.txt not found) then WriteSettingsFile(m_DBparams) will be
> called which sets LocalHostName to "my-unique-identifier-goes-here"
> instead of NULL.

I've tested that (starting without mysql.txt and disabled auto 


More information about the mythtv-dev mailing list