Mailing List Archive

1 2  View All
Re: Upcoming recordings gone [ In reply to ]
On 10/29/21 4:04 PM, Daryl McDonald wrote:
>
>
> On Fri, Oct 29, 2021 at 3:51 PM Bill Meek <keemllib@gmail.com <mailto:keemllib@gmail.com>> wrote:
>
> On 10/29/21 2:44 PM, Daryl McDonald wrote:
> >
> >
> > On Fri, Oct 29, 2021 at 6:14 AM Paul Harrison <mythtv@mythqml.net <mailto:mythtv@mythqml.net> <mailto:mythtv@mythqml.net
> <mailto:mythtv@mythqml.net>>> wrote:
> >
> >     On 28/10/2021 23:50, Daryl McDonald wrote:
> >
> >>
> >>
> >>     On Thu, Oct 28, 2021 at 5:09 PM Bill Meek <keemllib@gmail.com <mailto:keemllib@gmail.com> <mailto:keemllib@gmail.com
> <mailto:keemllib@gmail.com>>> wrote:
> >>
> >>         On 10/28/21 4:03 PM, Daryl McDonald wrote:
> >>         > I just upgraded and nothing for myth or mysql that I saw
> >>
> >>         It usually takes a day or so. Look in your backend log to see if
> >>         the same error is still there. If you see: BIGINT, for example,
> >>         that's a clue.
> >>
> >>         --
> >>         Bill
> >>         _______________________________________________
> >>
> >>     OK, practicing patience here. Thanks, again. 
> >>
> >>
> >
> >     For any Ubuntu users using the PPA's both mythbuntu/31 (fixes/31) and mythbuntu/32 (master) have now been updated with the fix.
> >
> >
> >     Paul H.
> >
> > I got the updates this morning, but still no recordings being scheduled.  When might things get back to functional? 
>
> When you try to schedule a new recording, look in the backend log. Is the same SQL error
> message there?
>
> Look for this:
>
> BIGINT UNSIGNED value is out of range in '((`mythconverg`.`c`.`recpriority` + `mythconverg`.`capturecard`.`recpriority`) +
> ((`mythconverg`.`capturecard`.`cardid` = `mythconverg`.`sched_temp_record`.`prefinput`) * 2))'
>
> It's issue fixed for me and others reporting on the Forum.
>
> --
> Bill
> __
>
> There seems to be some kind of dberror, here is a short log from the backend :
>
>  https://paste.ubuntu.com/p/VBVtxZJzPK/ <https://paste.ubuntu.com/p/VBVtxZJzPK/>

Any Custom Priority rules:

mysql --user=mythtv --password --host=localhost --execute="SELECT * FROM powerpriority,powerpriority_tmp" mythconverg

--
Bill
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Upcoming recordings gone [ In reply to ]
On Fri, Oct 29, 2021 at 9:37 PM Bill Meek <keemllib@gmail.com> wrote:

> On 10/29/21 4:04 PM, Daryl McDonald wrote:
> >
> >
> > On Fri, Oct 29, 2021 at 3:51 PM Bill Meek <keemllib@gmail.com <mailto:
> keemllib@gmail.com>> wrote:
> >
> > On 10/29/21 2:44 PM, Daryl McDonald wrote:
> > >
> > >
> > > On Fri, Oct 29, 2021 at 6:14 AM Paul Harrison <mythtv@mythqml.net
> <mailto:mythtv@mythqml.net> <mailto:mythtv@mythqml.net
> > <mailto:mythtv@mythqml.net>>> wrote:
> > >
> > > On 28/10/2021 23:50, Daryl McDonald wrote:
> > >
> > >>
> > >>
> > >> On Thu, Oct 28, 2021 at 5:09 PM Bill Meek <keemllib@gmail.com
> <mailto:keemllib@gmail.com> <mailto:keemllib@gmail.com
> > <mailto:keemllib@gmail.com>>> wrote:
> > >>
> > >> On 10/28/21 4:03 PM, Daryl McDonald wrote:
> > >> > I just upgraded and nothing for myth or mysql that I saw
> > >>
> > >> It usually takes a day or so. Look in your backend log to
> see if
> > >> the same error is still there. If you see: BIGINT, for
> example,
> > >> that's a clue.
> > >>
> > >> --
> > >> Bill
> > >> _______________________________________________
> > >>
> > >> OK, practicing patience here. Thanks, again.
> > >>
> > >>
> > >
> > > For any Ubuntu users using the PPA's both mythbuntu/31
> (fixes/31) and mythbuntu/32 (master) have now been updated with the fix.
> > >
> > >
> > > Paul H.
> > >
> > > I got the updates this morning, but still no recordings being
> scheduled. When might things get back to functional?
> >
> > When you try to schedule a new recording, look in the backend log.
> Is the same SQL error
> > message there?
> >
> > Look for this:
> >
> > BIGINT UNSIGNED value is out of range in
> '((`mythconverg`.`c`.`recpriority` +
> `mythconverg`.`capturecard`.`recpriority`) +
> > ((`mythconverg`.`capturecard`.`cardid` =
> `mythconverg`.`sched_temp_record`.`prefinput`) * 2))'
> >
> > It's issue fixed for me and others reporting on the Forum.
> >
> > --
> > Bill
> > __
> >
> > There seems to be some kind of dberror, here is a short log from the
> backend :
> >
> > https://paste.ubuntu.com/p/VBVtxZJzPK/ <
> https://paste.ubuntu.com/p/VBVtxZJzPK/>
>
> Any Custom Priority rules:
>
> mysql --user=mythtv --password --host=localhost --execute="SELECT * FROM
> powerpriority,powerpriority_tmp" mythconverg
>
> --
> Bill
>
>
daryl@trieli:~$ mysql --user=mythtv --password --host=localhost
--execute="SELECT * FROM powerpriority,powerpriority_tmp" mythconverg
Enter password:
+--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
| priorityname | recpriority | selectclause |
priorityname | recpriority | selectclause |
+--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
| CBSnotADP#0 | -50 | channel.mplexid=6 and cardid in (1,5) |
CBSnotADP#0 | -50 | channel.mplexid=6 and cardid in (1,5) |
+--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
daryl@trieli:~$

Stephen and I just put this one in due to a less sensitive tuner card
Re: Upcoming recordings gone [ In reply to ]
On 10/29/21 8:49 PM, Daryl McDonald wrote:
>
>
> On Fri, Oct 29, 2021 at 9:37 PM Bill Meek <keemllib@gmail.com <mailto:keemllib@gmail.com>> wrote:
>
> On 10/29/21 4:04 PM, Daryl McDonald wrote:
> >
> >
> > On Fri, Oct 29, 2021 at 3:51 PM Bill Meek <keemllib@gmail.com <mailto:keemllib@gmail.com> <mailto:keemllib@gmail.com
> <mailto:keemllib@gmail.com>>> wrote:
> >
> >     On 10/29/21 2:44 PM, Daryl McDonald wrote:
> >     >
> >     >
> >     > On Fri, Oct 29, 2021 at 6:14 AM Paul Harrison <mythtv@mythqml.net <mailto:mythtv@mythqml.net> <mailto:mythtv@mythqml.net
> <mailto:mythtv@mythqml.net>> <mailto:mythtv@mythqml.net <mailto:mythtv@mythqml.net>
> >     <mailto:mythtv@mythqml.net <mailto:mythtv@mythqml.net>>>> wrote:
> >     >
> >     >     On 28/10/2021 23:50, Daryl McDonald wrote:
> >     >
> >     >>
> >     >>
> >     >>     On Thu, Oct 28, 2021 at 5:09 PM Bill Meek <keemllib@gmail.com <mailto:keemllib@gmail.com> <mailto:keemllib@gmail.com
> <mailto:keemllib@gmail.com>> <mailto:keemllib@gmail.com <mailto:keemllib@gmail.com>
> >     <mailto:keemllib@gmail.com <mailto:keemllib@gmail.com>>>> wrote:
> >     >>
> >     >>         On 10/28/21 4:03 PM, Daryl McDonald wrote:
> >     >>         > I just upgraded and nothing for myth or mysql that I saw
> >     >>
> >     >>         It usually takes a day or so. Look in your backend log to see if
> >     >>         the same error is still there. If you see: BIGINT, for example,
> >     >>         that's a clue.
> >     >>
> >     >>         --
> >     >>         Bill
> >     >>         _______________________________________________
> >     >>
> >     >>     OK, practicing patience here. Thanks, again. 
> >     >>
> >     >>
> >     >
> >     >     For any Ubuntu users using the PPA's both mythbuntu/31 (fixes/31) and mythbuntu/32 (master) have now been updated with the fix.
> >     >
> >     >
> >     >     Paul H.
> >     >
> >     > I got the updates this morning, but still no recordings being scheduled.  When might things get back to functional? 
> >
> >     When you try to schedule a new recording, look in the backend log. Is the same SQL error
> >     message there?
> >
> >     Look for this:
> >
> >     BIGINT UNSIGNED value is out of range in '((`mythconverg`.`c`.`recpriority` + `mythconverg`.`capturecard`.`recpriority`) +
> >     ((`mythconverg`.`capturecard`.`cardid` = `mythconverg`.`sched_temp_record`.`prefinput`) * 2))'
> >
> >     It's issue fixed for me and others reporting on the Forum.
> >
> >     --
> >     Bill
> >     __
> >
> > There seems to be some kind of dberror, here is a short log from the backend :
> >
> >  https://paste.ubuntu.com/p/VBVtxZJzPK/ <https://paste.ubuntu.com/p/VBVtxZJzPK/> <https://paste.ubuntu.com/p/VBVtxZJzPK/
> <https://paste.ubuntu.com/p/VBVtxZJzPK/>>
>
> Any Custom Priority rules:
>
>   mysql --user=mythtv --password --host=localhost --execute="SELECT * FROM powerpriority,powerpriority_tmp" mythconverg
>
> --
> Bill
>
>
>  daryl@trieli:~$ mysql --user=mythtv --password --host=localhost --execute="SELECT * FROM powerpriority,powerpriority_tmp" mythconverg
> Enter password:
> +--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
> | priorityname | recpriority | selectclause                          | priorityname | recpriority | selectclause                          |
> +--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
> | CBSnotADP#0  |         -50 | channel.mplexid=6 and cardid in (1,5) | CBSnotADP#0  |         -50 | channel.mplexid=6 and cardid in (1,5) |
> +--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
> daryl@trieli:~$ 
>
> Stephen and I just put this one in due to a less sensitive tuner card

If you can live with it temporarily, change the recpriority in the Custom Priority to 0 from -50.

--
Bill
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Upcoming recordings gone [ In reply to ]
On Fri, 29 Oct 2021 21:49:29 -0400, you wrote:

>On Fri, Oct 29, 2021 at 9:37 PM Bill Meek <keemllib@gmail.com> wrote:
>
>> On 10/29/21 4:04 PM, Daryl McDonald wrote:
>> >
>> >
>> > On Fri, Oct 29, 2021 at 3:51 PM Bill Meek <keemllib@gmail.com <mailto:
>> keemllib@gmail.com>> wrote:
>> >
>> > On 10/29/21 2:44 PM, Daryl McDonald wrote:
>> > >
>> > >
>> > > On Fri, Oct 29, 2021 at 6:14 AM Paul Harrison <mythtv@mythqml.net
>> <mailto:mythtv@mythqml.net> <mailto:mythtv@mythqml.net
>> > <mailto:mythtv@mythqml.net>>> wrote:
>> > >
>> > > On 28/10/2021 23:50, Daryl McDonald wrote:
>> > >
>> > >>
>> > >>
>> > >> On Thu, Oct 28, 2021 at 5:09 PM Bill Meek <keemllib@gmail.com
>> <mailto:keemllib@gmail.com> <mailto:keemllib@gmail.com
>> > <mailto:keemllib@gmail.com>>> wrote:
>> > >>
>> > >> On 10/28/21 4:03 PM, Daryl McDonald wrote:
>> > >> > I just upgraded and nothing for myth or mysql that I saw
>> > >>
>> > >> It usually takes a day or so. Look in your backend log to
>> see if
>> > >> the same error is still there. If you see: BIGINT, for
>> example,
>> > >> that's a clue.
>> > >>
>> > >> --
>> > >> Bill
>> > >> _______________________________________________
>> > >>
>> > >> OK, practicing patience here. Thanks, again.
>> > >>
>> > >>
>> > >
>> > > For any Ubuntu users using the PPA's both mythbuntu/31
>> (fixes/31) and mythbuntu/32 (master) have now been updated with the fix.
>> > >
>> > >
>> > > Paul H.
>> > >
>> > > I got the updates this morning, but still no recordings being
>> scheduled. When might things get back to functional?
>> >
>> > When you try to schedule a new recording, look in the backend log.
>> Is the same SQL error
>> > message there?
>> >
>> > Look for this:
>> >
>> > BIGINT UNSIGNED value is out of range in
>> '((`mythconverg`.`c`.`recpriority` +
>> `mythconverg`.`capturecard`.`recpriority`) +
>> > ((`mythconverg`.`capturecard`.`cardid` =
>> `mythconverg`.`sched_temp_record`.`prefinput`) * 2))'
>> >
>> > It's issue fixed for me and others reporting on the Forum.
>> >
>> > --
>> > Bill
>> > __
>> >
>> > There seems to be some kind of dberror, here is a short log from the
>> backend :
>> >
>> > https://paste.ubuntu.com/p/VBVtxZJzPK/ <
>> https://paste.ubuntu.com/p/VBVtxZJzPK/>
>>
>> Any Custom Priority rules:
>>
>> mysql --user=mythtv --password --host=localhost --execute="SELECT * FROM
>> powerpriority,powerpriority_tmp" mythconverg
>>
>> --
>> Bill
>>
>>
> daryl@trieli:~$ mysql --user=mythtv --password --host=localhost
>--execute="SELECT * FROM powerpriority,powerpriority_tmp" mythconverg
>Enter password:
>+--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
>| priorityname | recpriority | selectclause |
>priorityname | recpriority | selectclause |
>+--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
>| CBSnotADP#0 | -50 | channel.mplexid=6 and cardid in (1,5) |
>CBSnotADP#0 | -50 | channel.mplexid=6 and cardid in (1,5) |
>+--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
>daryl@trieli:~$
>
>Stephen and I just put this one in due to a less sensitive tuner card

