This commit is contained in:
2025-02-02 12:21:38 +01:00
parent ec4bce473c
commit f81a6edb07

View File

@@ -240,13 +240,11 @@ class FileProperties():
crops[cropParam] = crops.get(cropParam, 0) + 1 crops[cropParam] = crops.get(cropParam, 0) + 1
cropHistogram = sorted(crops, reverse=True) if crops:
cropHistogram = sorted(crops, reverse=True)
print(cropHistogram[0]) return cropHistogram[0]
else:
return ''
# return json.loads(ffprobeOutput)['streams']
def getMediaDescriptor(self): def getMediaDescriptor(self):