simplified pyplayer.pyx