simplified

simplified like https://github.com/jblanche/simple-mplayer