[mythtv] Using a unique key instead of hostname in settings

Tomas Edwardsson tommi at tommi.org
Fri Dec 16 12:45:49 EST 2005

Allan Stirling wrote:

> Tomas Edwardsson wrote:
>> I have been having problems with having to reconfigure frontends 
>> because someone changed a hostname or domainname. Wouldn't it make 
>> more sense that when generating the initial config the host would 
>> generate a unique ID and save it onto the filesystem. It can then be 
>> the hosts unique id for all settings.
> In mysql.txt:
> DBHostName=MyUniqueKey

Its actually LocalHostName=MyUniqueKey.

> And this is probably a users question, more than -dev.

Well, I think that it is more "user friendly" to have this an 
autogenerated ID to avoid conflicts and "losing settings" (I know they 
aren't lost). I think this should be easy and with my modest C++ skills 
should be able to write a patch.

- Tommi

More information about the mythtv-dev mailing list