use volume to sort by volume, fixes #825

This commit is contained in:
j 2012-07-02 17:07:39 +02:00
parent 70c0db1cf4
commit 6895a13833

View file

@ -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