Fix queue file config and remove print for codec

This commit is contained in:
Alexandru Pisarenco
2020-12-30 14:22:24 +01:00
parent 2f8af4c7ba
commit f9ad8c053a
2 changed files with 1 additions and 2 deletions

View File

@@ -39,5 +39,5 @@ for dir, dirs, files in os.walk(str(Config.BASE_PATH)):
print(" ... added")
jobs.append(item)
with open("queue.json", "w") as fp:
with open(Config.QUEUE_FILE, "w") as fp:
json.dump(jobs, fp, default=lambda o: getattr(o, 'as_dict', str)(), indent=2)

View File

@@ -204,7 +204,6 @@ class MediaInfo:
@property
def output_bitrate(self) -> int:
print(self.codec)
if self.codec == "MPEG-4 Visual":
translations = [
Translation(0, 800, 0.5, 200, 600),