diff --git a/source/mkvpropedit/changelog.md b/source/mkvpropedit/changelog.md index 802fc3957..fe0795a67 100644 --- a/source/mkvpropedit/changelog.md +++ b/source/mkvpropedit/changelog.md @@ -1,3 +1,8 @@ + +**0.0.3** + +- Set file_out to None instead of creating a hardlinked copy as the file_out + **0.0.2** - Fix invalid plugin tags diff --git a/source/mkvpropedit/info.json b/source/mkvpropedit/info.json index 351af954f..2c67d2b57 100644 --- a/source/mkvpropedit/info.json +++ b/source/mkvpropedit/info.json @@ -9,5 +9,5 @@ "on_worker_process": 99 }, "tags": "command, mkv, tweaks", - "version": "0.0.2" + "version": "0.0.3" } diff --git a/source/mkvpropedit/plugin.py b/source/mkvpropedit/plugin.py index 6efc9c16f..c092aca7f 100644 --- a/source/mkvpropedit/plugin.py +++ b/source/mkvpropedit/plugin.py @@ -144,9 +144,6 @@ def create_xml_tags_file(): tree.write(tags_filename) def process_file(): - # Copy the input file to the output file - os.link(data.get('file_in'), data.get('file_out')) - # Start off with calling mkvpropedit command = ['mkvpropedit'] @@ -162,10 +159,10 @@ def process_file(): command.extend(other_args.split()) # Pass in working file name - command.append(data.get('file_out')) + command.append(data.get('file_in')) # Execute the command - if command == ['mkvpropedit', data.get('file_out')]: + if command == ['mkvpropedit', data.get('file_in')]: logger.error("No arguments provided for mkvpropedit, skipping...") return @@ -180,4 +177,7 @@ def process_file(): data['command_progress_parser'] = parse_progress + # Set the output file to None since mkvpropedit does not create a new file + data['file_out'] = None + return data