refactored some audio-player playing stuff