Sorry but I don't know of any way to detect a hibernation. I think you should simply stop playback before hibernating.
Sorry but I don't know of any way to detect a hibernation. I think you should simply stop playback before hibernating.