It might be an idea to reverse that rule - add 50 when the opposite of
the condition applies:

update powerpriority set
recpriority=50,selectclause='channel.mplexid!=6 or cardid not in
(1,5)' where priorityname='CBSnotADP#0';

(or change it via mythfrontend).

That should have the same effect without causing negative priorities.
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Upcoming recordings gone [ In reply to ]
On Fri, Oct 29, 2021 at 10:52 PM Stephen Worthington <
stephen_agent@jsw.gen.nz> wrote:

> On Fri, 29 Oct 2021 21:49:29 -0400, you wrote:
>
> >On Fri, Oct 29, 2021 at 9:37 PM Bill Meek <keemllib@gmail.com> wrote:
> >
> >> On 10/29/21 4:04 PM, Daryl McDonald wrote:
> >> >
> >> >
> >> > On Fri, Oct 29, 2021 at 3:51 PM Bill Meek <keemllib@gmail.com
> <mailto:
> >> keemllib@gmail.com>> wrote:
> >> >
> >> > On 10/29/21 2:44 PM, Daryl McDonald wrote:
> >> > >
> >> > >
> >> > > On Fri, Oct 29, 2021 at 6:14 AM Paul Harrison <
> mythtv@mythqml.net
> >> <mailto:mythtv@mythqml.net> <mailto:mythtv@mythqml.net
> >> > <mailto:mythtv@mythqml.net>>> wrote:
> >> > >
> >> > > On 28/10/2021 23:50, Daryl McDonald wrote:
> >> > >
> >> > >>
> >> > >>
> >> > >> On Thu, Oct 28, 2021 at 5:09 PM Bill Meek <
> keemllib@gmail.com
> >> <mailto:keemllib@gmail.com> <mailto:keemllib@gmail.com
> >> > <mailto:keemllib@gmail.com>>> wrote:
> >> > >>
> >> > >> On 10/28/21 4:03 PM, Daryl McDonald wrote:
> >> > >> > I just upgraded and nothing for myth or mysql that I
> saw
> >> > >>
> >> > >> It usually takes a day or so. Look in your backend log
> to
> >> see if
> >> > >> the same error is still there. If you see: BIGINT, for
> >> example,
> >> > >> that's a clue.
> >> > >>
> >> > >> --
> >> > >> Bill
> >> > >> _______________________________________________
> >> > >>
> >> > >> OK, practicing patience here. Thanks, again.
> >> > >>
> >> > >>
> >> > >
> >> > > For any Ubuntu users using the PPA's both mythbuntu/31
> >> (fixes/31) and mythbuntu/32 (master) have now been updated with the fix.
> >> > >
> >> > >
> >> > > Paul H.
> >> > >
> >> > > I got the updates this morning, but still no recordings being
> >> scheduled. When might things get back to functional?
> >> >
> >> > When you try to schedule a new recording, look in the backend log.
> >> Is the same SQL error
> >> > message there?
> >> >
> >> > Look for this:
> >> >
> >> > BIGINT UNSIGNED value is out of range in
> >> '((`mythconverg`.`c`.`recpriority` +
> >> `mythconverg`.`capturecard`.`recpriority`) +
> >> > ((`mythconverg`.`capturecard`.`cardid` =
> >> `mythconverg`.`sched_temp_record`.`prefinput`) * 2))'
> >> >
> >> > It's issue fixed for me and others reporting on the Forum.
> >> >
> >> > --
> >> > Bill
> >> > __
> >> >
> >> > There seems to be some kind of dberror, here is a short log from the
> >> backend :
> >> >
> >> > https://paste.ubuntu.com/p/VBVtxZJzPK/ <
> >> https://paste.ubuntu.com/p/VBVtxZJzPK/>
> >>
> >> Any Custom Priority rules:
> >>
> >> mysql --user=mythtv --password --host=localhost --execute="SELECT *
> FROM
> >> powerpriority,powerpriority_tmp" mythconverg
> >>
> >> --
> >> Bill
> >>
> >>
> > daryl@trieli:~$ mysql --user=mythtv --password --host=localhost
> >--execute="SELECT * FROM powerpriority,powerpriority_tmp" mythconverg
> >Enter password:
>
> >+--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
> >| priorityname | recpriority | selectclause |
> >priorityname | recpriority | selectclause |
>
> >+--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
> >| CBSnotADP#0 | -50 | channel.mplexid=6 and cardid in (1,5) |
> >CBSnotADP#0 | -50 | channel.mplexid=6 and cardid in (1,5) |
>
> >+--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
> >daryl@trieli:~$
> >
> >Stephen and I just put this one in due to a less sensitive tuner card
>
> It might be an idea to reverse that rule - add 50 when the opposite of
> the condition applies:
>
> update powerpriority set
> recpriority=50,selectclause='channel.mplexid!=6 or cardid not in
> (1,5)' where priorityname='CBSnotADP#0';
>
> (or change it via mythfrontend).
>
> That should have the same effect without causing negative priorities.
>
> mysql> recpriority=50,selectclause='channel.mplexid!=6 or cardid not in
(1,5)' where priorityname='CBSnotADP#0';
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual
that corresponds to your MySQL server version for the right syntax to use
near 'recpriority=50,selectclause='channel.mplexid!=6 or cardid not in
(1,5)' where pr' at line 1
mysql>
Re: Upcoming recordings gone [ In reply to ]
On 30/10/2021 09:35, Daryl McDonald wrote:
> On Fri, Oct 29, 2021 at 10:52 PM Stephen Worthington <
> stephen_agent@jsw.gen.nz> wrote:
>
>> On Fri, 29 Oct 2021 21:49:29 -0400, you wrote:
>>
>>> On Fri, Oct 29, 2021 at 9:37 PM Bill Meek <keemllib@gmail.com> wrote:
>>>
>>>> On 10/29/21 4:04 PM, Daryl McDonald wrote:
>>>>>
>>>>>
>>>>> On Fri, Oct 29, 2021 at 3:51 PM Bill Meek <keemllib@gmail.com
>> <mailto:
>>>> keemllib@gmail.com>> wrote:
>>>>>
>>>>> On 10/29/21 2:44 PM, Daryl McDonald wrote:
>>>>> >
>>>>> >
>>>>> > On Fri, Oct 29, 2021 at 6:14 AM Paul Harrison <
>> mythtv@mythqml.net
>>>> <mailto:mythtv@mythqml.net> <mailto:mythtv@mythqml.net
>>>>> <mailto:mythtv@mythqml.net>>> wrote:
>>>>> >
>>>>> > On 28/10/2021 23:50, Daryl McDonald wrote:
>>>>> >
>>>>> >>
>>>>> >>
>>>>> >> On Thu, Oct 28, 2021 at 5:09 PM Bill Meek <
>> keemllib@gmail.com
>>>> <mailto:keemllib@gmail.com> <mailto:keemllib@gmail.com
>>>>> <mailto:keemllib@gmail.com>>> wrote:
>>>>> >>
>>>>> >> On 10/28/21 4:03 PM, Daryl McDonald wrote:
>>>>> >> > I just upgraded and nothing for myth or mysql that I
>> saw
>>>>> >>
>>>>> >> It usually takes a day or so. Look in your backend log
>> to
>>>> see if
>>>>> >> the same error is still there. If you see: BIGINT, for
>>>> example,
>>>>> >> that's a clue.
>>>>> >>
>>>>> >> --
>>>>> >> Bill
>>>>> >> _______________________________________________
>>>>> >>
>>>>> >> OK, practicing patience here. Thanks, again.
>>>>> >>
>>>>> >>
>>>>> >
>>>>> > For any Ubuntu users using the PPA's both mythbuntu/31
>>>> (fixes/31) and mythbuntu/32 (master) have now been updated with the fix.
>>>>> >
>>>>> >
>>>>> > Paul H.
>>>>> >
>>>>> > I got the updates this morning, but still no recordings being
>>>> scheduled. When might things get back to functional?
>>>>>
>>>>> When you try to schedule a new recording, look in the backend log.
>>>> Is the same SQL error
>>>>> message there?
>>>>>
>>>>> Look for this:
>>>>>
>>>>> BIGINT UNSIGNED value is out of range in
>>>> '((`mythconverg`.`c`.`recpriority` +
>>>> `mythconverg`.`capturecard`.`recpriority`) +
>>>>> ((`mythconverg`.`capturecard`.`cardid` =
>>>> `mythconverg`.`sched_temp_record`.`prefinput`) * 2))'
>>>>>
>>>>> It's issue fixed for me and others reporting on the Forum.
>>>>>
>>>>> --
>>>>> Bill
>>>>> __
>>>>>
>>>>> There seems to be some kind of dberror, here is a short log from the
>>>> backend :
>>>>>
>>>>> https://paste.ubuntu.com/p/VBVtxZJzPK/ <
>>>> https://paste.ubuntu.com/p/VBVtxZJzPK/>
>>>>
>>>> Any Custom Priority rules:
>>>>
>>>> mysql --user=mythtv --password --host=localhost --execute="SELECT *
>> FROM
>>>> powerpriority,powerpriority_tmp" mythconverg
>>>>
>>>> --
>>>> Bill
>>>>
>>>>
>>> daryl@trieli:~$ mysql --user=mythtv --password --host=localhost
>>> --execute="SELECT * FROM powerpriority,powerpriority_tmp" mythconverg
>>> Enter password:
>>
>>> +--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
>>> | priorityname | recpriority | selectclause |
>>> priorityname | recpriority | selectclause |
>>
>>> +--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
>>> | CBSnotADP#0 | -50 | channel.mplexid=6 and cardid in (1,5) |
>>> CBSnotADP#0 | -50 | channel.mplexid=6 and cardid in (1,5) |
>>
>>> +--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
>>> daryl@trieli:~$
>>>
>>> Stephen and I just put this one in due to a less sensitive tuner card
>>
>> It might be an idea to reverse that rule - add 50 when the opposite of
>> the condition applies:
>>
>> update powerpriority set
>> recpriority=50,selectclause='channel.mplexid!=6 or cardid not in
>> (1,5)' where priorityname='CBSnotADP#0';
>>
>> (or change it via mythfrontend).
>>
>> That should have the same effect without causing negative priorities.
>>
>> mysql> recpriority=50,selectclause='channel.mplexid!=6 or cardid not in
> (1,5)' where priorityname='CBSnotADP#0';
> ERROR 1064 (42000): You have an error in your SQL syntax; check the manual
> that corresponds to your MySQL server version for the right syntax to use
> near 'recpriority=50,selectclause='channel.mplexid!=6 or cardid not in
> (1,5)' where pr' at line 1
> mysql>
>
You overlooked the previous line. That command should all read:

mysql> update powerpriority set recpriority=50,selectclause='channel.mplexid!=6 or cardid not in
>> (1,5)' where priorityname='CBSnotADP#0';

(all on one line, of course)

That all looks horrible to me and easy to get wrong. I'd do the changes using the front end,
manually tweaking the rules individually. Of course, that depends on how many rules you have to do.

--

Mike Perkins

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Upcoming recordings gone [ In reply to ]
On Sat, 30 Oct 2021 04:35:38 -0400, you wrote:

>On Fri, Oct 29, 2021 at 10:52 PM Stephen Worthington <
>stephen_agent@jsw.gen.nz> wrote:
>
>> On Fri, 29 Oct 2021 21:49:29 -0400, you wrote:
>>
>> >On Fri, Oct 29, 2021 at 9:37 PM Bill Meek <keemllib@gmail.com> wrote:
>> >
>> >> On 10/29/21 4:04 PM, Daryl McDonald wrote:
>> >> >
>> >> >
>> >> > On Fri, Oct 29, 2021 at 3:51 PM Bill Meek <keemllib@gmail.com
>> <mailto:
>> >> keemllib@gmail.com>> wrote:
>> >> >
>> >> > On 10/29/21 2:44 PM, Daryl McDonald wrote:
>> >> > >
>> >> > >
>> >> > > On Fri, Oct 29, 2021 at 6:14 AM Paul Harrison <
>> mythtv@mythqml.net
>> >> <mailto:mythtv@mythqml.net> <mailto:mythtv@mythqml.net
>> >> > <mailto:mythtv@mythqml.net>>> wrote:
>> >> > >
>> >> > > On 28/10/2021 23:50, Daryl McDonald wrote:
>> >> > >
>> >> > >>
>> >> > >>
>> >> > >> On Thu, Oct 28, 2021 at 5:09 PM Bill Meek <
>> keemllib@gmail.com
>> >> <mailto:keemllib@gmail.com> <mailto:keemllib@gmail.com
>> >> > <mailto:keemllib@gmail.com>>> wrote:
>> >> > >>
>> >> > >> On 10/28/21 4:03 PM, Daryl McDonald wrote:
>> >> > >> > I just upgraded and nothing for myth or mysql that I
>> saw
>> >> > >>
>> >> > >> It usually takes a day or so. Look in your backend log
>> to
>> >> see if
>> >> > >> the same error is still there. If you see: BIGINT, for
>> >> example,
>> >> > >> that's a clue.
>> >> > >>
>> >> > >> --
>> >> > >> Bill
>> >> > >> _______________________________________________
>> >> > >>
>> >> > >> OK, practicing patience here. Thanks, again.
>> >> > >>
>> >> > >>
>> >> > >
>> >> > > For any Ubuntu users using the PPA's both mythbuntu/31
>> >> (fixes/31) and mythbuntu/32 (master) have now been updated with the fix.
>> >> > >
>> >> > >
>> >> > > Paul H.
>> >> > >
>> >> > > I got the updates this morning, but still no recordings being
>> >> scheduled. When might things get back to functional?
>> >> >
>> >> > When you try to schedule a new recording, look in the backend log.
>> >> Is the same SQL error
>> >> > message there?
>> >> >
>> >> > Look for this:
>> >> >
>> >> > BIGINT UNSIGNED value is out of range in
>> >> '((`mythconverg`.`c`.`recpriority` +
>> >> `mythconverg`.`capturecard`.`recpriority`) +
>> >> > ((`mythconverg`.`capturecard`.`cardid` =
>> >> `mythconverg`.`sched_temp_record`.`prefinput`) * 2))'
>> >> >
>> >> > It's issue fixed for me and others reporting on the Forum.
>> >> >
>> >> > --
>> >> > Bill
>> >> > __
>> >> >
>> >> > There seems to be some kind of dberror, here is a short log from the
>> >> backend :
>> >> >
>> >> > https://paste.ubuntu.com/p/VBVtxZJzPK/ <
>> >> https://paste.ubuntu.com/p/VBVtxZJzPK/>
>> >>
>> >> Any Custom Priority rules:
>> >>
>> >> mysql --user=mythtv --password --host=localhost --execute="SELECT *
>> FROM
>> >> powerpriority,powerpriority_tmp" mythconverg
>> >>
>> >> --
>> >> Bill
>> >>
>> >>
>> > daryl@trieli:~$ mysql --user=mythtv --password --host=localhost
>> >--execute="SELECT * FROM powerpriority,powerpriority_tmp" mythconverg
>> >Enter password:
>>
>> >+--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
>> >| priorityname | recpriority | selectclause |
>> >priorityname | recpriority | selectclause |
>>
>> >+--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
>> >| CBSnotADP#0 | -50 | channel.mplexid=6 and cardid in (1,5) |
>> >CBSnotADP#0 | -50 | channel.mplexid=6 and cardid in (1,5) |
>>
>> >+--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
>> >daryl@trieli:~$
>> >
>> >Stephen and I just put this one in due to a less sensitive tuner card
>>
>> It might be an idea to reverse that rule - add 50 when the opposite of
>> the condition applies:
>>
>> update powerpriority set
>> recpriority=50,selectclause='channel.mplexid!=6 or cardid not in
>> (1,5)' where priorityname='CBSnotADP#0';
>>
>> (or change it via mythfrontend).
>>
>> That should have the same effect without causing negative priorities.
>>
>> mysql> recpriority=50,selectclause='channel.mplexid!=6 or cardid not in
>(1,5)' where priorityname='CBSnotADP#0';
>ERROR 1064 (42000): You have an error in your SQL syntax; check the manual
>that corresponds to your MySQL server version for the right syntax to use
>near 'recpriority=50,selectclause='channel.mplexid!=6 or cardid not in
>(1,5)' where pr' at line 1
>mysql>

It looks like you missed the first line ("update powerpriority set").
Try again, with a different line layout:

update powerpriority set recpriority=50,
selectclause='channel.mplexid!=6 or cardid not in (1,5)'
where priorityname='CBSnotADP#0';
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Upcoming recordings gone [ In reply to ]
On Sat, 30 Oct 2021 10:21:38 +0100, you wrote:

>On 30/10/2021 09:35, Daryl McDonald wrote:
>> On Fri, Oct 29, 2021 at 10:52 PM Stephen Worthington <
>> stephen_agent@jsw.gen.nz> wrote:
>>
>>> On Fri, 29 Oct 2021 21:49:29 -0400, you wrote:
>>>
>>>> On Fri, Oct 29, 2021 at 9:37 PM Bill Meek <keemllib@gmail.com> wrote:
>>>>
>>>>> On 10/29/21 4:04 PM, Daryl McDonald wrote:
>>>>>>
>>>>>>
>>>>>> On Fri, Oct 29, 2021 at 3:51 PM Bill Meek <keemllib@gmail.com
>>> <mailto:
>>>>> keemllib@gmail.com>> wrote:
>>>>>>
>>>>>> On 10/29/21 2:44 PM, Daryl McDonald wrote:
>>>>>> >
>>>>>> >
>>>>>> > On Fri, Oct 29, 2021 at 6:14 AM Paul Harrison <
>>> mythtv@mythqml.net
>>>>> <mailto:mythtv@mythqml.net> <mailto:mythtv@mythqml.net
>>>>>> <mailto:mythtv@mythqml.net>>> wrote:
>>>>>> >
>>>>>> > On 28/10/2021 23:50, Daryl McDonald wrote:
>>>>>> >
>>>>>> >>
>>>>>> >>
>>>>>> >> On Thu, Oct 28, 2021 at 5:09 PM Bill Meek <
>>> keemllib@gmail.com
>>>>> <mailto:keemllib@gmail.com> <mailto:keemllib@gmail.com
>>>>>> <mailto:keemllib@gmail.com>>> wrote:
>>>>>> >>
>>>>>> >> On 10/28/21 4:03 PM, Daryl McDonald wrote:
>>>>>> >> > I just upgraded and nothing for myth or mysql that I
>>> saw
>>>>>> >>
>>>>>> >> It usually takes a day or so. Look in your backend log
>>> to
>>>>> see if
>>>>>> >> the same error is still there. If you see: BIGINT, for
>>>>> example,
>>>>>> >> that's a clue.
>>>>>> >>
>>>>>> >> --
>>>>>> >> Bill
>>>>>> >> _______________________________________________
>>>>>> >>
>>>>>> >> OK, practicing patience here. Thanks, again.
>>>>>> >>
>>>>>> >>
>>>>>> >
>>>>>> > For any Ubuntu users using the PPA's both mythbuntu/31
>>>>> (fixes/31) and mythbuntu/32 (master) have now been updated with the fix.
>>>>>> >
>>>>>> >
>>>>>> > Paul H.
>>>>>> >
>>>>>> > I got the updates this morning, but still no recordings being
>>>>> scheduled. When might things get back to functional?
>>>>>>
>>>>>> When you try to schedule a new recording, look in the backend log.
>>>>> Is the same SQL error
>>>>>> message there?
>>>>>>
>>>>>> Look for this:
>>>>>>
>>>>>> BIGINT UNSIGNED value is out of range in
>>>>> '((`mythconverg`.`c`.`recpriority` +
>>>>> `mythconverg`.`capturecard`.`recpriority`) +
>>>>>> ((`mythconverg`.`capturecard`.`cardid` =
>>>>> `mythconverg`.`sched_temp_record`.`prefinput`) * 2))'
>>>>>>
>>>>>> It's issue fixed for me and others reporting on the Forum.
>>>>>>
>>>>>> --
>>>>>> Bill
>>>>>> __
>>>>>>
>>>>>> There seems to be some kind of dberror, here is a short log from the
>>>>> backend :
>>>>>>
>>>>>> https://paste.ubuntu.com/p/VBVtxZJzPK/ <
>>>>> https://paste.ubuntu.com/p/VBVtxZJzPK/>
>>>>>
>>>>> Any Custom Priority rules:
>>>>>
>>>>> mysql --user=mythtv --password --host=localhost --execute="SELECT *
>>> FROM
>>>>> powerpriority,powerpriority_tmp" mythconverg
>>>>>
>>>>> --
>>>>> Bill
>>>>>
>>>>>
>>>> daryl@trieli:~$ mysql --user=mythtv --password --host=localhost
>>>> --execute="SELECT * FROM powerpriority,powerpriority_tmp" mythconverg
>>>> Enter password:
>>>
>>>> +--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
>>>> | priorityname | recpriority | selectclause |
>>>> priorityname | recpriority | selectclause |
>>>
>>>> +--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
>>>> | CBSnotADP#0 | -50 | channel.mplexid=6 and cardid in (1,5) |
>>>> CBSnotADP#0 | -50 | channel.mplexid=6 and cardid in (1,5) |
>>>
>>>> +--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
>>>> daryl@trieli:~$
>>>>
>>>> Stephen and I just put this one in due to a less sensitive tuner card
>>>
>>> It might be an idea to reverse that rule - add 50 when the opposite of
>>> the condition applies:
>>>
>>> update powerpriority set
>>> recpriority=50,selectclause='channel.mplexid!=6 or cardid not in
>>> (1,5)' where priorityname='CBSnotADP#0';
>>>
>>> (or change it via mythfrontend).
>>>
>>> That should have the same effect without causing negative priorities.
>>>
>>> mysql> recpriority=50,selectclause='channel.mplexid!=6 or cardid not in
>> (1,5)' where priorityname='CBSnotADP#0';
>> ERROR 1064 (42000): You have an error in your SQL syntax; check the manual
>> that corresponds to your MySQL server version for the right syntax to use
>> near 'recpriority=50,selectclause='channel.mplexid!=6 or cardid not in
>> (1,5)' where pr' at line 1
>> mysql>
>>
>You overlooked the previous line. That command should all read:
>
>mysql> update powerpriority set recpriority=50,selectclause='channel.mplexid!=6 or cardid not in
> >> (1,5)' where priorityname='CBSnotADP#0';
>
>(all on one line, of course)
>
>That all looks horrible to me and easy to get wrong. I'd do the changes using the front end,
>manually tweaking the rules individually. Of course, that depends on how many rules you have to do.

