Commit 1554c816 authored by Michael Murtaugh's avatar Michael Murtaugh
Browse files

mediatype in info + template

parent 6bee38bb
......@@ -45,7 +45,6 @@ def get_info(url, data=None):
o = popen.communicate()[1].decode("utf-8")
if data == None:
data = {}
data['mediatype'] = "video"
dur = extract_duration(o)
if dur and dur >= 0.05:
data['duration'] = dur
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment