fix auto-play when directory mode turned on