diff --git a/pandora/archive/models.py b/pandora/archive/models.py index 31be9dba..5c847144 100644 --- a/pandora/archive/models.py +++ b/pandora/archive/models.py @@ -151,10 +151,8 @@ class File(models.Model): self.sampleate = 0 self.channels = 0 - if self.framerate and self.duration > 0: + if self.framerate: self.pixels = int(self.width * self.height * float(utils.parse_decimal(self.framerate)) * self.duration) - else: - self.pixels = 0 def get_path_info(self): data = {} diff --git a/pandora/config.indiancinema.jsonc b/pandora/config.indiancinema.jsonc index 9c96c149..786a53d4 100644 --- a/pandora/config.indiancinema.jsonc +++ b/pandora/config.indiancinema.jsonc @@ -1494,7 +1494,6 @@ "hasEvents": true, "hasPlaces": true, "item": "Keyword", - "autocomplete": true, "overlap": true, "type": "string" },