<html><head></head><body><div>I am trying to set the preference order for input selection.  I can't seem to adjust which input is selected for a particular recording without explicitly choosing that input in a custom record rule.  I'd like to use the channel recpriority instead.  I have tried to create a custom priority, but nothing seems to change the preference order.</div><div><br></div><div>I have 3 sources:</div><div>- OTA (2 tuners) sourceid=2</div><div>- OTA (1 tuner) sourceid=3</div><div>- Cable (6 tuners) sourceid=4</div><div><br></div><div>Not all channels are available on all sources, but there is a lot of overlap in the on the broadcast spectrum.  Where there is overlap, the preference is 2,4,3.  I'd like to make sense of the record priority and be able to assign preferences based upon channel.  I must be missing the obvious.</div><div><br></div><div>The backend is fixes/0.27 (a62fc0d)</div><div><br></div><div>This is my logic using the sql</div><div><font face="monospace">MariaDB [mythconverg]> select c.chanid,c.name,c.sourceid,c.recpriority,i.cardid,i.recpriority,schedorder from channel c,cardinput i where name = 'KSDK' and c.sourceid=i.sourceid and visible != 0 order by c.recpriority+i.recpriority desc,c.name,c.sourceid,i.cardid;</font></div><div><font face="monospace">+--------+------+----------+-------------+--------+-------------+------------+</font></div><div><font face="monospace">| chanid | name | sourceid | recpriority | cardid | recpriority | schedorder | actual</font></div><div><font face="monospace">+--------+------+----------+-------------+--------+-------------+------------+</font></div><div><font face="monospace">|   3051 | KSDK |        3 |           3 |     20 |           5 |          8 |   1</font></div><div><span style="font-family: monospace;">|   3051 | KSDK |        3 |           3 |     30 |           5 |          9 |   2</span></div><div><span style="font-family: monospace;">|   2051 | KSDK |        2 |           0 |     10 |           5 |          8 |   9</span></div><div><span style="font-family: monospace;">|   4705 | KSDK |        4 |           0 |      1 |           3 |          2 |   3</span></div><div><font face="monospace">|   4705 | KSDK |        4 |           0 |      2 |           3 |          3 |   4</font></div><div><font face="monospace">|   4705 | KSDK |        4 |           0 |      3 |           3 |          4 |   5</font></div><div><font face="monospace">|   4705 | KSDK |        4 |           0 |      4 |           3 |          5 |   6</font></div><div><font face="monospace">|   4705 | KSDK |        4 |           0 |      5 |           3 |          6 |   7</font></div><div><font face="monospace">|   4705 | KSDK |        4 |           0 |      6 |           3 |          7 |   8</font></div><div><span style="font-family: monospace;">+--------+------+----------+-------------+--------+-------------+------------+</span></div><div><font face="monospace">9 rows in set (0.01 sec)</font></div><div><font face="monospace"><br></font></div><div><font face="monospace">MariaDB [mythconverg]> select c.chanid,c.name,c.sourceid,c.recpriority,i.cardid,i.recpriority,schedorder from channel c,cardinput i where name = 'KMOV' and c.sourceid=i.sourceid and visible != 0 order by c.recpriority+i.recpriority desc,c.name,c.sourceid,i.cardid;</font></div><div><font face="monospace">+--------+------+----------+-------------+--------+-------------+------------+</font></div><div><font face="monospace">| chanid | name | sourceid | recpriority | cardid | recpriority | schedorder | actual</font></div><div><font face="monospace">+--------+------+----------+-------------+--------+-------------+------------+</font></div><div><font face="monospace">|   2041 | KMOV |        2 |           1 |     10 |           5 |          8 |   7</font></div><div><span style="font-family: monospace;">|   4704 | KMOV |        4 |           0 |      1 |           3 |          2 |   1</span></div><div><span style="font-family: monospace;"><font face="monospace">|   4704 | KMOV |        4 |           0 |      2 |           3 |          3 |   2</font></span><div><font face="monospace">|   4704 | KMOV |        4 |           0 |      3 |           3 |          4 |   3</font></div><div><font face="monospace">|   4704 | KMOV |        4 |           0 |      4 |           3 |          5 |   4</font></div><div><font face="monospace">|   4704 | KMOV |        4 |           0 |      5 |           3 |          6 |   5</font></div><div><font face="monospace">|   4704 | KMOV |        4 |           0 |      6 |           3 |          7 |   6</font></div></div><div><span style="font-family: monospace;">+--------+------+----------+-------------+--------+-------------+------------+</span></div><div><font face="monospace">7 rows in set (0.00 sec)</font></div><div></div></body></html>