Compare commits
No commits in common. "ce62218cdaf4ff35784e25622290f0690ce18370" and "9c367e5249b0dc5ccacea0701fe74b286f7afabd" have entirely different histories.
ce62218cda
...
9c367e5249
2 changed files with 1 additions and 4 deletions
|
@ -68,9 +68,6 @@ class Params:
|
|||
video_ext = config["VIDEO"]["Extension"] if args.config else args.v_ext
|
||||
video_codec = config["VIDEO"]["Codec"] if args.config else args.v_codec
|
||||
source = Path(args.source)
|
||||
if not source.exists():
|
||||
print("Requested path does not exists. Exiting!")
|
||||
exit(255)
|
||||
dest = Path(source.name + f"_compressed")
|
||||
|
||||
return cls(
|
||||
|
|
|
@ -16,7 +16,7 @@ class Printer:
|
|||
file_count = 0
|
||||
for folder, folders, file in os.walk(source):
|
||||
file_count += len(file)
|
||||
self.bar = IncrementalBar('Recoding', max=file_count, suffix='[%(index)d/%(max)d] (%(percent).1f%%)')
|
||||
self.bar = IncrementalBar('Compressing', max=file_count, suffix='[%(index)d/%(max)d] (%(percent).1f%%)')
|
||||
self.bar.update()
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue