Refactor a function: mplayer#command()