Avoid passing empty arguments to mplayer

Closes #1