handler.py is now technically working, if very short video of less than about 1K frames. Working on fix for longer vids
This commit is contained in:
@@ -103,16 +103,16 @@ class Handler:
|
||||
# Locate Images and assemble FSR-Command
|
||||
self.files = ""
|
||||
self.filelist = os.listdir(self.tmppath)
|
||||
self.filelist.pop(0)
|
||||
self.number = 0
|
||||
for self.file in self.filelist:
|
||||
self.number += 1
|
||||
if self.file == "":
|
||||
pass
|
||||
else:
|
||||
self.files += f"{self.tmppath}{self.file} {self.tmppath}upscaled/USImage{self.number}.jpg"
|
||||
self.files += f"{self.tmppath}{self.file} {self.tmppath}upscaled/USImage{self.number}.jpg "
|
||||
|
||||
self.maxlength = 32000
|
||||
print(self.files)
|
||||
if len(self.files) > self.maxlength:
|
||||
self.fileout = []
|
||||
self.fileout.append(self.files[:self.maxlength])
|
||||
|
||||
Reference in New Issue
Block a user