diff --git a/src/dom.cpp b/src/dom.cpp index 794abf13..00506851 100644 --- a/src/dom.cpp +++ b/src/dom.cpp @@ -144,6 +144,13 @@ bool domGet ( return true; } + // dom.active.duration + if (pig.skipLiteral ("duration")) + { + value = Duration (tracked[count - n].range.total ()).formatISO (); + return true; + } + int n; if (pig.skipLiteral ("tag.") && pig.getDigits (n))