Hi all,
Klaus responded to my private message about the Power key being ignored while playing back a recording. He suggested to add a cControl::Shutdown() call to the kPower handler. I did that, and the attached patch (against vdr-1.3.27) works for me.
I'm not sure if it is necessary to move the assignments before the cControl::Shutdown() call, but I thought it would be safer that way.
Marko