There is just the one rule. It adjusts the tuner priorities so that
the two virtual tuners on the physical tuner that has problems
recording from one multiplex are much lower priority for use when that
multiplex is being recorded from. So that multiplex will only be
recorded on the other three tuners.

Changing the settings from mythfrontend has the problem that
mythfrontend (and all MythTV programs) do not allow pasting of text,
so you have to manually type it in.
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Upcoming recordings gone [ In reply to ]
On Sat, Oct 30, 2021 at 5:34 AM Stephen Worthington <
stephen_agent@jsw.gen.nz> wrote:

> On Sat, 30 Oct 2021 10:21:38 +0100, you wrote:
>
> >On 30/10/2021 09:35, Daryl McDonald wrote:
> >> On Fri, Oct 29, 2021 at 10:52 PM Stephen Worthington <
> >> stephen_agent@jsw.gen.nz> wrote:
> >>
> >>> On Fri, 29 Oct 2021 21:49:29 -0400, you wrote:
> >>>
> >>>> On Fri, Oct 29, 2021 at 9:37 PM Bill Meek <keemllib@gmail.com> wrote:
> >>>>
> >>>>> On 10/29/21 4:04 PM, Daryl McDonald wrote:
> >>>>>>
> >>>>>>
> >>>>>> On Fri, Oct 29, 2021 at 3:51 PM Bill Meek <keemllib@gmail.com
> >>> <mailto:
> >>>>> keemllib@gmail.com>> wrote:
> >>>>>>
> >>>>>> On 10/29/21 2:44 PM, Daryl McDonald wrote:
> >>>>>> >
> >>>>>> >
> >>>>>> > On Fri, Oct 29, 2021 at 6:14 AM Paul Harrison <
> >>> mythtv@mythqml.net
> >>>>> <mailto:mythtv@mythqml.net> <mailto:mythtv@mythqml.net
> >>>>>> <mailto:mythtv@mythqml.net>>> wrote:
> >>>>>> >
> >>>>>> > On 28/10/2021 23:50, Daryl McDonald wrote:
> >>>>>> >
> >>>>>> >>
> >>>>>> >>
> >>>>>> >> On Thu, Oct 28, 2021 at 5:09 PM Bill Meek <
> >>> keemllib@gmail.com
> >>>>> <mailto:keemllib@gmail.com> <mailto:keemllib@gmail.com
> >>>>>> <mailto:keemllib@gmail.com>>> wrote:
> >>>>>> >>
> >>>>>> >> On 10/28/21 4:03 PM, Daryl McDonald wrote:
> >>>>>> >> > I just upgraded and nothing for myth or mysql
> that I
> >>> saw
> >>>>>> >>
> >>>>>> >> It usually takes a day or so. Look in your backend
> log
> >>> to
> >>>>> see if
> >>>>>> >> the same error is still there. If you see: BIGINT,
> for
> >>>>> example,
> >>>>>> >> that's a clue.
> >>>>>> >>
> >>>>>> >> --
> >>>>>> >> Bill
> >>>>>> >> _______________________________________________
> >>>>>> >>
> >>>>>> >> OK, practicing patience here. Thanks, again.
> >>>>>> >>
> >>>>>> >>
> >>>>>> >
> >>>>>> > For any Ubuntu users using the PPA's both mythbuntu/31
> >>>>> (fixes/31) and mythbuntu/32 (master) have now been updated with the
> fix.
> >>>>>> >
> >>>>>> >
> >>>>>> > Paul H.
> >>>>>> >
> >>>>>> > I got the updates this morning, but still no recordings being
> >>>>> scheduled. When might things get back to functional?
> >>>>>>
> >>>>>> When you try to schedule a new recording, look in the backend
> log.
> >>>>> Is the same SQL error
> >>>>>> message there?
> >>>>>>
> >>>>>> Look for this:
> >>>>>>
> >>>>>> BIGINT UNSIGNED value is out of range in
> >>>>> '((`mythconverg`.`c`.`recpriority` +
> >>>>> `mythconverg`.`capturecard`.`recpriority`) +
> >>>>>> ((`mythconverg`.`capturecard`.`cardid` =
> >>>>> `mythconverg`.`sched_temp_record`.`prefinput`) * 2))'
> >>>>>>
> >>>>>> It's issue fixed for me and others reporting on the Forum.
> >>>>>>
> >>>>>> --
> >>>>>> Bill
> >>>>>> __
> >>>>>>
> >>>>>> There seems to be some kind of dberror, here is a short log from the
> >>>>> backend :
> >>>>>>
> >>>>>> https://paste.ubuntu.com/p/VBVtxZJzPK/ <
> >>>>> https://paste.ubuntu.com/p/VBVtxZJzPK/>
> >>>>>
> >>>>> Any Custom Priority rules:
> >>>>>
> >>>>> mysql --user=mythtv --password --host=localhost --execute="SELECT
> *
> >>> FROM
> >>>>> powerpriority,powerpriority_tmp" mythconverg
> >>>>>
> >>>>> --
> >>>>> Bill
> >>>>>
> >>>>>
> >>>> daryl@trieli:~$ mysql --user=mythtv --password --host=localhost
> >>>> --execute="SELECT * FROM powerpriority,powerpriority_tmp" mythconverg
> >>>> Enter password:
> >>>
> >>>>
> +--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
> >>>> | priorityname | recpriority | selectclause |
> >>>> priorityname | recpriority | selectclause |
> >>>
> >>>>
> +--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
> >>>> | CBSnotADP#0 | -50 | channel.mplexid=6 and cardid in (1,5) |
> >>>> CBSnotADP#0 | -50 | channel.mplexid=6 and cardid in (1,5) |
> >>>
> >>>>
> +--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
> >>>> daryl@trieli:~$
> >>>>
> >>>> Stephen and I just put this one in due to a less sensitive tuner card
> >>>
> >>> It might be an idea to reverse that rule - add 50 when the opposite of
> >>> the condition applies:
> >>>
> >>> update powerpriority set
> >>> recpriority=50,selectclause='channel.mplexid!=6 or cardid not in
> >>> (1,5)' where priorityname='CBSnotADP#0';
> >>>
> >>> (or change it via mythfrontend).
> >>>
> >>> That should have the same effect without causing negative priorities.
> >>>
> >>> mysql> recpriority=50,selectclause='channel.mplexid!=6 or cardid not
> in
> >> (1,5)' where priorityname='CBSnotADP#0';
> >> ERROR 1064 (42000): You have an error in your SQL syntax; check the
> manual
> >> that corresponds to your MySQL server version for the right syntax to
> use
> >> near 'recpriority=50,selectclause='channel.mplexid!=6 or cardid not in
> >> (1,5)' where pr' at line 1
> >> mysql>
> >>
> >You overlooked the previous line. That command should all read:
> >
> >mysql> update powerpriority set
> recpriority=50,selectclause='channel.mplexid!=6 or cardid not in
> > >> (1,5)' where priorityname='CBSnotADP#0';
>
OK, I didn't realize.

> >
> >(all on one line, of course)
> >
> >That all looks horrible to me and easy to get wrong. I'd do the changes
> using the front end,
> >manually tweaking the rules individually. Of course, that depends on how
> many rules you have to do.
>
> There is just the one rule. It adjusts the tuner priorities so that
> the two virtual tuners on the physical tuner that has problems
> recording from one multiplex are much lower priority for use when that
> multiplex is being recorded from. So that multiplex will only be
> recorded on the other three tuners.
>
> Changing the settings from mythfrontend has the problem that
> mythfrontend (and all MythTV programs) do not allow pasting of text,
> so you have to manually type it in.
>
What I did do was delete the rule and remove the card from the scheduler's
reach. Three tuners is enough for now. Now it occurs to me that I could
apply the positive rule to use cardid=2,5 (or 2,3,4,6,7,8). I'll look into
all possibilities, thanks again men!
Re: Upcoming recordings gone [ In reply to ]
On Sat, Oct 30, 2021 at 7:43 AM Daryl McDonald <darylangela@gmail.com>
wrote:

>
>
> On Sat, Oct 30, 2021 at 5:34 AM Stephen Worthington <
> stephen_agent@jsw.gen.nz> wrote:
>
>> On Sat, 30 Oct 2021 10:21:38 +0100, you wrote:
>>
>> >On 30/10/2021 09:35, Daryl McDonald wrote:
>> >> On Fri, Oct 29, 2021 at 10:52 PM Stephen Worthington <
>> >> stephen_agent@jsw.gen.nz> wrote:
>> >>
>> >>> On Fri, 29 Oct 2021 21:49:29 -0400, you wrote:
>> >>>
>> >>>> On Fri, Oct 29, 2021 at 9:37 PM Bill Meek <keemllib@gmail.com>
>> wrote:
>> >>>>
>> >>>>> On 10/29/21 4:04 PM, Daryl McDonald wrote:
>> >>>>>>
>> >>>>>>
>> >>>>>> On Fri, Oct 29, 2021 at 3:51 PM Bill Meek <keemllib@gmail.com
>> >>> <mailto:
>> >>>>> keemllib@gmail.com>> wrote:
>> >>>>>>
>> >>>>>> On 10/29/21 2:44 PM, Daryl McDonald wrote:
>> >>>>>> >
>> >>>>>> >
>> >>>>>> > On Fri, Oct 29, 2021 at 6:14 AM Paul Harrison <
>> >>> mythtv@mythqml.net
>> >>>>> <mailto:mythtv@mythqml.net> <mailto:mythtv@mythqml.net
>> >>>>>> <mailto:mythtv@mythqml.net>>> wrote:
>> >>>>>> >
>> >>>>>> > On 28/10/2021 23:50, Daryl McDonald wrote:
>> >>>>>> >
>> >>>>>> >>
>> >>>>>> >>
>> >>>>>> >> On Thu, Oct 28, 2021 at 5:09 PM Bill Meek <
>> >>> keemllib@gmail.com
>> >>>>> <mailto:keemllib@gmail.com> <mailto:keemllib@gmail.com
>> >>>>>> <mailto:keemllib@gmail.com>>> wrote:
>> >>>>>> >>
>> >>>>>> >> On 10/28/21 4:03 PM, Daryl McDonald wrote:
>> >>>>>> >> > I just upgraded and nothing for myth or mysql
>> that I
>> >>> saw
>> >>>>>> >>
>> >>>>>> >> It usually takes a day or so. Look in your backend
>> log
>> >>> to
>> >>>>> see if
>> >>>>>> >> the same error is still there. If you see: BIGINT,
>> for
>> >>>>> example,
>> >>>>>> >> that's a clue.
>> >>>>>> >>
>> >>>>>> >> --
>> >>>>>> >> Bill
>> >>>>>> >> _______________________________________________
>> >>>>>> >>
>> >>>>>> >> OK, practicing patience here. Thanks, again.
>> >>>>>> >>
>> >>>>>> >>
>> >>>>>> >
>> >>>>>> > For any Ubuntu users using the PPA's both mythbuntu/31
>> >>>>> (fixes/31) and mythbuntu/32 (master) have now been updated with the
>> fix.
>> >>>>>> >
>> >>>>>> >
>> >>>>>> > Paul H.
>> >>>>>> >
>> >>>>>> > I got the updates this morning, but still no recordings
>> being
>> >>>>> scheduled. When might things get back to functional?
>> >>>>>>
>> >>>>>> When you try to schedule a new recording, look in the backend
>> log.
>> >>>>> Is the same SQL error
>> >>>>>> message there?
>> >>>>>>
>> >>>>>> Look for this:
>> >>>>>>
>> >>>>>> BIGINT UNSIGNED value is out of range in
>> >>>>> '((`mythconverg`.`c`.`recpriority` +
>> >>>>> `mythconverg`.`capturecard`.`recpriority`) +
>> >>>>>> ((`mythconverg`.`capturecard`.`cardid` =
>> >>>>> `mythconverg`.`sched_temp_record`.`prefinput`) * 2))'
>> >>>>>>
>> >>>>>> It's issue fixed for me and others reporting on the Forum.
>> >>>>>>
>> >>>>>> --
>> >>>>>> Bill
>> >>>>>> __
>> >>>>>>
>> >>>>>> There seems to be some kind of dberror, here is a short log from
>> the
>> >>>>> backend :
>> >>>>>>
>> >>>>>> https://paste.ubuntu.com/p/VBVtxZJzPK/ <
>> >>>>> https://paste.ubuntu.com/p/VBVtxZJzPK/>
>> >>>>>
>> >>>>> Any Custom Priority rules:
>> >>>>>
>> >>>>> mysql --user=mythtv --password --host=localhost
>> --execute="SELECT *
>> >>> FROM
>> >>>>> powerpriority,powerpriority_tmp" mythconverg
>> >>>>>
>> >>>>> --
>> >>>>> Bill
>> >>>>>
>> >>>>>
>> >>>> daryl@trieli:~$ mysql --user=mythtv --password --host=localhost
>> >>>> --execute="SELECT * FROM powerpriority,powerpriority_tmp" mythconverg
>> >>>> Enter password:
>> >>>
>> >>>>
>> +--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
>> |
>> >>>> priorityname | recpriority | selectclause |
>> >>>
>> >>>>
>> +--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
>> |
>> >>>> CBSnotADP#0 | -50 | channel.mplexid=6 and cardid in (1,5) |
>> >>>
>> >>>>
>> +--------------+-------------+---------------------------------------+--------------+-------------+---------------------------------------+
>> >>>> daryl@trieli:~$
>> >>>>
>> >>>> Stephen and I just put this one in due to a less sensitive tuner card
>> >>>
>> >>> It might be an idea to reverse that rule - add 50 when the opposite of
>> >>> the condition applies:
>> >>>
>> >>> update powerpriority set
>> >>> recpriority=50,selectclause='channel.mplexid!=6 or cardid not in
>> >>> (1,5)' where priorityname='CBSnotADP#0';
>> >>>
>> >>> (or change it via mythfrontend).
>> >>>
>> >>> That should have the same effect without causing negative priorities.
>> >>>
>> >>> mysql> recpriority=50,selectclause='channel.mplexid!=6 or cardid
>> not in
>> >> (1,5)' where priorityname='CBSnotADP#0';
>> >> ERROR 1064 (42000): You have an error in your SQL syntax; check the
>> manual
>> >> that corresponds to your MySQL server version for the right syntax to
>> use
>> >> near 'recpriority=50,selectclause='channel.mplexid!=6 or cardid not in
>> >> (1,5)' where pr' at line 1
>> >> mysql>
>> >>
>> >You overlooked the previous line. That command should all read:
>> >
>> >mysql> update powerpriority set
>> recpriority=50,selectclause='channel.mplexid!=6 or cardid not in
>> > >> (1,5)' where priorityname='CBSnotADP#0';
>>
> OK, I didn't realize.
>
>> >
>> >(all on one line, of course)
>> >
>> >That all looks horrible to me and easy to get wrong. I'd do the changes
>> using the front end,
>> >manually tweaking the rules individually. Of course, that depends on how
>> many rules you have to do.
>>
>> There is just the one rule. It adjusts the tuner priorities so that
>> the two virtual tuners on the physical tuner that has problems
>> recording from one multiplex are much lower priority for use when that
>> multiplex is being recorded from. So that multiplex will only be
>> recorded on the other three tuners.
>>
>> Changing the settings from mythfrontend has the problem that
>> mythfrontend (and all MythTV programs) do not allow pasting of text,
>> so you have to manually type it in.
>>
> What I did do was delete the rule and remove the card from the scheduler's
> reach. Three tuners is enough for now. Now it occurs to me that I could
> apply the positive rule to use cardid=2,5 (or 2,3,4,6,7,8). I'll look into
> all possibilities, thanks again men!
>

