[vdr] howto ignore lines in channels.conf

Klaus Schmidinger Klaus.Schmidinger at tvdr.de
Sun Jan 15 12:01:14 CET 2012


On 15.01.2012 11:56, Eric Valette wrote:
> On 15/01/2012 11:26, Klaus Schmidinger wrote:
>
>>> What charakter can i add in front of a line to let the line be ignored?
>>
>> There is no comment character in channels.conf, because
>> VDR writes this file, and thus any comments would be lost.
>
> IMHO This is not a sufficient answer:

Well, it stated the facts ;-)

> it could skip the line with a comment character when rewriting (and unless it changed, it may not rewrite it is no PMT/pid scanning is requested)

VDR reads the channels.conf file and doesn't store any information about
"comments". It only stores the channel data.
When it writes the file, it writes only the channel data, and
at that point any comments in the original file would be lost.

Klaus



More information about the vdr mailing list