forked from 0x2620/pandora
don't count srt files
This commit is contained in:
parent
05b7fc1f7e
commit
9881bfa62a
1 changed files with 1 additions and 1 deletions
|
@ -640,7 +640,7 @@ class Item(models.Model):
|
|||
i['posterRatio'] = self.poster_width / self.poster_height
|
||||
|
||||
if keys and 'source' in keys:
|
||||
i['source'] = self.files.filter(selected=True).exclude(data='').exists()
|
||||
i['source'] = self.streams().exclude(file__data='').exists()
|
||||
|
||||
streams = self.streams()
|
||||
i['durations'] = [s.duration for s in streams]
|
||||
|
|
Loading…
Reference in a new issue