forked from 0x2620/pandora
limit filename
This commit is contained in:
parent
2c58838bf0
commit
1ab2e416bb
1 changed files with 2 additions and 2 deletions
|
@ -519,8 +519,8 @@ class Item(models.Model):
|
|||
if 'bitrate' in videos[0].info:
|
||||
s.bitrate = videos[0].info['bitrate']
|
||||
s.pixels = sum([v.pixels for v in videos])
|
||||
s.filename = ' '.join([v.name for v in videos])
|
||||
s.filename_desc = ' '.join([v.name for v in videos])
|
||||
s.filename = ' '.join([v.name for v in videos])[:955]
|
||||
s.filename_desc = ' '.join([v.name for v in videos])[:955]
|
||||
s.files = self.files.all().count()
|
||||
s.size = sum([v.size for v in videos]) #FIXME: only size of movies?
|
||||
s.volume = 0
|
||||
|
|
Loading…
Reference in a new issue