FFMpeg-Compressor: Hide all ffmpeg warnings and errors

This commit is contained in:
OleSTEEP 2023-10-02 19:46:12 +03:00
parent cefd0bc9ba
commit f15bb3df7e
5 changed files with 18 additions and 4 deletions

View file

@ -44,6 +44,8 @@ for folder, folders, files in os.walk(orig_folder):
case "unknown":
comp_file = compressor.compress(folder, file, target_folder)
utils.check_file_existing(folder.replace(orig_folder, f"{orig_folder}_compressed"), file)
if configloader.config['FFMPEG']['MimicMode']:
try:
os.rename(comp_file, f'{folder}_compressed/{file}')