Compare commits
No commits in common. "a667fc5b5b35c3704586a8723b26d19e194ec7a9" and "92d5c6e7630f759df235418ed784611246844b3f" have entirely different histories.
a667fc5b5b
...
92d5c6e763
2 changed files with 1 additions and 4 deletions
|
|
@ -151,10 +151,8 @@ class File(models.Model):
|
||||||
self.sampleate = 0
|
self.sampleate = 0
|
||||||
self.channels = 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)
|
self.pixels = int(self.width * self.height * float(utils.parse_decimal(self.framerate)) * self.duration)
|
||||||
else:
|
|
||||||
self.pixels = 0
|
|
||||||
|
|
||||||
def get_path_info(self):
|
def get_path_info(self):
|
||||||
data = {}
|
data = {}
|
||||||
|
|
|
||||||
|
|
@ -1494,7 +1494,6 @@
|
||||||
"hasEvents": true,
|
"hasEvents": true,
|
||||||
"hasPlaces": true,
|
"hasPlaces": true,
|
||||||
"item": "Keyword",
|
"item": "Keyword",
|
||||||
"autocomplete": true,
|
|
||||||
"overlap": true,
|
"overlap": true,
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue