[mythtv-commits] Ticket #13449: Channel Scan fails when no delivery system has been selected
MythTV
noreply at mythtv.org
Wed Apr 17 20:16:55 UTC 2019
#13449: Channel Scan fails when no delivery system has been selected
---------------------------------------+---------------------------------
Reporter: Klaas de Waal | Owner: Klaas de Waal
Type: Bug Report - General | Status: assigned
Priority: minor | Milestone: 31.0
Component: MythTV - Mythtv-setup | Version: Master Head
Severity: medium | Keywords: DVB delivery system
Ticket locked: 0 |
---------------------------------------+---------------------------------
A mythtv-setup Channel Scan with a DVB tuner card that does not have a
delivery system selected fails with a "Failed to open card" message in the
"Scan Type" selection field. In the log output the following message
appears:
{{{
2019-04-17 21:12:42.500642 E CardUtil[1]: No delivery system selected for
capturecard 1
}}}
This typically happens when mythtv-setup is run with a v30 database; for
DVB cards field capturecard/inputname is then set to "DVBInput" which is
not a delivery system such as "DVB-T2".
This problem is avoided by selecting first a delivery system, with "2.
Capture Cards" / <select capture card> / <select card type> / "Delivery
system". However, this is not obvious for even the experts, let alone the
casual users.
The way forward is to implement the following for DVB cards:
- if there is no valid delivery system then
- get the current delivery system from the device
- if that is DVB-T and DVB-T2 is supported then change to DVB-T2
- if that is DVB-S and DVB-S2 is supported then change to DVB-S2
- update the database with the new delivery system
N.B. In mythbackend it is already done like this, but without modifying
the database. This allows a mythbackend compiled from master to run with a
v30 database.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13449>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list