[mythtv-users] Can I suppress a particular backend error message?

John Pilkington J.Pilk at tesco.net
Thu Jun 4 12:27:32 UTC 2009


Michael T. Dean wrote:
> On 06/03/2009 06:37 PM, John Pilkington wrote:
>> I've just brought back into use in 0.21 fixes an old usb dvb-t device 
>> that I had stopped using when it apparently became incapable of tuning 
>> the more complex multiplexes.  I find that if I collect the multiplex 
>> info tables by scanning with a more capable card the old device still 
>> gives good recordings, but it produces an error message about once a 
>> second while doing so. I'm using it as virtual tuners 5 and 6, so it's 
>> not often active.
>>
>>
>> 2009-06-03 22:48:01.364 PIDInfo(0): Failed to open demux device 
>> /dev/dvb/adapter0/demux0 for filter on pid 0x104
> ...
>> Janne created patches two years ago that, IIRC, fixed this; patches 
>> were 12572 and 12800 for ticket #1970.  The new messages are more 
>> informative but rather too insistent.  Using 'mythbackend -v norecord' 
>> risks losing really useful information. Is there a more specific option? 
> 
> Actually, that message is an important message (meaning you'll get it 
> unless you do -v noimportant).
> 
> If you really want to ignore it, just filter the logs--i.e. start 
> mythbackend without -l and redirect output to a program that ignores 
> that line:
> 
> mythbackend 2>&1 | grep -v 'Failed to open demux device' > filtered_log
> 
> Or just comment out the message (or change it's log level) in the 
> source.  mythtv/libs/libmythtv/dvbstreamhandler.cpp around about line 845.
> 
> Mike


Thanks for the reply, Mike.  I'll try the grep -v suggestion and see how 
it goes before doing anything more complicated!

John P


More information about the mythtv-users mailing list