[mythtv] DVB & mythconverg.cardinput.startchan

Blammo blammo.doh at gmail.com
Tue Jul 12 05:41:58 EDT 2005


Myth : 0.18.1.20050523-1

Issue that's been around since 0.17. A frontend gets confused and
leaving an empty value in mythconverg.cardinput.startchan

>From that point on, the capture card is un-usable for LiveTV. Anything
scheduled works fine, but any attempts at liveTV fail. until you go
force the value in SQL back to something other than NULL, and
stop/start the backend.


Start with this:

mysql> select cardinputid,cardid,tunechan,startchan from cardinput;
+-------------+--------+----------+-----------+
| cardinputid | cardid | tunechan | startchan |
+-------------+--------+----------+-----------+
|           1 |      1 | 15       | 15        |
|           2 |      2 | 15_1     | 15_1      |
|           3 |      3 | 15_1     | 15_1      |
+-------------+--------+----------+-----------+
3 rows in set (0.00 sec)


Choose "LIVETV" on a frontend that is somehow confused about what
LiveTV means (and this issue stays after stop/start frontend. The
frontend will black screen then back to the menu.


2005-07-12 02:22:14.709 Changing from None to WatchingLiveTV
2005-07-12 02:22:14.746 DVB#0 Recorder: Card opened successfully
(using TS mode).
2005-07-12 02:22:14.748 DVB#0 ERROR - No PIDS set, please correct your
channel setup.
2005-07-12 02:22:15.749 DVB#0 WARNING - No data from card in 1 second.
2005-07-12 02:22:16.751 DVB#0 WARNING - No data from card in 1 second.
2005-07-12 02:22:17.753 DVB#0 WARNING - No data from card in 1 second.
2005-07-12 02:22:18.755 DVB#0 WARNING - No data from card in 1 second.
2005-07-12 02:22:19.756 DVB#0 WARNING - No data from card in 1 second.
2005-07-12 02:22:20.758 DVB#0 WARNING - No data from card in 1 second.
2005-07-12 02:22:21.760 DVB#0 WARNING - No data from card in 1 second.
2005-07-12 02:22:22.762 DVB#0 WARNING - No data from card in 1 second.
2005-07-12 02:22:23.764 DVB#0 WARNING - No data from card in 1 second.
2005-07-12 02:22:24.766 DVB#0 WARNING - No data from card in 1 second.
2005-07-12 02:22:25.767 DVB#0 WARNING - No data from card in 1 second.
2005-07-12 02:22:26.769 DVB#0 WARNING - No data from card in 1 second.
2005-07-12 02:22:27.771 DVB#0 WARNING - No data from card in 1 second.
2005-07-12 02:22:28.773 DVB#0 WARNING - No data from card in 1 second.
2005-07-12 02:22:29.775 DVB#0 WARNING - No data from card in 1 second.
2005-07-12 02:22:29.777 Couldn't read data from the capture card in 15
seconds. Stopping.
2005-07-12 02:22:29.807 Changing from WatchingLiveTV to None
2005-07-12 02:22:30.777 DVB#0 WARNING - No data from card in 1 second.
2005-07-12 02:22:30.778 Closing DVB recorder


Now you have:

mysql> select cardinputid,cardid,tunechan,startchan from cardinput;
+-------------+--------+----------+-----------+
| cardinputid | cardid | tunechan | startchan |
+-------------+--------+----------+-----------+
|           1 |      1 | 15       | 15        |
|           2 |      2 | 15_1     | 15_1      |
|           3 |      3 | 15_1     |           |
+-------------+--------+----------+-----------+
3 rows in set (0.00 sec)

Notice the absence of "startchan"

some how, some way, any value other than a numeric, or numeric_numeric
should be invalid, and take "tunechan" instead.


More information about the mythtv-dev mailing list