<div dir="ltr">Thanks Bill, that rendered an empty set, Yeah! I'm going to reboot and have a look.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 28, 2021 at 3:50 PM Bill Meek <<a href="mailto:keemllib@gmail.com">keemllib@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 10/28/21 2:38 PM, Daryl McDonald wrote:<br>
> <br>
> <br>
> <br>
> <br>
> > ><br>
> > > mysql> SELECT chanid,recpriority FROM channel WHERE recpriority != 0 ORDER BY chanid;<br>
> > > +--------+-------------+<br>
> > > | chanid | recpriority |<br>
> > > +--------+-------------+<br>
> > > | 1061 | -3 |<br>
> > > | 1161 | -2 |<br>
> > > | 1171 | -1 |<br>
> > > | 1301 | -5 |<br>
> > > +--------+-------------+<br>
> > > 4 rows in set (0.00 sec)<br>
> ><br>
> > You can follow this on: <a href="https://forum.mythtv.org/viewtopic.php?f=36&t=4628" rel="noreferrer" target="_blank">https://forum.mythtv.org/viewtopic.php?f=36&t=4628</a> <<a href="https://forum.mythtv.org/viewtopic.php?f=36&t=4628" rel="noreferrer" target="_blank">https://forum.mythtv.org/viewtopic.php?f=36&t=4628</a>><br>
> <<a href="https://forum.mythtv.org/viewtopic.php?f=36&t=4628" rel="noreferrer" target="_blank">https://forum.mythtv.org/viewtopic.php?f=36&t=4628</a> <<a href="https://forum.mythtv.org/viewtopic.php?f=36&t=4628" rel="noreferrer" target="_blank">https://forum.mythtv.org/viewtopic.php?f=36&t=4628</a>>><br>
> ><br>
> > You'll see that a single negative recpriority will cause the SQL error pasted<br>
> > earlier. The issue is still open<br>
> On 10/28/21 6:08 AM, Daryl McDonald wrote:<br>
> > Thanks Bill, halfway there, I was able to neutralize the priority factor on two of the four that showed from the query. The other two do not<br>
> > show up in frontend settings because I deleted those channels. How would I go about making that change from mysql?<br>
> <br>
> This is a safe way, just change the chanid:<br>
> <br>
> mysql --user=mythtv --password --execute="UPDATE channel SET recpriority=0 WHERE chanid=98765 LIMIT 1" mythconverg<br>
> <br>
> -- <br>
> Bill<br>
> <br>
> The above command does not look like a mysql command because it does not end with a semicolon.<br>
<br>
It was intended to be run from the shell command line, you don't need to enter mysql.<br>
<br>
> This shows the two remaining:<br>
> mysql> SELECT chanid,recpriority FROM channel WHERE recpriority != 0 ORDER BY chanid;<br>
> +--------+-------------+<br>
> | chanid | recpriority |<br>
> +--------+-------------+<br>
> | 1061 | -3 |<br>
> | 1301 | -5 |<br>
> +--------+-------------+<br>
> 2 rows in set (0.01 sec)<br>
> <br>
> I just want to be certain before I mess with mysql, I don't see how your command, Bill, targets my remaining channel priorities? <br>
> Do I need to make substitutes in the command, like the actual password?<br>
<br>
<br>
In your case, you'd run the above twice, replacing 98765 with 1061 and again with 1301.<br>
There are other ways to do it, but this works.<br>
<br>
The actual fix was just tested and pushed for master and fixes/31, by the way.<br>
(by gigem)<br>
<br>
-- <br>
Bill<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div>