TDS - add duration to metadata