MediaPlayer refinements and optimisation