diff --git a/pandora/item/models.py b/pandora/item/models.py index c145aa8ce..e21c3bb10 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -462,6 +462,7 @@ class Item(models.Model): i['parts'] = len(i['durations']) if i['parts']: i['videoRatio'] = streams[0].aspect_ratio + i['resolution'] = (streams[0].file.width, streams[0].file.height) #only needed by admins if keys and 'posters' in keys: