hallvard
if (totalLengthInSeconds > 0) { progressInPercent = currentProgressInSeconds * 100 / totalLengthInSeconds }