Intelligent and extensible music player