[mythtv-users] Working out which tuner was used for which recording

John Pilkington J.Pilk at tesco.net
Wed Jun 3 14:07:28 UTC 2015


On 03/06/15 14:15, Hika van den Hoven wrote:
> Hoi John,
>
> Wednesday, June 3, 2015, 3:07:33 PM, you wrote:
>
>> On 03/06/15 13:53, Mike Bibbings wrote:
>>> On 03/06/15 13:46, Hika van den Hoven wrote:
>>>> Hoi Mike,
>>>>
>>>> Wednesday, June 3, 2015, 2:26:54 PM, you wrote:
>>>>
>>>>> On 03/06/15 12:45, Gordon McCrae wrote:
>>>>>> I'm trying to work out how many of my DVB-T tuners are being used, and
>>>>>> mow many "multiplex" recordings are occurring. I recall seeing this
>>>>>> sort of thing being mentioned before, but I can't find the right
>>>>>> google search to find the answers I need.
>>>>>>
>>>>>> I've tried looking at mythbackend.log, and I can see events like:
>>>>>>
>>>>>> mythbackend.20150602041856.1896.log:2015-06-02 22:55:02.094164 I
>>>>>> [1896/2044] TVRecEvent tv_rec.cpp:4130 (TuningNewRecorder) - TVRec[2]:
>>>>>> rec->GetPathname(): '/DATA/MythTV.27/1009_20150602215500.mpg'
>>>>>>
>>>>>> But not sure if that literally means tuner 2 was used to record the
>>>>>> programme, or how to tie that back to the channel, programme etc.
>>>>>>
>>>>>> Anyone know off the top of their head before I spend all afternoon
>>>>>> trying to think of the correct search to find the old discussions.
>>>>>>
>>>>>> Cheers
>>>>>> Gordon
>
>>>>> Have a look at the recorded table in mythconverg
>>>>> Something like
>>>>>     select chanid,title, storagegroup,inputname,starttime,endtime from
>>>>> recorded order by starttime;
>>>>> will give you a list assuming your tuners are named.
>>>>> Mike
>>>>>
>>>> I don't know where you see that? I never saw anything like inputname
>>>> in recorded. And I just checked to be sure.
>>>>
>>>>     Hika                            mailto:hikavdh at gmail.com
>
>>> I am running 0.28pre, which I should have  mentioned in my original reply.
>>>
>>> Mike
>
>> And there it's displayed in the Frontend Watch recordings > selected >
>> second info page  ( press I twice and scroll down)
>
>> John P
>
> So, in 0.28 you can afterwards see other then in the log, which tuner
> was used. I have on occasion looked for it. If you have an occasional
> failure, it's interesting to know if it's the same tuner.
> In 0.27, afterwards you can only find it in the logs!
>
> Tot mails,
>    Hika                            mailto:hikavdh at gmail.com

Yes:  but I just see the number of the virtual tuner that made the 
recording, and of course that isn't automatically associated with a 
particular device - particularly when consulted ten years later.  I 
haven't examined what options exist for doing that.  udev + set device 
name, I suppose.

John




More information about the mythtv-users mailing list