From 00b838fea70e5b696c7eaecc02c898cb0e44d360 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Fri, 26 Aug 2022 22:52:06 +0200 Subject: [PATCH] stats: Add overall progress --- server/templates/stats/main.htm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/templates/stats/main.htm b/server/templates/stats/main.htm index b5ba1bd..f4fcb24 100644 --- a/server/templates/stats/main.htm +++ b/server/templates/stats/main.htm @@ -25,6 +25,9 @@ {{ c[0] }} videos: {{ c[1] }} ({{ c[2] | timedelta }}) (Average: {{ (c[2] / c[1]) | timedelta }}) {% endfor %} +
  • + Progress: {{ ((stats.media.watched_seconds / (stats.media.known_seconds - stats.media.ignored_seconds)) * 100) | round(precision=2) }} % +