Music player with smart queuing algorythm