If I use the comskip / comcut plugin unmanic finds the temp files from comcut (e.g. movie.part-1.ts) and tries to process them.
Obviously they are deleted after comcut has merged them and these tasks are failing then.
My actual movie file is processed as expected, comcut is working as expected.
I have recorded the movie "Ethernals" with TvHeadEnd and saved it as an mkv file.
In Unmanic I have configured the following plugins:
I configured the order of the plugins in the section "Worker - processing file" as you can see above.
Unmanic finds now the follwing files if I rescan the library:
But only the file "Eternals (2021).mkv" does really exist.
Unmanic incorrectly finds the *.ts files.
Unmanic shall not add the temp files from comskip / comcut to the pending tasks.
Maybe the temp files must be copied to a temp folder and then copied to the destination folder?
2025-05-05T14:25:24:INFO:Unmanic.LibraryScannerManager - [FORMATTED] - Running full library scan on library 'ComSkip'
2025-05-05T14:25:24:INFO:Unmanic.FileTesterThread-0 - [FORMATTED] - Starting FileTesterThread-0
2025-05-05T14:25:24:INFO:Unmanic.FileTesterThread-1 - [FORMATTED] - Starting FileTesterThread-1
2025-05-05T14:25:26:INFO:Unmanic.TaskHandler - [FORMATTED] - Adding file to task queue - /library/recordings/Jumper (2008).mkv
2025-05-05T14:25:27:INFO:Unmanic.Foreman - [FORMATTED] - Processing item - /library/recordings/Jumper (2008).mkv
2025-05-05T14:25:28:INFO:Unmanic.Javyn-Worker-1 - [FORMATTED] - Picked up job - /library/recordings/Jumper (2008).mkv
2025-05-05T14:25:29:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'created' event on file path '/library/recordings/Jumper (2008).txt'
2025-05-05T14:25:29:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).txt'
2025-05-05T14:25:30:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'created' event on file path '/library/recordings/Jumper (2008).logo.txt'
2025-05-05T14:25:30:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).logo.txt'
2025-05-05T14:25:30:INFO:Unmanic.FileTesterThread-1 - [FORMATTED] - Exiting FileTesterThread-1
2025-05-05T14:25:30:INFO:Unmanic.FileTesterThread-0 - [FORMATTED] - Exiting FileTesterThread-0
2025-05-05T14:25:30:WARNING:Unmanic.LibraryScannerManager - [FORMATTED] - Library scan completed in 6.239495277404785 seconds
2025-05-05T14:25:31:INFO:Unmanic.LibraryScannerManager - [FORMATTED] - Running full library scan on library 'Movie Library'
2025-05-05T14:25:31:INFO:Unmanic.FileTesterThread-0 - [FORMATTED] - Starting FileTesterThread-0
2025-05-05T14:25:31:INFO:Unmanic.FileTesterThread-1 - [FORMATTED] - Starting FileTesterThread-1
2025-05-05T14:25:31:ERROR:Unmanic.PluginExecutor - [FORMATTED] - Exception while carrying out 'library_management.file_test' plugin runner 'audio_transcoder'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/unmanic/libs/unplugins/executor.py", line 256, in execute_plugin_runner
runner(data)
File "/config/.unmanic/plugins/audio_transcoder/plugin.py", line 164, in on_library_management_file_test
if not probe.file(abspath):
AttributeError: 'NoneType' object has no attribute 'file'
2025-05-05T14:25:31:ERROR:Unmanic.PluginExecutor - [FORMATTED] - Exception while carrying out 'library_management.file_test' plugin runner 'audio_transcoder'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/unmanic/libs/unplugins/executor.py", line 256, in execute_plugin_runner
runner(data)
File "/config/.unmanic/plugins/audio_transcoder/plugin.py", line 164, in on_library_management_file_test
if not probe.file(abspath):
AttributeError: 'NoneType' object has no attribute 'file'
2025-05-05T14:25:31:ERROR:Unmanic.PluginExecutor - [FORMATTED] - Exception while carrying out 'library_management.file_test' plugin runner 'audio_transcoder'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/unmanic/libs/unplugins/executor.py", line 256, in execute_plugin_runner
runner(data)
File "/config/.unmanic/plugins/audio_transcoder/plugin.py", line 164, in on_library_management_file_test
if not probe.file(abspath):
AttributeError: 'NoneType' object has no attribute 'file'
2025-05-05T14:25:31:ERROR:Unmanic.PluginExecutor - [FORMATTED] - Exception while carrying out 'library_management.file_test' plugin runner 'audio_transcoder'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/unmanic/libs/unplugins/executor.py", line 256, in execute_plugin_runner
runner(data)
File "/config/.unmanic/plugins/audio_transcoder/plugin.py", line 164, in on_library_management_file_test
if not probe.file(abspath):
AttributeError: 'NoneType' object has no attribute 'file'
2025-05-05T14:25:31:ERROR:Unmanic.PluginExecutor - [FORMATTED] - Exception while carrying out 'library_management.file_test' plugin runner 'audio_transcoder'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/unmanic/libs/unplugins/executor.py", line 256, in execute_plugin_runner
runner(data)
File "/config/.unmanic/plugins/audio_transcoder/plugin.py", line 164, in on_library_management_file_test
if not probe.file(abspath):
AttributeError: 'NoneType' object has no attribute 'file'
2025-05-05T14:25:31:ERROR:Unmanic.PluginExecutor - [FORMATTED] - Exception while carrying out 'library_management.file_test' plugin runner 'audio_transcoder'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/unmanic/libs/unplugins/executor.py", line 256, in execute_plugin_runner
runner(data)
File "/config/.unmanic/plugins/audio_transcoder/plugin.py", line 164, in on_library_management_file_test
if not probe.file(abspath):
AttributeError: 'NoneType' object has no attribute 'file'
2025-05-05T14:25:31:ERROR:Unmanic.PluginExecutor - [FORMATTED] - Exception while carrying out 'library_management.file_test' plugin runner 'audio_transcoder'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/unmanic/libs/unplugins/executor.py", line 256, in execute_plugin_runner
runner(data)
File "/config/.unmanic/plugins/audio_transcoder/plugin.py", line 164, in on_library_management_file_test
if not probe.file(abspath):
AttributeError: 'NoneType' object has no attribute 'file'
2025-05-05T14:25:31:ERROR:Unmanic.PluginExecutor - [FORMATTED] - Exception while carrying out 'library_management.file_test' plugin runner 'audio_transcoder'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/unmanic/libs/unplugins/executor.py", line 256, in execute_plugin_runner
runner(data)
File "/config/.unmanic/plugins/audio_transcoder/plugin.py", line 164, in on_library_management_file_test
if not probe.file(abspath):
AttributeError: 'NoneType' object has no attribute 'file'
2025-05-05T14:25:31:INFO:Unmanic.FileTesterThread-1 - [FORMATTED] - File found already failed in history - '/library/movies/Per Anhalter durch die Galaxis (2005).mkv'
2025-05-05T14:25:31:ERROR:Unmanic.PluginExecutor - [FORMATTED] - Exception while carrying out 'library_management.file_test' plugin runner 'audio_transcoder'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/unmanic/libs/unplugins/executor.py", line 256, in execute_plugin_runner
runner(data)
File "/config/.unmanic/plugins/audio_transcoder/plugin.py", line 164, in on_library_management_file_test
if not probe.file(abspath):
AttributeError: 'NoneType' object has no attribute 'file'
2025-05-05T14:25:31:ERROR:Unmanic.PluginExecutor - [FORMATTED] - Exception while carrying out 'library_management.file_test' plugin runner 'audio_transcoder'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/unmanic/libs/unplugins/executor.py", line 256, in execute_plugin_runner
runner(data)
File "/config/.unmanic/plugins/audio_transcoder/plugin.py", line 164, in on_library_management_file_test
if not probe.file(abspath):
AttributeError: 'NoneType' object has no attribute 'file'
2025-05-05T14:25:31:ERROR:Unmanic.PluginExecutor - [FORMATTED] - Exception while carrying out 'library_management.file_test' plugin runner 'audio_transcoder'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/unmanic/libs/unplugins/executor.py", line 256, in execute_plugin_runner
runner(data)
File "/config/.unmanic/plugins/audio_transcoder/plugin.py", line 164, in on_library_management_file_test
if not probe.file(abspath):
AttributeError: 'NoneType' object has no attribute 'file'
2025-05-05T14:25:31:ERROR:Unmanic.PluginExecutor - [FORMATTED] - Exception while carrying out 'library_management.file_test' plugin runner 'audio_transcoder'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/unmanic/libs/unplugins/executor.py", line 256, in execute_plugin_runner
runner(data)
File "/config/.unmanic/plugins/audio_transcoder/plugin.py", line 164, in on_library_management_file_test
if not probe.file(abspath):
AttributeError: 'NoneType' object has no attribute 'file'
2025-05-05T14:25:32:ERROR:Unmanic.PluginExecutor - [FORMATTED] - Exception while carrying out 'library_management.file_test' plugin runner 'audio_transcoder'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/unmanic/libs/unplugins/executor.py", line 256, in execute_plugin_runner
runner(data)
File "/config/.unmanic/plugins/audio_transcoder/plugin.py", line 164, in on_library_management_file_test
if not probe.file(abspath):
AttributeError: 'NoneType' object has no attribute 'file'
2025-05-05T14:25:32:ERROR:Unmanic.PluginExecutor - [FORMATTED] - Exception while carrying out 'library_management.file_test' plugin runner 'audio_transcoder'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/unmanic/libs/unplugins/executor.py", line 256, in execute_plugin_runner
runner(data)
File "/config/.unmanic/plugins/audio_transcoder/plugin.py", line 164, in on_library_management_file_test
if not probe.file(abspath):
AttributeError: 'NoneType' object has no attribute 'file'
2025-05-05T14:25:38:INFO:Unmanic.FileTesterThread-1 - [FORMATTED] - Exiting FileTesterThread-1
2025-05-05T14:25:38:INFO:Unmanic.FileTesterThread-0 - [FORMATTED] - Exiting FileTesterThread-0
2025-05-05T14:25:38:WARNING:Unmanic.LibraryScannerManager - [FORMATTED] - Library scan completed in 7.1621527671813965 seconds
2025-05-05T14:25:39:INFO:Unmanic.LibraryScannerManager - [FORMATTED] - Setting LibraryScanner schedule to scan every 1440 mins...
2025-05-05T14:26:44:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).txt'
2025-05-05T14:26:44:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'created' event on file path '/library/recordings/Jumper (2008).edl'
2025-05-05T14:26:44:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).txt'
2025-05-05T14:26:44:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).txt'
2025-05-05T14:26:44:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).txt'
2025-05-05T14:26:44:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).txt'
2025-05-05T14:26:44:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).edl'
2025-05-05T14:26:44:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'created' event on file path '/library/recordings/Jumper (2008).ffmeta'
2025-05-05T14:26:44:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).ffmeta'
2025-05-05T14:26:44:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).ffmeta'
2025-05-05T14:26:44:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).ffmeta'
2025-05-05T14:26:44:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).ffmeta'
2025-05-05T14:26:44:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).ffmeta'
2025-05-05T14:26:44:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).ffmeta'
2025-05-05T14:26:45:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'created' event on file path '/library/recordings/Jumper (2008).part-1.ts'
2025-05-05T14:26:45:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).part-1.ts'
2025-05-05T14:26:45:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).ffmeta'
2025-05-05T14:26:45:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).ffmeta'
2025-05-05T14:26:45:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).ffmeta'
2025-05-05T14:26:45:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).ffmeta'
2025-05-05T14:26:45:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).ffmeta'
2025-05-05T14:26:45:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'created' event on file path '/library/recordings/Jumper (2008).part-2.ts'
2025-05-05T14:26:48:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).part-2.ts'
2025-05-05T14:26:48:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).ffmeta'
2025-05-05T14:26:48:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).ffmeta'
2025-05-05T14:26:48:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).ffmeta'
2025-05-05T14:26:48:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).ffmeta'
2025-05-05T14:26:48:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).ffmeta'
2025-05-05T14:26:48:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'created' event on file path '/library/recordings/Jumper (2008).part-3.ts'
2025-05-05T14:26:50:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).part-3.ts'
2025-05-05T14:26:50:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).ffmeta'
2025-05-05T14:26:50:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).ffmeta'
2025-05-05T14:26:50:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).ffmeta'
2025-05-05T14:26:50:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).ffmeta'
2025-05-05T14:26:50:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).ffmeta'
2025-05-05T14:26:50:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'created' event on file path '/library/recordings/Jumper (2008).part-4.ts'
2025-05-05T14:26:54:INFO:Unmanic.TaskHandler - [FORMATTED] - Adding inotify job to queue - /library/recordings/Jumper (2008).part-1.ts
2025-05-05T14:26:54:INFO:Unmanic.TaskHandler - [FORMATTED] - Skipping inotify job already in the queue - /library/recordings/Jumper (2008).part-1.ts
2025-05-05T14:26:56:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).part-4.ts'
2025-05-05T14:26:58:INFO:Unmanic.TaskHandler - [FORMATTED] - Adding inotify job to queue - /library/recordings/Jumper (2008).part-2.ts
2025-05-05T14:26:58:INFO:Unmanic.TaskHandler - [FORMATTED] - Skipping inotify job already in the queue - /library/recordings/Jumper (2008).part-2.ts
2025-05-05T14:27:02:INFO:Unmanic.TaskHandler - [FORMATTED] - Adding inotify job to queue - /library/recordings/Jumper (2008).part-3.ts
2025-05-05T14:27:02:INFO:Unmanic.TaskHandler - [FORMATTED] - Skipping inotify job already in the queue - /library/recordings/Jumper (2008).part-3.ts
2025-05-05T14:27:03:INFO:Unmanic.Javyn-Worker-1 - [FORMATTED] - Successfully ran worker process 'comskip' on file '/library/recordings/Jumper (2008).mkv'
2025-05-05T14:27:06:INFO:Unmanic.TaskHandler - [FORMATTED] - Adding inotify job to queue - /library/recordings/Jumper (2008).part-4.ts
2025-05-05T14:27:06:INFO:Unmanic.TaskHandler - [FORMATTED] - Skipping inotify job already in the queue - /library/recordings/Jumper (2008).part-4.ts
2025-05-05T14:43:35:INFO:Unmanic.Javyn-Worker-1 - [FORMATTED] - Successfully ran worker process 'video_transcoder' on file '/tmp/unmanic/unmanic_file_conversion-lmahq-1746447926/Jumper (2008)-lmahq-1746447926-WORKING-1-1.mkv'
2025-05-05T14:43:35:INFO:Unmanic.Javyn-Worker-1 - [FORMATTED] - Successfully completed Worker processing on file '/library/recordings/Jumper (2008).mkv'
2025-05-05T14:43:35:INFO:Unmanic.Javyn-Worker-1 - [FORMATTED] - Moving final cache file from '/tmp/unmanic/unmanic_file_conversion-lmahq-1746447926/Jumper (2008)-lmahq-1746447926-WORKING-2-1.mkv' to '/tmp/unmanic/unmanic_file_conversion-lmahq-1746447926/Jumper (2008)-mcwfp-1746449015.mkv'
2025-05-05T14:43:35:INFO:Unmanic.Javyn-Worker-1 - [FORMATTED] - Finished job - /library/recordings/Jumper (2008).mkv
2025-05-05T14:43:38:INFO:Unmanic.Foreman - [FORMATTED] - Processing item - /library/recordings/Jumper (2008).part-4.ts
2025-05-05T14:43:39:INFO:Unmanic.Javyn-Worker-1 - [FORMATTED] - Picked up job - /library/recordings/Jumper (2008).part-4.ts
2025-05-05T14:43:39:ERROR:Unmanic.Javyn-Worker-1 - [FORMATTED] - Command run against '/library/recordings/Jumper (2008).part-4.ts' exited with non-zero status. Download command dump from history for more information. - ['/config/.unmanic/plugins/comskip/comchap/comcut', '--comskip-ini=/config/.unmanic/userdata/comskip/comskip.ini', '--keep-edl', '--keep-meta', '/library/recordings/Jumper (2008).part-4.ts', '/tmp/unmanic/unmanic_file_conversion-tdibx-1746448026/Jumper (2008).part-4-tdibx-1746448026-WORKING-1-1.ts']
2025-05-05T14:43:39:ERROR:Unmanic.Javyn-Worker-1 - [FORMATTED] - Error while running worker process 'comskip' on file '/library/recordings/Jumper (2008).part-4.ts'
2025-05-05T14:43:39:WARNING:Unmanic.Javyn-Worker-1 - [FORMATTED] - Failed to process task for file '/library/recordings/Jumper (2008).part-4.ts'
2025-05-05T14:43:39:INFO:Unmanic.Javyn-Worker-1 - [FORMATTED] - Finished job - /library/recordings/Jumper (2008).part-4.ts
2025-05-05T14:43:39:INFO:Unmanic.PostProcessor - [FORMATTED] - Post-processing task - /library/recordings/Jumper (2008).mkv
2025-05-05T14:43:39:INFO:Unmanic.PostProcessor - [FORMATTED] - Move file triggered by (DEFAULT) /tmp/unmanic/unmanic_file_conversion-lmahq-1746447926/Jumper (2008)-mcwfp-1746449015.mkv --> /library/recordings/Jumper (2008).mkv
2025-05-05T14:43:39:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'created' event on file path '/library/recordings/Jumper (2008).mkv.unmanic.part'
2025-05-05T14:43:40:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/Jumper (2008).mkv.unmanic.part'
2025-05-05T14:43:40:INFO:Unmanic.EventProcessor - [FORMATTED] - Detected 'closed' event on file path '/library/recordings/.unmanic'
2025-05-05T14:43:40:INFO:Unmanic.PostProcessor - [FORMATTED] - Removing task cache directory '/tmp/unmanic/unmanic_file_conversion-lmahq-1746447926'
2025-05-05T14:43:41:INFO:Unmanic.Foreman - [FORMATTED] - Processing item - /library/recordings/Jumper (2008).part-3.ts
2025-05-05T14:43:41:INFO:Unmanic.PostProcessor - [FORMATTED] - Post-processing task - /library/recordings/Jumper (2008).part-4.ts
2025-05-05T14:43:41:WARNING:Unmanic.PostProcessor - [FORMATTED] - Skipping file movement post-processor as the task was not successful '/tmp/unmanic/unmanic_file_conversion-tdibx-1746448026/Jumper (2008).part-4-tdibx-1746448026.ts'
2025-05-05T14:43:41:WARNING:Unmanic.Plugin.file_size_metrics - Plugin data file is missing. Fetching source size direct from source path.
2025-05-05T14:43:41:ERROR:Unmanic.PluginExecutor - [FORMATTED] - Exception while carrying out 'postprocessor.task_result' plugin runner 'file_size_metrics'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/unmanic/libs/unplugins/executor.py", line 256, in execute_plugin_runner
runner(data)
File "/config/.unmanic/plugins/file_size_metrics/plugin.py", line 502, in on_postprocessor_task_results
source_size = os.path.getsize(data.get('source_data', {}).get('abspath'))
File "/usr/lib/python3.10/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/library/recordings/Jumper (2008).part-4.ts'
2025-05-05T14:43:41:INFO:Unmanic.PostProcessor - [FORMATTED] - Removing task cache directory '/tmp/unmanic/unmanic_file_conversion-tdibx-1746448026'
2025-05-05T14:43:42:INFO:Unmanic.Javyn-Worker-1 - [FORMATTED] - Picked up job - /library/recordings/Jumper (2008).part-3.ts
2025-05-05T14:43:42:ERROR:Unmanic.Javyn-Worker-1 - [FORMATTED] - Command run against '/library/recordings/Jumper (2008).part-3.ts' exited with non-zero status. Download command dump from history for more information. - ['/config/.unmanic/plugins/comskip/comchap/comcut', '--comskip-ini=/config/.unmanic/userdata/comskip/comskip.ini', '--keep-edl', '--keep-meta', '/library/recordings/Jumper (2008).part-3.ts', '/tmp/unmanic/unmanic_file_conversion-czesb-1746448022/Jumper (2008).part-3-czesb-1746448022-WORKING-1-1.ts']
2025-05-05T14:43:42:ERROR:Unmanic.Javyn-Worker-1 - [FORMATTED] - Error while running worker process 'comskip' on file '/library/recordings/Jumper (2008).part-3.ts'
2025-05-05T14:43:42:WARNING:Unmanic.Javyn-Worker-1 - [FORMATTED] - Failed to process task for file '/library/recordings/Jumper (2008).part-3.ts'
2025-05-05T14:43:42:INFO:Unmanic.Javyn-Worker-1 - [FORMATTED] - Finished job - /library/recordings/Jumper (2008).part-3.ts
2025-05-05T14:43:43:INFO:Unmanic.Foreman - [FORMATTED] - Processing item - /library/recordings/Jumper (2008).part-2.ts
2025-05-05T14:43:44:INFO:Unmanic.PostProcessor - [FORMATTED] - Post-processing task - /library/recordings/Jumper (2008).part-3.ts
2025-05-05T14:43:44:WARNING:Unmanic.PostProcessor - [FORMATTED] - Skipping file movement post-processor as the task was not successful '/tmp/unmanic/unmanic_file_conversion-czesb-1746448022/Jumper (2008).part-3-czesb-1746448022.ts'
2025-05-05T14:43:44:WARNING:Unmanic.Plugin.file_size_metrics - Plugin data file is missing. Fetching source size direct from source path.
2025-05-05T14:43:44:ERROR:Unmanic.PluginExecutor - [FORMATTED] - Exception while carrying out 'postprocessor.task_result' plugin runner 'file_size_metrics'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/unmanic/libs/unplugins/executor.py", line 256, in execute_plugin_runner
runner(data)
File "/config/.unmanic/plugins/file_size_metrics/plugin.py", line 502, in on_postprocessor_task_results
source_size = os.path.getsize(data.get('source_data', {}).get('abspath'))
File "/usr/lib/python3.10/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/library/recordings/Jumper (2008).part-3.ts'
2025-05-05T14:43:44:INFO:Unmanic.PostProcessor - [FORMATTED] - Removing task cache directory '/tmp/unmanic/unmanic_file_conversion-czesb-1746448022'
2025-05-05T14:43:44:INFO:Unmanic.Javyn-Worker-1 - [FORMATTED] - Picked up job - /library/recordings/Jumper (2008).part-2.ts
2025-05-05T14:43:45:ERROR:Unmanic.Javyn-Worker-1 - [FORMATTED] - Command run against '/library/recordings/Jumper (2008).part-2.ts' exited with non-zero status. Download command dump from history for more information. - ['/config/.unmanic/plugins/comskip/comchap/comcut', '--comskip-ini=/config/.unmanic/userdata/comskip/comskip.ini', '--keep-edl', '--keep-meta', '/library/recordings/Jumper (2008).part-2.ts', '/tmp/unmanic/unmanic_file_conversion-xmfzx-1746448018/Jumper (2008).part-2-xmfzx-1746448018-WORKING-1-1.ts']
2025-05-05T14:43:45:ERROR:Unmanic.Javyn-Worker-1 - [FORMATTED] - Error while running worker process 'comskip' on file '/library/recordings/Jumper (2008).part-2.ts'
2025-05-05T14:43:45:WARNING:Unmanic.Javyn-Worker-1 - [FORMATTED] - Failed to process task for file '/library/recordings/Jumper (2008).part-2.ts'
2025-05-05T14:43:45:INFO:Unmanic.Javyn-Worker-1 - [FORMATTED] - Finished job - /library/recordings/Jumper (2008).part-2.ts
2025-05-05T14:43:46:INFO:Unmanic.Foreman - [FORMATTED] - Processing item - /library/recordings/Jumper (2008).part-1.ts
2025-05-05T14:43:47:INFO:Unmanic.PostProcessor - [FORMATTED] - Post-processing task - /library/recordings/Jumper (2008).part-2.ts
2025-05-05T14:43:47:WARNING:Unmanic.PostProcessor - [FORMATTED] - Skipping file movement post-processor as the task was not successful '/tmp/unmanic/unmanic_file_conversion-xmfzx-1746448018/Jumper (2008).part-2-xmfzx-1746448018.ts'
2025-05-05T14:43:47:WARNING:Unmanic.Plugin.file_size_metrics - Plugin data file is missing. Fetching source size direct from source path.
2025-05-05T14:43:47:ERROR:Unmanic.PluginExecutor - [FORMATTED] - Exception while carrying out 'postprocessor.task_result' plugin runner 'file_size_metrics'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/unmanic/libs/unplugins/executor.py", line 256, in execute_plugin_runner
runner(data)
File "/config/.unmanic/plugins/file_size_metrics/plugin.py", line 502, in on_postprocessor_task_results
source_size = os.path.getsize(data.get('source_data', {}).get('abspath'))
File "/usr/lib/python3.10/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/library/recordings/Jumper (2008).part-2.ts'
2025-05-05T14:43:47:INFO:Unmanic.PostProcessor - [FORMATTED] - Removing task cache directory '/tmp/unmanic/unmanic_file_conversion-xmfzx-1746448018'
2025-05-05T14:43:47:INFO:Unmanic.Javyn-Worker-1 - [FORMATTED] - Picked up job - /library/recordings/Jumper (2008).part-1.ts
2025-05-05T14:43:47:ERROR:Unmanic.Javyn-Worker-1 - [FORMATTED] - Command run against '/library/recordings/Jumper (2008).part-1.ts' exited with non-zero status. Download command dump from history for more information. - ['/config/.unmanic/plugins/comskip/comchap/comcut', '--comskip-ini=/config/.unmanic/userdata/comskip/comskip.ini', '--keep-edl', '--keep-meta', '/library/recordings/Jumper (2008).part-1.ts', '/tmp/unmanic/unmanic_file_conversion-eqkjx-1746448014/Jumper (2008).part-1-eqkjx-1746448014-WORKING-1-1.ts']
2025-05-05T14:43:47:ERROR:Unmanic.Javyn-Worker-1 - [FORMATTED] - Error while running worker process 'comskip' on file '/library/recordings/Jumper (2008).part-1.ts'
2025-05-05T14:43:47:WARNING:Unmanic.Javyn-Worker-1 - [FORMATTED] - Failed to process task for file '/library/recordings/Jumper (2008).part-1.ts'
2025-05-05T14:43:47:INFO:Unmanic.Javyn-Worker-1 - [FORMATTED] - Finished job - /library/recordings/Jumper (2008).part-1.ts
2025-05-05T14:43:49:INFO:Unmanic.PostProcessor - [FORMATTED] - Post-processing task - /library/recordings/Jumper (2008).part-1.ts
2025-05-05T14:43:49:WARNING:Unmanic.PostProcessor - [FORMATTED] - Skipping file movement post-processor as the task was not successful '/tmp/unmanic/unmanic_file_conversion-eqkjx-1746448014/Jumper (2008).part-1-eqkjx-1746448014.ts'
2025-05-05T14:43:49:WARNING:Unmanic.Plugin.file_size_metrics - Plugin data file is missing. Fetching source size direct from source path.
2025-05-05T14:43:49:ERROR:Unmanic.PluginExecutor - [FORMATTED] - Exception while carrying out 'postprocessor.task_result' plugin runner 'file_size_metrics'
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/unmanic/libs/unplugins/executor.py", line 256, in execute_plugin_runner
runner(data)
File "/config/.unmanic/plugins/file_size_metrics/plugin.py", line 502, in on_postprocessor_task_results
source_size = os.path.getsize(data.get('source_data', {}).get('abspath'))
File "/usr/lib/python3.10/genericpath.py", line 50, in getsize
return os.stat(filename).st_size
FileNotFoundError: [Errno 2] No such file or directory: '/library/recordings/Jumper (2008).part-1.ts'
2025-05-05T14:43:49:INFO:Unmanic.PostProcessor - [FORMATTED] - Removing task cache directory '/tmp/unmanic/unmanic_file_conversion-eqkjx-1746448014'
Describe the Bug
If I use the comskip / comcut plugin unmanic finds the temp files from comcut (e.g. movie.part-1.ts) and tries to process them.
Obviously they are deleted after comcut has merged them and these tasks are failing then.
My actual movie file is processed as expected, comcut is working as expected.
Steps to Reproduce
I have recorded the movie "Ethernals" with TvHeadEnd and saved it as an mkv file.
In Unmanic I have configured the following plugins:
I configured the order of the plugins in the section "Worker - processing file" as you can see above.
Unmanic finds now the follwing files if I rescan the library:
But only the file "Eternals (2021).mkv" does really exist.
Unmanic incorrectly finds the *.ts files.
Expected Behavior
Unmanic shall not add the temp files from comskip / comcut to the pending tasks.
Maybe the temp files must be copied to a temp folder and then copied to the destination folder?
Screenshots
Relevant Settings
Version
0.2.8+925008e+dirty
Platform
Unraid 7.0.1
Relevant log output