fix tv
This commit is contained in:
parent
78c26daaeb
commit
9b3547f9bc
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue