working api for omxplayer