Added fileswitching for mplayer