Modified omxplayer command, added pause functionality in mediaplayer differentiating between video and image playback.