stats: Add overall progress

master
Felix Stupp 3 years ago
parent 3c7bb0fe68
commit 00b838fea7
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -25,6 +25,9 @@
{{ c[0] }} videos: {{ c[1] }} ({{ c[2] | timedelta }}) (Average: {{ (c[2] / c[1]) | timedelta }}) {{ c[0] }} videos: {{ c[1] }} ({{ c[2] | timedelta }}) (Average: {{ (c[2] / c[1]) | timedelta }})
</li> </li>
{% endfor %} {% endfor %}
<li>
Progress: {{ ((stats.media.watched_seconds / (stats.media.known_seconds - stats.media.ignored_seconds)) * 100) | round(precision=2) }} %
</li>
</ul> </ul>
</body> </body>
</html> </html>

Loading…
Cancel
Save