summaryrefslogtreecommitdiff
path: root/website/helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'website/helpers.py')
-rw-r--r--website/helpers.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/website/helpers.py b/website/helpers.py
index dd37152..0d67da0 100644
--- a/website/helpers.py
+++ b/website/helpers.py
@@ -20,6 +20,9 @@ def get_video_info(path):
total += 60 * minutes
total += seconds
+ info_m['hours'] = hours
+ info_m['minutes'] = minutes
+ info_m['seconds'] = seconds
info_m['duration'] = total
info_m['width'] = int(info_m['width'])
info_m['height'] = int(info_m['height'])