Detect play/pause state