[mythtv-users] scheduler madness
David Engel
david at istwok.net
Wed Apr 6 14:46:20 UTC 2022
On Wed, Apr 06, 2022 at 06:46:38AM +0800, James wrote:
> > On 6 Apr 2022, at 1:25 am, Klaas de Waal <klaas.de.waal at gmail.com> wrote:
> > Can you please show the content of the capturecard table, e.g. the output of this mysql command:
> > select cardid,parentid,videodevice,cardtype,sourceid,recpriority,schedorder,livetvorder,reclimit,schedgroup from capturecard order by cardid;
> >
> > I expect for all entries that column sourceid shows the same number.
> > For column recpriority all values should be 0 (they do not need to be but that is how I have it).
> > For column schedorder all values should be 1 (or higher) when parentid is 0.
> > For column livetvorder all values should be 1 (or higher).
> > For column reclimit all values should be 1 or higher.
> > For column schedgroup the values should be 0 if the parent id is not 0; the value can be 1 if parentid is 0 and you want virtual tuners to be created when needed.
>
> MariaDB [mythconverg]> select cardid,parentid,videodevice,cardtype,sourceid,recpriority,schedorder,livetvorder,reclimit,schedgroup from capturecard order by cardid;
> +--------+----------+-----------------------------+----------+----------+-------------+------------+-------------+----------+------------+
> | cardid | parentid | videodevice | cardtype | sourceid | recpriority | schedorder | livetvorder | reclimit | schedgroup |
> +--------+----------+-----------------------------+----------+----------+-------------+------------+-------------+----------+------------+
> | 1 | 0 | /dev/dvb/adapter0/frontend0 | DVB | 1 | 0 | 1 | 1 | 2 | 1 |
> | 2 | 0 | /dev/dvb/adapter1/frontend0 | DVB | 1 | 0 | 1 | 1 | 2 | 1 |
> | 3 | 0 | /dev/dvb/adapter2/frontend0 | DVB | 1 | 0 | 1 | 1 | 2 | 1 |
> | 4 | 0 | /dev/dvb/adapter3/frontend0 | DVB | 1 | 0 | 1 | 1 | 2 | 1 |
> | 5 | 1 | /dev/dvb/adapter0/frontend0 | DVB | 1 | 0 | 0 | 1 | 2 | 0 |
> | 6 | 2 | /dev/dvb/adapter1/frontend0 | DVB | 1 | 0 | 0 | 1 | 2 | 0 |
> | 7 | 3 | /dev/dvb/adapter2/frontend0 | DVB | 1 | 0 | 0 | 1 | 2 | 0 |
> | 8 | 4 | /dev/dvb/adapter3/frontend0 | DVB | 1 | 0 | 0 | 1 | 2 | 0 |
> +--------+----------+-----------------------------+----------+----------+-------------+------------+-------------+----------+------------+
> 8 rows in set (0.000 sec)
Your capturecare table looks okay. Can you provide the output from
running "mythbackend -v schedule --loglevel debug --testsched"?
David
--
David Engel
david at istwok.net
More information about the mythtv-users
mailing list