diff --git a/pandora/item/models.py b/pandora/item/models.py index 32903aa8..0d9ed063 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -643,13 +643,14 @@ class Item(models.Model): for key in [ 'duration', 'aspectratio', 'hue', 'saturation', 'lightness', - 'volume', 'cutsperminute' + 'volume', 'cutsperminute', 'wordsperminute' ]: value = data.get(key, 0) if value: info.append('%s: %s' % ( 'Aspect Ratio' if key == 'aspectratio' else 'Cuts per Minute' if key == 'cutsperminute' + else 'Words per Minute' if key == 'wordsperminute' else key.capitalize(), ox.format_duration(value * 1000 if value else 0, milliseconds=False) if key == 'duration' else '%.3f:1' % value if key == 'aspectratio'