Calculate duration for local songs