use time based id

This commit is contained in:
j 2018-11-30 08:50:49 +01:00
parent e3c61853c3
commit b41b56941c

View file

@ -463,7 +463,7 @@ class Engine:
'tags': storyline['tags'],
'clips': [{
'item': clip['id'].split('/')[0],
'id': clip['id'],
'id': '%s_%0.3f-%0.3f' % (id.split('/')[0], data['in'], data['out']),
'in': clip['in'],
'out': clip['out']
} for clip in clips if clip['value'] == storyline['name']]