[mythtv-users] Prefering a tuner while avoiding conflicts

Stephen Worthington stephen_agent at jsw.gen.nz
Thu Jul 11 10:34:45 UTC 2019


On Wed, 10 Jul 2019 21:43:25 -0700, you wrote:

>I recently added a HDHR OTA tuner (#2) to my existing HDPVR tuner (#1) that
>records from a cable set-top box.
>
>There is channel overlap between the tuners.  But #2 is not as reliable as
>#1, so I would always prefer to record from #1.  However I also want to
>fall back to #2 in cases where it would resolve recording conflicts on #1.
>
>Is it possible to set things up this way for any show that airs on #1 &
>#2?  I've hunted around on the recording rules menus, have tried a few rule
>configurations, but am still not getting the desired result.

You can certainly apply a higher priority to a tuner.  You do that in
mythtv-setup > Input Connections > (select a tuner) > Interactions
between inputs.  You can change the "Schedule order" and "LiveTV
order" to tell the scheduler which tuners to use first.  And you can
also give the better tuner a higher priority in the "Input priority"
field.

As well as the tuner parameters, you can do more complex things using
the powerpriorities table.  In mythfrontend, go to Setup > Video >
Recording Priorities > Custom Priority.  I use this to assign channels
to tuners.  Where I live, we have 5 DVB-T multiplexes, and I have an 8
tuner DVB-T2 card.  So I have rules that make all the channels on each
multiplex record from one particular tuner, a different tuner per
multiplex (the first 5 rules):

MariaDB [mythconverg]> select * from powerpriority;
+----------------------------+-------------+--------------------------------------------------------------+
| priorityname               | recpriority | selectclause                                                 |
+----------------------------+-------------+--------------------------------------------------------------+
| TVNZ multiplex             |          20 | channel.mplexid=2 and cardid in (1,2,3,4,5)                  |
| Mediaworks multiplex       |          20 | channel.mplexid=3 and cardid in (11,12,13,14,15)             |
| Kordia multiplex           |          20 | channel.mplexid=4 and cardid in (6,7,8,9,10)                 |
| Kordia 2 multiplex         |          20 | channel.mplexid=1 and cardid in (16,17,18,19,20)             |
| Kordia 3 (Maori) multiplex |          20 | channel.mplexid=21 and cardid in (21,22,23,24,25)            |
| Prime                      |          20 | channel.callsign like 'PRIME%' and cardid>=90 and cardid<=91 |
+----------------------------+-------------+--------------------------------------------------------------+
6 rows in set (0.00 sec)

Plus I have a rule for the PRIME, PRIME+1 and PRIME HD channels to
make them record preferentially from cardid 90 or 91 (the two multirec
tuners assigned to my first SAT>IP DVB-S2 tuner).  I do that as PRIME
is also available on a DVB-T multiplex, but in lower definition from
the PRIME HD channel.  So the Prime rule gives a big priority boost to
recording from DVB-S2, and also makes it use the first of the SAT>IP
tuners, as if I run out of SAT>IP tuners, I want Prime recordings to
happen as those programmes are usually not repeated.  Programmes on
the other SAT>IP channels are normally repeated at least 2 or 3 times
in a week.


More information about the mythtv-users mailing list