server: implement playlist operations