Opened 6 years ago
Closed 6 years ago
#13449 closed Bug Report - General (fixed)
Channel Scan fails when no delivery system has been selected
Reported by: | Klaas de Waal | Owned by: | Klaas de Waal |
---|---|---|---|
Priority: | minor | Milestone: | 31.0 |
Component: | MythTV - Mythtv-setup | Version: | Master Head |
Severity: | medium | Keywords: | DVB delivery system |
Cc: | Stuart Auchterlonie | Ticket locked: | no |
Description
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.
In a7f4441f71/mythtv: