[mythtv-users] Can record from LiveTV but not from Guide or Manual

Mario Camou R mcamou at mail.com
Fri May 5 12:00:12 EDT 2006


On 5 May 2006, at 17:49, Mario Camou R wrote:

>
> On 5 May 2006, at 17:38, Mario Camou R wrote:
>
>>> On 5 May 2006, at 02:12, Michael T. Dean wrote:
>>>
>>>> On 05/04/2006 03:23 PM, Mario Camou R wrote:
>>>>
>>>>> I have MythTV 0.19 running on a Gentoo box with a Hauppage PVR-250
>>>>> card.
>>>>>
>>>>> LiveTV works with no problems. However, whenever I try to record
>>>>> (whether from the Guide or a Manual recording) I get no output  
>>>>> file.
>>>>>
>>>>> I have checked the backend logs and I only see a "Started  
>>>>> Recording"
>>>>> and a "Finished Recording" message with the exact same time (the
>>>>> start time of the recording). No other messages.
>>>>>
>>>>> This setup was working correctly with MythTV 0.18.
>>>>>
>>>>> Any ideas?
>>>
>>>> Fix the associations of video sources to inputs in mythtv-setup.
>>>>
>>>> Mike
>>>
>>> I've already done that (Live TV wouldn't work otherwise). Still  
>>> no go.
>>
>> A couple more data points. Sometimes in the logs the "Finished"  
>> entry has a timestamp BEFORE the "Starting" entry:
>>
>> 11  	5492  	scheduler  	5  	0  	2006-05-05 15:52:02  	tv  	Started  
>> recording  	Rubí: channel 3 on cardid 1, sourceid 1
>> 12 	5491 	scheduler 	5 	0 	2006-05-05 15:52:01 	tv 	Finished  
>> recording 	Rubí: channel 3
>>
>> Also, when viewing LiveTV I constantly get the following message  
>> in the logs:
>>
>> [mpeg @ 0xb7739360]Parser not found for Codec Id: 94210 !
>
> I think I found something.
>
> I set --verbose=all on the backend and found the following message  
> after digging trhough the logs:
>
> 2006-05-05 17:41:34.975 ChannelBase: Could not find input: Tuner 0  
> on card when setting channel 1
> 2006-05-05 17:41:34.976 TVRec(1) Error: Failed to set channel to 1.  
> Reverting to kState_None
>
> Now, when running mythtv-setup I don't see any mentions of "Tuner  
> 0", everything is now "Tuner 1" (I actually deleted the whole setup  
> and did it again from the start). I assume that "Tuner 0" comes  
> from SOMEwhere in the database. Any ideas where it might be? I  
> could do a manual update if I only knew which table to look at.
>
> Thanks,
> -Mario

I **REALLY** should stop replying to my own messages.... ;)

I had a look at the queries the backend was doing and narrowed it  
down to the cardinput table. For some reason there was no indication  
of this in mythtv-setup, but this is what I saw:

mysql>  SELECT channel.channum, cardinput.inputname FROM channel,  
capturecard, cardinput WHERE channel.chanid     = '1'
     ->         AND       cardinput.cardid   = capturecard.cardid  
AND       cardinput.sourceid = 1          AND        
capturecard.cardid = 1;
+---------+-----------+
| channum | inputname |
+---------+-----------+
| 1       | Tuner 0   |
| 1       | Tuner 1   |
+---------+-----------+
2 rows in set (0.00 sec)

mysql> select * from cardinput;
+-------------+--------+----------+-----------+----------------- 
+------------+-----------+----------+-----------+--------------- 
+-------------+------------+----------------+------------+------------ 
+-------------+
| cardinputid | cardid | sourceid | inputname | externalcommand |  
preference | shareable | tunechan | startchan | freetoaironly |  
diseqc_port | diseqc_pos | lnb_lof_switch | lnb_lof_hi | lnb_lof_lo |  
displayname |
+-------------+--------+----------+-----------+----------------- 
+------------+-----------+----------+-----------+--------------- 
+-------------+------------+----------------+------------+------------ 
+-------------+
|           1 |      1 |        1 | Tuner 0   |                  
|          0 | N         |          | 1         |             1  
|        NULL |       NULL |       11700000 |   10600000 |    9750000  
| Tuner       |
|           2 |      1 |        1 | Tuner 1   |                  
|          0 | N         |          | 5         |             1  
|        NULL |       NULL |       11700000 |   10600000 |    9750000  
| Tuner       |
+-------------+--------+----------+-----------+----------------- 
+------------+-----------+----------+-----------+--------------- 
+-------------+------------+----------------+------------+------------ 
+-------------+
2 rows in set (0.03 sec)

So....I deleted the record that referenced "Tuner 0" and everything  
seems to be working now (except for the "[mpeg @ 0xb7739360]Parser  
not found for Codec Id: 94210 !" message that appears in the logs ---  
that seems to have no ill effects).

Thanks to all who responded!
-Mario.



More information about the mythtv-users mailing list