[vdr] Failed to read channels.conf after adding transponder

Udo Richter udo_richter at gmx.de
Tue Jun 17 19:05:46 CEST 2008


Hi Klaus & list,


Today I had an unexpected parse error in my channels.conf, in this line:

Test Feed;Test Feed:10920:hC56M2O0S0:S19.2E:22000:0:0:0:0:0:1:1063:0

The line was added by automatic transponder scan yesterday. The 'bug' of 
this channel is that the SID (4'th last) is 0, triggering 
tChannelID::Valid() to be false.

By now, the channel is announced correctly like this:

Test Feed;Test 
Feed:10920:hC56M2O0S0:S19.2E:22000:601:0:0:D02,1815:20351:1:1063:0

The core problem however is that the channel was added without 
completely checking validity first. Adding a check for Valid() to 
cChannels::NewChannel() probably solves this issue. (not tested)


Until this is fixed, its probably a good idea to disable channel updates 
for VDR systems that run mostly un-monitored. (Holiday season is near!)


Cheers,

Udo



More information about the vdr mailing list