You have to replace '/user/real/path/here' with the real data path. That's not a fix of the problem, it just shows where the problem is. getID3 fails to get the file size using the oc:// handler. Which results in the wrong Content-Length header and the missing duration in the ampache output.