[mythtv-users] invalid cardid -1

Ralf Haller ralf at brap.de
Sat Jun 7 18:09:10 EDT 2003


Isaac Richards wrote:

>On Saturday 07 June 2003 06:53 am, Ralf Haller wrote:
>  
>
>>Hi Isaac,
>>
>>I only used setup and mythfilldatabase to fill the database. I read the
>>chanel from .xawtv and the programs from a custom xmltv file.
>>
>>The system worked perfectly until two days ago, however adding an extra
>>computer for playing messed up my system. I am using a PVR 350 card, BTW.
>>
>>Anyway, here is the content of the tables you wanted:
>>    
>>
>
>You somehow managed to set all the 'sourceid' fields in the channel table to 
>0, when they should be 1.
>
>update channel set sourcid = 1;
>
>should fix it.
>
>Isaac
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at snowman.net
>http://lists.snowman.net/cgi-bin/mailman/listinfo/mythtv-users
>
>  
>
Hi Isaac,

thanks for the reply, that problem is fixed but now I ran into another:

bash-2.05b$ mythbackend -v
Session management error: Could not open network socket
Starting up as the master server.
Probed: /dev/video0 - Composite 0
Probed: /dev/video0 - Composite 1
Probed: /dev/video0 - Composite 2
Probed: /dev/video0 - Composite 3
Probed: /dev/video0 - Tuner 0
Probed: /dev/video0 - Composite 4
Probed: /dev/video0 - S-Video 0
Probed: /dev/video0 - S-Video 1
Probed: /dev/video0 - S-Video 2
Probed: /dev/video0 - S-Video 3
2003-06-07 17:02:55 Verbose mode activated.
2003-06-07 17:02:55 Found changes in the todo list.
2003-06-07 17:03:29 Found changes in the todo list.
2003-06-07 17:03:29 Started recording "Nordthailand - von Chiang Mai ins 
Goldene Dreieck" on channel: -999 on cardid: 1, sourceid: 1
Changing from None to RecordingOnly
Won't work with the streaming interface, falling back
VIDIOCGCAP:: Das Argument ist ungültig
VIDIOCSAUDIO: Das Argument ist ungültig

Here is the program that created the error:

mysql> select * from program where starttime='20030607164500' and chanid=1;
+--------+----------------+----------------+---------------------------------------------------+----------+-------------+--------------------+---------+-------+-----------------+
| chanid | starttime      | endtime        | 
title                                             | subtitle | 
description | category           | airdate | stars | previouslyshown |
+--------+----------------+----------------+---------------------------------------------------+----------+-------------+--------------------+---------+-------+-----------------+
|      1 | 20030607164500 | 20030607173000 | Nordthailand - von Chiang 
Mai ins Goldene Dreieck |          |             | Reisen - Reportage 
|    2000 |     0 |               0 |
+--------+----------------+----------------+---------------------------------------------------+----------+-------------+--------------------+---------+-------+-----------------+
1 row in set (0.00 sec)


The PVR 350 works when accessed directly by using:

cat /dev/video0 > /tmp/test.mpg

Ralf




More information about the mythtv-users mailing list