forked from 0x2620/pandora
use volume to sort by volume, fixes #825
This commit is contained in:
parent
70c0db1cf4
commit
6895a13833
1 changed files with 1 additions and 1 deletions
|
@ -776,7 +776,7 @@ class Item(models.Model):
|
|||
s.bitrate = s.size * 8 / s.duration
|
||||
else:
|
||||
s.bitrate = 0
|
||||
s.volume = 0
|
||||
s.volume = self.data.get('volume', 0)
|
||||
else:
|
||||
s.duration = None
|
||||
s.resolution = None
|
||||
|
|
Loading…
Reference in a new issue