Smart playlist generator for mpd