When I am done using the receiver I simply power it down, which seems to put the device into some sort of sleep mode. Upon powering it back up it will continue playing music from where it left off (at least when listening to shoutcast streams using Dave's excellent rioplay software).

Is there some way for the software to detect whether it is continuing right after the receiver was brought out of sleep mode? E.g., a signal that can be caught or something? I'd like to add a feature that will pause the audio playback, given the user an opportunity to lower the volume or select other music.

My motivating reason: receiver is in bedroom and the other day my wife woke up our napping daughter by turning on the receiver.

Marc