musicplayer: use the mimetype API to detect the audio type