Thanks, i have found a workaround for the pin plugin.
Another question, is there a way to detect each user action? In detail i looking for a way to detect the time between two user actions to activate the FSK-Protection if the user is longer inactive than a configured time.
Jörg
On Sunday 10 September 2006 11:20, Klaus Schmidinger wrote:
Stefan Huelswitt wrote:
On 10 Sep 2006 Jörg Wendel vdr-ml@jwendel.de wrote:
i use the the function "cStatus::ChannelSwitch(const cDevice *Device, int ChannelNumber) {}" in a plugin, now i wonder that it is called every 21 seconds! This begin 60 minutes after starting the VDR.
Is this the the normal behavior?
I guess that's VDR switching the channel für EPG scan.
That's correct.
How i can detect wat's the matter, a 'automatic' channel switch or a 'normal' switch triggert by the user?
As far as I'm aware you cannot detect this at this level.
Well, VDR itself uses EITScanner.UsesDevice(this) in cDvbDevice::SetChannelDevice() to detect this case. However, I won't guarantee that this will still be available in future VDR version, because I don't like this...
Klaus
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr