<div dir="ltr"><div dir="ltr"><br></div><br><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><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>
> <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></blockquote><div>The above command does not look like a mysql command because it does not end with a semicolon.</div><div>This shows the two remaining:</div><div>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></div><div><br></div><div>I just want to be certain before I mess with mysql, I don't see how your command, Bill, targets my remaining channel priorities? </div><div>Do I need to make substitutes in the command, like the actual password?</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
_______________________________________________<br><br>
</blockquote></div></div>