Skip to content

Commit

Permalink
[video_transcoder] v0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 15, 2024
1 parent fc5c569 commit d80208b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/video_transcoder/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit d80208b

Please sign in to comment.