I think this will be much better:
daryl@trieli:~$ mysql --user=mythtv --password --host=localhost
--execute="SELECT * FROM powerpriority,powerpriority_tmp" mythconverg
Enter password:
+--------------+-------------+-------------------------------------------+--------------+-------------+-------------------------------------------+
| priorityname | recpriority | selectclause |
priorityname | recpriority | selectclause |
+--------------+-------------+-------------------------------------------+--------------+-------------+-------------------------------------------+
| CBSnotADP#0 | 50 | channel.mplexid!=6 or cardid not in (1,5) |
CBSnotADP#0 | 50 | channel.mplexid!=6 or cardid not in (1,5) |
+--------------+-------------+-------------------------------------------+--------------+-------------+-------------------------------------------+
daryl@trieli:~$
All with plenty of time before Kick-Off tomorrow, much obliged!
Re: Upcoming recordings gone [ In reply to ]
On 30/10/2021 10:33, Stephen Worthington wrote:
> On Sat, 30 Oct 2021 10:21:38 +0100, you wrote:
>
> Changing the settings from mythfrontend has the problem that
> mythfrontend (and all MythTV programs) do not allow pasting of text,
> so you have to manually type it in.


You can if you have a keyboard connected the normal CTRL-V will paste
text into a text editor in Myth. CTRL-C will cut all the text in a text
editor as well.


Generally we don't encourage users to manually chnage the database
unless they know exactly what they are doing and what the consequences
can be if you get it wrong. Always best to use the frontend if possible.


Paul H.

_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Upcoming recordings gone [ In reply to ]
On Sat, Oct 30, 2021 at 12:11 PM Paul Harrison <mythtv@mythqml.net> wrote:

> On 30/10/2021 10:33, Stephen Worthington wrote:
> > On Sat, 30 Oct 2021 10:21:38 +0100, you wrote:
> >
> > Changing the settings from mythfrontend has the problem that
> > mythfrontend (and all MythTV programs) do not allow pasting of text,
> > so you have to manually type it in.
>
>
> You can if you have a keyboard connected the normal CTRL-V will paste
> text into a text editor in Myth. CTRL-C will cut all the text in a text
> editor as well.
>
>
> Generally we don't encourage users to manually chnage the database
> unless they know exactly what they are doing and what the consequences
> can be if you get it wrong. Always best to use the frontend if possible.
>
>
> Paul H.
>
> _______________________________________________
>
> After deleting the original rule, I re-read my notes and used the FE to
get the new rule. The reply to the terminal query was the easier way to
show what I had done to those who had helped me.
Re: Upcoming recordings gone [ In reply to ]
On 10/30/21 6:43 AM, Daryl McDonald wrote:

...

> >>>> daryl@trieli:~$ mysql --user=mythtv --password --host=localhost
> >>>> --execute="SELECT * FROM powerpriority" mythconverg
> >>>> +--------------+-------------+---------------------------------------+
> >>>> | priorityname | recpriority | selectclause                          |
> >>>> +--------------+-------------+---------------------------------------+
> >>>> | CBSnotADP#0  |         -50 | channel.mplexid=6 and cardid in (1,5) |
> >>>> +--------------+-------------+---------------------------------------+

...

The fix for Custom Priorities was pushed this afternoon. It should show up tomorrow
and you can restore the above.

--
Bill
_______________________________________________
mythtv-users mailing list
mythtv-users@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-users
http://wiki.mythtv.org/Mailing_List_etiquette
MythTV Forums: https://forum.mythtv.org
Re: Upcoming recordings gone [ In reply to ]
On Mon, Nov 1, 2021 at 9:33 PM Bill Meek <keemllib@gmail.com> wrote:

> On 10/30/21 6:43 AM, Daryl McDonald wrote:
>
> ...
>
> > >>>> daryl@trieli:~$ mysql --user=mythtv --password --host=localhost
> > >>>> --execute="SELECT * FROM powerpriority" mythconverg
> > >>>>
> +--------------+-------------+---------------------------------------+
> > >>>> | priorityname | recpriority | selectclause
> |
> > >>>>
> +--------------+-------------+---------------------------------------+
> > >>>> | CBSnotADP#0 | -50 | channel.mplexid=6 and cardid in
> (1,5) |
> > >>>>
> +--------------+-------------+---------------------------------------+
>
> ...
>
> The fix for Custom Priorities was pushed this afternoon. It should show up
> tomorrow
> and you can restore the above.
>
> --
> Bill
>
> Stephen's suggestion to flip it to a positive rule is just as effective, I
guess what I'm saying is "it aint broke"
Also the other two channel priority rules I flipped to say DO use this
channel instead of DONT use those, so I'm a pretty happy camper, but thanks
for keeping me in mind just the same Bill.

1 2  View All