FFMpeg-Compressor: Show only completed tasks

This commit is contained in:
OleSTEEP 2024-07-19 03:02:38 +03:00
parent 31e82b59b3
commit 0a9114ff64
3 changed files with 8 additions and 9 deletions

View file

@ -55,7 +55,7 @@ def get_compression_status(orig_folder):
def add_unprocessed_file(orig_folder, new_folder):
if configloader.config['FFMPEG']['CopyUnprocessed']:
filename = orig_folder.split().pop()
filename = orig_folder.split("/").pop()
copyfile(orig_folder, new_folder)
printer.info(f"File {filename} copied to compressed folder.")