missing imports and typos

This commit is contained in:
j 2024-04-05 21:20:45 +01:00
commit 774450d263
12 changed files with 49 additions and 30 deletions

View file

@ -1209,7 +1209,7 @@ class Item(models.Model):
if not r:
return False
path = video.name
duration = sum(item.cache['durations'])
duration = sum(self.item.cache['durations'])
else:
path = stream.media.path
duration = stream.info['duration']