[mythtv] Latest commits have broken UPNP database lookup

David Hampton mythtv at love2code.net
Wed Nov 15 03:03:03 UTC 2017


On Tue, 2017-11-14 at 00:12 -0500, David Hampton wrote:
> On Mon, 2017-11-13 at 22:11 -0500, Peter Bennett wrote:
> > 
> > On 11/13/2017 08:16 PM, David Hampton wrote:
> > > I'm not seeing this behavior.  I created a new Fedora26 virtual
> > > machine
> > > for isolation purposes.  On that system I downloaded and compiled
> > > the
> > > master branch (at 648a40d5), and started mythbackend under my
> > > userid.
> > > I then created another user, started a shell as that other user,
> > > and
> > > ran mythfrontend.  It seems to find the backend without any
> > > problem
> > > and
> > > starts right up.  I must be doing something wrong, because after
> > > setting a pin and deleting the ~/.mythtv directory for the
> > > frontend,
> > > the frontend will still connect without any problem and without
> > > asking
> > > for a pin.  I see this same behavior when running either 708baf28
> > > (which works for you) or 648a40d5 (which fails for you).
> > 
> > If there is no config.xml it tries to connect to the database with 
> > default settings, i.e. user id mythtv, password mythtv, database 
> > mythconverg, server localhost. Is yours setup that way? If so it is
> > not 
> > a good test - change at least the database password.
> > 
> > Peter
> 
> I can now recreate the problem.  I'll start debugging it tomorrow.

Problem resolved.  I mis-interpreted an entry in the Qt Meta-Object
documentation and thought that registering the service object pointers
with the Meta-Object system was redundant, so I removed it.  Oops. 
Adding the registration code back seems to have solved the problem.

David



More information about the mythtv-dev mailing list