Carsten Koch wrote:
Klaus Schmidinger wrote: ...
What I would *love* to see is the following feature: Every time VDR does an EPG scan, it reads from the channel it just switched to. If there are no data within a few seconds, it increments a number in the channel entry, if there are data, it clears this number. If the number exceeds a configurable threshold, the channel entry is deleted. Before adding new channels to channels.conf, VDR switches to the channel and reads from it. If there are no data within a few seconds, it does not add it.
With this feature, only interesting new channels (like the ones you observed above) would appear at the end of channels.conf, inactive channels would disappear automatically after a while and the whole channels.conf would stay a lot cleaner and more manageable.
Sounds like a good thing to do in a plugin
How do I extend the EPG scan in a plugin?
Carsten.
You don't ;-)
Since you'll need to set up a cReveiver to actually see whether you can receive anything from a channel, you should simply go trough the channels and try to receive from them. If one of them doesn't deliver data, you could move it to a different place in the channel list or do something else with it.
Personally I believe this will become obsolete, anyway, once user defined channel lists are possible (yes, I know, I've been mentioning this on several occasions in the past, but it's still pretty high on my list of things to do...).
Klaus