Fully working Python reference player