[vdr] [PATCH] obey Power key while replaying a recording

Marko Mäkelä marko.makela at hut.fi
Sun Aug 7 14:47:11 CEST 2005


On Sun, Aug 07, 2005 at 12:21:23PM +0200, Klaus Schmidinger wrote:
> Marko Mäkelä wrote:
> >It would be even better to add a "confirm shutdown" prompt in the case
> >that no recording is active, but a recorded stream is being played back
> >when hitting the Power key.
> >
> >It can be confusing that the Power key stops recorded playback but not
> >live playback.  I'd rather display the "press any key to cancel
> >shutdown" prompt and keep playing back the recorded stream.  Alas, I
> >do not know how to achieve that; maybe it would require some more
> >inter-thread communication.
> 
> Now you're confusing me.
> Isn't that the current behavior?

Well, the current behavior (completely ignoring the Power key during
recorded playback) is confusing, but admittedly so can be the new one
as well.  It would be more consistent to ask for confirmation up-front
in any case (no matter if live or recorded playback) and replace the
confirmation message with a warning if a timed recording or a cutting
is in progress.

> In version 1.3.25 there was a change
> 
>   No longer stopping Transfer Mode or replay immediately when the Power 
>   button
>   is pressed (thanks to Rolf Ahrenberg).
> 
> Your suggested change would countermand that, wouldn't it?
> 
> Since I don't use the power off feature myself, and this is
> apparently a rather complex thing, I'd like to hear some other
> users' opinion about this before I change anything.

That makes sense.

	Marko



More information about the vdr mailing list