Update player script fixed and tested on rpi.