From 1b27def499917d00f242a6c85093b7507181e1fa Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Fri, 14 Sep 2012 10:54:09 +0200 Subject: [PATCH] no default width/height --- pandora/archive/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora/archive/models.py b/pandora/archive/models.py index e38dd3e9..e6a11640 100644 --- a/pandora/archive/models.py +++ b/pandora/archive/models.py @@ -108,8 +108,8 @@ class File(models.Model): else: self.is_video = False self.display_aspect_ratio = "4:3" - self.width = '320' - self.height = '240' + self.width = 0 + self.height = 0 if 'audio' in self.info and self.info['audio'] and self.duration > 0: audio = self.info['audio'][0] self.audio_codec = audio['codec']