add pause/resume

untested on omxplayer