[mythtv] Latest commits have broken UPNP database lookup

Peter Bennett pb.mythtv at gmail.com
Mon Nov 13 19:50:08 UTC 2017


Hi David

As of 648a40d521ae31ecf7d762eb34b0f03e4f9cfb3f it fails
As of 708baf28f288cc693152d5cbfe8f6ecf7ff663bd it works correctly. All 
commits between are yours.

Frontend connecting to the database by using UPNP is broken. These are 
the error messages from the frontend

2017-11-13 14:21:55.692451 I  Putting up the UPnP backend chooser
2017-11-13 14:22:02.020043 E  MythXMLClient::GetConnectionInfo Failed - 
(501) Not Authorized
2017-11-13 14:22:02.020051 E  Access denied for andromeda: MythTV AV 
Media Server. Wrong PIN?
2017-11-13 14:22:09.902742 E  MythXMLClient::GetConnectionInfo Failed - 
Version Mismatch (,) != (91,1348)
2017-11-13 14:22:09.902751 E  GetConnectionInfo() failed for andromeda: 
MythTV AV Media Server : Version Mismatch
2017-11-13 14:22:22.895200 E  MythXMLClient::GetConnectionInfo Failed - 
Version Mismatch (,) != (91,1348)
2017-11-13 14:22:22.895214 E  GetConnectionInfo() failed for andromeda: 
MythTV AV Media Server : Version Mismatch
2017-11-13 14:22:27.558620 E  Failed to init MythContext, exiting.

This occurs on initial setup, and also on any subsequent connection if 
the initial connection was via UPNP.

To test it -

Start backend, remove the frontend's config.xml and start frontend. You 
need to have them running with different config.xml files (e.g. by 
running under different user ids or overriding MYTHCONFDIR).

Correct operation:
If pin of 0000 was set in mythtv-setup the frontend will automatically 
get the credentials from the backend via UPNP, and create the 
config.xml. If another pin was used you will see the startup page. If 
you select Search there and select the backend it will prompt for the 
PIN and if you enter it correctly it will be connected.

Peter



More information about the mythtv-dev mailing list