[mythtv-users] CardID renumber

Michael T. Dean mtdean at thirdcontact.com
Sat Oct 27 14:18:38 UTC 2007


On 10/27/2007 12:22 AM, Nick Morrott wrote:
> On 27/10/2007, Michael T. Dean <mtdean at thirdcontact.com> wrote:
>   
>> Exactly--especially since on a properly configured system, you won't
>> even see the "cardid" (or cardinputid).  You should assign names to your
>> inputs, and they'll be called--whatever you named them.  (This assumes
>> that "properly configured" means you've assigned a name since you didn't
>> want to see the "default" names.)
>>     
> You will still see cardid and sourceid (and channel id) if you look in
> the backend log - perhaps this output should be made more useful (by
> which I mean usable by a regular user for debugging) to instead output
> the channel name, the input name and the source name?
>
> I'm thinking of outputting the understandable:
>
> 2007-10-27 05:02:38.019 Started recording: This Old House with Steve
> and Norm on Discovery RealTime (VirginMedia) using PVR-350
>
> instead of the cryptic:
>
> 2007-10-27 05:02:38.019 Started recording: This Old House with Steve
> and Norm: channel 2271 on cardid 4, sourceid 2
>
>
> The current backend log output clearly identifies channel/source/card
> for those that can remember them referenced by id, or know where to
> look :). The example log output I suggest above instantly informs a
> user using 'real-life' references - hopefully something that might
> speed up issue resolution.

This would be good for the user, but some of that "ugly" ID info is
useful for devs to use when trying to debug user problems (i.e. provides
numbers which can be compared--regardless of configuration).  Perhaps
output both?  (And, while you're putting in card/channel name, video
source name could be useful for users.)

2007-10-27 05:02:38.019 Started recording: This Old House with Steve
and Norm on Discovery RealTime (VirginMedia) (2271)
using PVR-350 (cardid 4) from MyVideoSource (sourceid 2)

or something.  Definitely a long message, though.

Mike


More information about the mythtv-users mailing list