This commit is contained in:
j 2016-08-28 15:05:52 +02:00
parent 78c26daaeb
commit 9b3547f9bc
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ class Program(models.Model):
for key in ('title', 'director', 'year', 'durations', 'parts', 'rightslevel'):
r[key] = item_json.get(key, '')
r['layers'] = self.item.get_layers(user)
r['streams'] = [s.file.oshash for s in self.item.streams()]
if current:
#requires python2.7
#r['position'] = (current - self.start).total_seconds()