[mythtv] [mythtv-commits] mythtv commit: r14964 - in trunk/mythtv by nigel

Daniel Kristjansson danielk at cuymedia.net
Thu Nov 29 01:02:31 UTC 2007


On Tue, 2007-11-27 at 00:46 +0000, mythtv at cvs.mythtv.org wrote:
> Author: nigel
>         Date: 2007-11-27 00:46:46 +0000 (Tue, 27 Nov 2007)
> New Revision: 14964
>    Changeset: http://cvs.mythtv.org/trac/changeset/14964
> 
> Removed:
> 
>    trunk/mythtv/programs/mythfrontend/masterselection.cpp
>    trunk/mythtv/programs/mythfrontend/masterselection.h
> 
> Modified:
> 
>    trunk/mythtv/libs/libmyth/libmyth.pro
>    trunk/mythtv/libs/libmyth/mythcontext.cpp
>    trunk/mythtv/libs/libmyth/mythcontext.h
>    trunk/mythtv/programs/mythfrontend/main.cpp
>    trunk/mythtv/programs/mythfrontend/mediarenderer.cpp
>    trunk/mythtv/programs/mythfrontend/mythfrontend.pro
> 
> Log:
> 
> New, slightly improved, UPnP autodiscovery. See #4075.
> This should allow most simple setups (either everything on the one machine,
> or one UPnP enabled backend on the network) to just work automaticaly!
> For more complex situations, you have to select a backend and enter a PIN.
> These functions are now more remote friendly, although PIN entry is still hard
> 

Nigel, this causes my backend not to use the database on the localhost
but instead connect to another database on the network. It is defined
in '/home/mythtv/.mythtv/mysql.txt' as DBHostName=localhost. It looks
like it now thinks it is a slave backend to the production mythtv box.

It also causes mythtv-setup to connect to the same wrong DB. I did a
"delete all cards" on the production machine before I realized what
was going on :[ (thankfully not to hard to fix, but still a shock.)
mythtv-setup should only ever connect to the database for the local
backend, so I guess it just got caught up in the same auto-discovery
stuff as the backend.

I didn't get as far as running mythtv-frontend before reverting
the changeset locally, but I always run that with "-d", otherwise
autodiscovery connects me to some remote mythtv backend, but I
presume it wouldn't be affected because "-d" makes it ignore
the whole UPnP stuff.

-- Daniel



More information about the mythtv-dev mailing list