﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc	mlocked
13449	Channel Scan fails when no delivery system has been selected	Klaas de Waal	Klaas de Waal	"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."	Bug Report - General	closed	minor	31.0	MythTV - Mythtv-setup	Master Head	medium	fixed	DVB delivery system	Stuart Auchterlonie	0
