<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p><br>
</p>
<div class="moz-cite-prefix">On 12/19/19 2:45 PM, Greg Oliver wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAF4tN+81EEuf-XC8CF9E6rGfqQw1zmWFv6YyXDNb5dSnuYEKcQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div class="gmail_default"
style="font-family:monospace,monospace"><span
style="font-family:Arial,Helvetica,sans-serif">On Thu, Dec
19, 2019 at 9:15 AM James Abernathy <<a
href="mailto:jfabernathy@gmail.com"
moz-do-not-send="true">jfabernathy@gmail.com</a>>
wrote:</span><br>
</div>
</div>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"><br>
> On Dec 19, 2019, at 9:47 AM, Jim Abernathy <<a
href="mailto:jfabernathy@gmail.com" target="_blank"
moz-do-not-send="true">jfabernathy@gmail.com</a>>
wrote:<br>
> <br>
> I'm doing some testing since it's too cold to go
outside. I have a production V30 backend that does all my
normal recording of OTA Network shows using a PCIe tuner.<br>
> <br>
> Under test I have a RPI4 V30 backend recording from a
HDHR Quatro and I've had some show breakups that I know are
not antenna problems. It's either HDHR or network issues.<br>
> <br>
> So to test this out I have to switch my Shield TV
Mythtv Frontend (v31 Pre 539) to the RPI4 from the
production backend but it fails.<br>
> <br>
> On the Shield TV I can switch Mythtv Leanfront v0-86
just by changing the IP address and refreshing. Same with
Kodi 18.5.<br>
> <br>
> On the Shield TV Mythtv Frontend I change the IP and
the password for the mythconverg database but it fails to
connect even after a restart. So I'm assuming I'm missing a
step.<br>
> <br>
> The RP4 had it's mythconverg setup with the following
commands in a script:<br>
> <br>
> CREATE DATABASE IF NOT EXISTS mythconverg;<br>
> CREATE USER IF NOT EXISTS 'mythtv'@'%' IDENTIFIED BY
'mythtv';<br>
> CREATE USER IF NOT EXISTS 'mythtv'@'localhost'
IDENTIFIED BY 'mythtv';<br>
> SET PASSWORD FOR 'mythtv'@'%' =
PASSWORD('$mythtv_password');<br>
> SET PASSWORD FOR 'mythtv'@'localhost' =
PASSWORD('$mythtv_password');<br>
> CONNECT mythconverg;<br>
> GRANT ALL PRIVILEGES ON *.* TO 'mythtv'@'%' WITH GRANT
OPTION;<br>
> GRANT ALL PRIVILEGES ON *.* TO 'mythtv'@'localhost'
WITH GRANT OPTION;<br>
> FLUSH PRIVILEGES;<br>
> EXIT<br>
> <br>
> And the /etc/mysql/mariadb.conf.d/mythtv.cnf has the
'#' removed from the bind-address statement.<br>
> <br>
> Anyone know the missing piece??<br>
> <br>
> Jim A<br>
> <br>
> <br>
<br>
Some additional data. I checked the mythtv-setup on the
RPI4 backend and noticed the Primary IP Address/DNS name was
127.0.0.1. I hit enter and it listed a bunch of different
addressed so I selected it’s real IP address of
192.168.0.44. After saving the change and exiting, I
restarting the backend I noticed a change.<br>
<br>
The mythtv frontend didn’t fail to connect to the backend,
it just changed the IP and password back to the Production
backend and works normally. No matter how many times I
change the IP to 192.168.0.44 and the password to ‘mythtv’
and save the results, when I exit and restart the FE it’s
back pointing to the production backend and not the RPi4
backend.<br>
<br>
I’ll try clearing all data for the frontend app on the
Shield and see what happens. I was hoping not to have to do
that.<br>
<br>
Jim A</blockquote>
<div><br>
</div>
<div class="gmail_default"
style="font-family:monospace,monospace">IIRC, the frontends
use UPnP if available to find backends. I have been running
the backend with --noupnp for so long that I cannot remember
why I turned it off, but I think this exact thing was it.</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex"> </blockquote>
</div>
</div>
<br>
</blockquote>
<p>I did try clearing out all the data for the app in the Android
setting and that allowed me to set it up for the test backend. But
there are a lot of settings that need to be set for
mythtv-frontend to work on Shield TV.</p>
<p>So I setup mythfrontend only for my production backend on the
Shield TV and I will use mythtv-leanfront to test the video issues
on my test backend. I can setup the recordings using mythweb and
not use mythfrontend on the test system. Leanfront only needs the
IP address changed and it connects immediately. <br>
</p>
<p>Jim A</p>
<p><br>
</p>
</body>
</html>