command: better check whether file duration is available