Make sure position is given in seconds
Try to get duration of files 5 times before returning -1