You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Task failing on certain TV shows when parsing file for adding extra stereo audio track.
From logs it seems it is having problems with detecting languages (the show is in english)
Steps to Reproduce
Library Management - File test:
Convert ASS sub to SRT
Re-order audio streams by language
Add Extra Stereo Audio (v 0.0.9, no extra settings, everything unchecked)
Audio encoder AC3
Video ENcorer H265 hevc_qsv (intel)
Add video files to queue. Failing almost immediately with PLUGIN FAILED! Failed to execute Plugin 'Add Extra Stereo Audio' Check Unmanic logs for more information No Plugin requested for Unmanic to run commands for this file '/library/tv/video_file.mkv
Expected Behavior
Add an extra audio track, or skip that step and execute remaining plugins for transcoding.
Screenshots
No response
Relevant Settings
Installed in Docker (josh5/unmanic:latest)
RAM limit 4GB
Intel QSV passthrough
Version
0.2.6~41346cb
Platform
Synology DS920+
Relevant log output
2024-04-12T11:13:22:INFO:Unmanic.ScheduledTasksManager - [FORMATTED] - Updating session data
2024-04-12T11:15:56:INFO:Unmanic.Foreman - [FORMATTED] - Processing item - /library/tv/video_file.mkv
2024-04-12T11:15:57:INFO:Unmanic.Halasuwa-Worker-1 - [FORMATTED] - Picked up job - /library/tv/video_file.mkv
2024-04-12T11:15:58:ERROR:Unmanic.PluginExecutor - [FORMATTED] - Exception while carrying out 'worker.process_item' plugin runner 'add_extra_stereo_audio'
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/add_extra_stereo_audio/plugin.py", line 204, in on_worker_process
stream = stream_to_stereo_encode(stream_language, channels, codec_name, probe_streams)
File "/config/.unmanic/plugins/add_extra_stereo_audio/plugin.py", line 83, in stream_to_stereo_encode
logger.debug("i '{}', probe_streams[i][codec_type]: '{}', probe_streams[i][channels]: '{}', probe_streams[i][tags][language]: '{}', probe_streams[i][codec_name]: '{}'".format(i, probe_streams[i]["codec_type"], probe_streams[i]["channels"], probe_streams[i]["tags"]["language"], probe_streams[i]["codec_name"]))
KeyError: 'language'
2024-04-12T11:15:58:WARNING:Unmanic.Halasuwa-Worker-1 - [FORMATTED] - No Plugin requested for Unmanic to run commands for this file '/library/tv/video_file.mkv'
2024-04-12T11:15:58:WARNING:Unmanic.Halasuwa-Worker-1 - [FORMATTED] - Failed to process task for file '/library/tv/video_file.mkv'
2024-04-12T11:15:58:INFO:Unmanic.Halasuwa-Worker-1 - [FORMATTED] - Finished job - /library/tv/video_file.mkv
2024-04-12T11:16:01:INFO:Unmanic.PostProcessor - [FORMATTED] - Post-processing task - /library/tv/video_file.mkv
2024-04-12T11:16:01:WARNING:Unmanic.PostProcessor - [FORMATTED] - Skipping file movement post-processor as the task was not successful '/tmp/unmanic/unmanic_file_conversion-dwfpn-1712916955/video_file.mkv'
2024-04-12T11:16:01:WARNING:Unmanic.Plugin.file_size_metrics - Plugin data file is missing. Fetching source size direct from source path.
The text was updated successfully, but these errors were encountered:
Describe the Bug
Task failing on certain TV shows when parsing file for adding extra stereo audio track.
From logs it seems it is having problems with detecting languages (the show is in english)
Steps to Reproduce
Library Management - File test:
Add video files to queue. Failing almost immediately with
PLUGIN FAILED!
Failed to execute Plugin 'Add Extra Stereo Audio'
Check Unmanic logs for more information
No Plugin requested for Unmanic to run commands for this file '/library/tv/video_file.mkv
Expected Behavior
Add an extra audio track, or skip that step and execute remaining plugins for transcoding.
Screenshots
No response
Relevant Settings
Version
0.2.6~41346cb
Platform
Relevant log output
The text was updated successfully, but these errors were encountered: