From d80208b2f204117f3797665b819f1d7e68c6815a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 19:16:59 +0000 Subject: [PATCH] [video_transcoder] v0.1.2 --- source/video_transcoder/plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/video_transcoder/plugin.py b/source/video_transcoder/plugin.py index 77b45441e..98280fbc8 100644 --- a/source/video_transcoder/plugin.py +++ b/source/video_transcoder/plugin.py @@ -313,7 +313,7 @@ def on_postprocessor_task_results(data): # Mark the source file to be ignored on subsequent scans if 'force_transcode' was enabled if settings.get_setting('force_transcode'): - cache_directory = data.get('final_cache_path') + cache_directory = os.path.dirname(data.get('final_cache_path')) if os.path.exists(os.path.join(cache_directory, '.force_transcode')): directory_info = UnmanicDirectoryInfo(os.path.dirname(original_source_path)) directory_info.set('video_transcoder', os.path.basename(original_source_path), 'force_transcoded')