-
Notifications
You must be signed in to change notification settings - Fork 196
Open
Description
Running SABNZBd with SABPostProcess.sh. On the Sonarr side, I am running postSonarr.sh with "Completed Download Handling" disabled.
SABPostProcess Log:
2025-02-15 17:57:21 - SABPostProcess - INFO - SAB post processing started.
2025-02-15 17:57:21 - resources.readsettings - INFO - /usr/local/sma/venv/bin/python3
2025-02-15 17:57:21 - resources.readsettings - INFO - Loading config file /usr/local/sma/config/autoProcess.ini.
2025-02-15 17:57:21 - SABPostProcess - INFO - Performing conversion
2025-02-15 17:57:21 - SABPostProcess - INFO - Processing file /downloads/tv/Friday.Night.Lights.S03E13.Tomorrow.Blues.1080p.BluRay.EAC3.AVC-PiR8/f41b1d77618c4e1aa99424f5a8074e64.mkv.
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Input Data
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - {
"format": "matroska,webm",
"format-fullname": "Matroska / WebM",
"video": {
"index": 0,
"codec": "h264",
"bitrate": 10582331,
"pix_fmt": "yuv420p",
"profile": "high",
"fps": 23.976023976023978,
"framedata": {
"pix_fmt": "yuv420p",
"color_space": "bt709",
"color_primaries": "bt709",
"color_transfer": "bt709"
},
"dimensions": "1920x1080",
"level": 4.0,
"field_order": "progressive"
},
"audio": [
{
"index": 1,
"codec": "eac3",
"bitrate": 448000,
"channels": 6,
"samplerate": 48000,
"language": "eng",
"disposition": "+default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions"
}
],
"subtitle": [
{
"index": 2,
"codec": "hdmv_pgs_subtitle",
"bitrate": 43722,
"disposition": "+default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions",
"language": "eng"
}
],
"attachment": []
}
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Reading video stream.
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Video codec detected: h264.
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Pix Fmt: yuv420p.
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Profile: high.
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Video codec parameters None.
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Creating copy video stream from source stream 0.
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Reading audio streams.
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - The following stream indexes have been identified as being copies: [] [stream-codec-combinations].
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Audio detected for stream 1 - eac3 eng 6 channel.
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Creating copy audio stream from source stream 1.
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Creating aac audio stream from source audio stream 1 [universal-audio].
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Found 0 streams that can be removed from the output file since they will be duplicates [stream-codec-combinations].
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Final sorting:
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - ['0->0', '1->1']
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Final sorting:
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - ['0->0', '1->1']
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Default audio stream set to eng copy 6 channel stream [audio-default-sorting: ['channels.d', 'map', 'd.comment']].
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Reading subtitle streams.
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Subtitle detected for stream 2 - hdmv_pgs_subtitle eng.
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Stream 2 is image-based subtitle for codec hdmv_pgs_subtitle.
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Attempting to download subtitles.
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Scanned for external subtitles and found 0 results in your approved languages.
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Final sorting:
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - []
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Output Data
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - {
"source": [
"/downloads/tv/Friday.Night.Lights.S03E13.Tomorrow.Blues.1080p.BluRay.EAC3.AVC-PiR8/f41b1d77618c4e1aa99424f5a8074e64.mkv"
],
"format": "vaapi",
"video": {
"codec": "copy",
"map": 0,
"bitrate": 10091.99535,
"crf": -1,
"maxrate": null,
"bufsize": null,
"level": 0.0,
"profile": null,
"preset": null,
"pix_fmt": null,
"field_order": "progressive",
"width": null,
"filter": null,
"params": null,
"framedata": null,
"bsf": null,
"debug": "video",
"title": "FHD"
},
"audio": [
{
"map": 1,
"codec": "copy",
"channels": 6,
"bitrate": 768,
"profile": null,
"quality": 0,
"filter": null,
"samplerate": null,
"sampleformat": "",
"language": "eng",
"disposition": "+default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions",
"bsf": null,
"debug": "audio",
"title": "5.1 Channel"
},
{
"map": 1,
"codec": "aac",
"channels": 2,
"bitrate": 256,
"quality": 0,
"profile": null,
"samplerate": null,
"sampleformat": "",
"filter": "pan=stereo|FL=0.5*FC+0.707*FL+0.707*BL+0.5*LFE|FR=0.5*FC+0.707*FR+0.707*BR+0.5*LFE",
"language": "eng",
"disposition": "-default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions",
"debug": "universal-audio",
"title": "Stereo"
}
],
"subtitle": [],
"attachment": []
}
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Preopts
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - []
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Postopts
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - [
"-threads",
"0",
"-metadata:g",
"encoding_tool=SMA"
]
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Downloaded Subtitles
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - []
2025-02-15 17:57:21 - resources.mediaprocessor - INFO - Starting conversion.
2025-02-15 17:57:22 - resources.mediaprocessor - INFO - FFmpeg command:
2025-02-15 17:57:22 - resources.mediaprocessor - INFO - ======================
2025-02-15 17:57:22 - resources.mediaprocessor - INFO - /usr/bin/ffmpeg -i /downloads/tv/Friday.Night.Lights.S03E13.Tomorrow.Blues.1080p.BluRay.EAC3.AVC-PiR8/f41b1d77618c4e1aa99424f5a8074e64.mkv -vcodec copy -map 0:0 -metadata:s:v title=FHD -metadata:s:v handler_name=FHD -c:a:0 copy -map 0:1 -metadata:s:a:0 "title=5.1 Channel" -metadata:s:a:0 "handler_name=5.1 Channel" -metadata:s:a:0 language=eng -disposition:a:0 +default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -c:a:1 aac -map 0:1 -ac:a:1 2 -b:a:1 256k -metadata:s:a:1 BPS=256000 -metadata:s:a:1 BPS-eng=256000 -filter:a:1 "pan=stereo|FL=0.5*FC+0.707*FL+0.707*BL+0.5*LFE|FR=0.5*FC+0.707*FR+0.707*BR+0.5*LFE" -metadata:s:a:1 title=Stereo -metadata:s:a:1 handler_name=Stereo -metadata:s:a:1 language=eng -disposition:a:1 -default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions -strict experimental -threads 0 -metadata:g encoding_tool=SMA -y /downloads/tv/Friday.Night.Lights.S03E13.Tomorrow.Blues.1080p.BluRay.EAC3.AVC-PiR8/f41b1d77618c4e1aa99424f5a8074e64.mp4
2025-02-15 17:57:22 - resources.mediaprocessor - INFO - ======================
2025-02-15 17:58:39 - resources.mediaprocessor - INFO - /downloads/tv/Friday.Night.Lights.S03E13.Tomorrow.Blues.1080p.BluRay.EAC3.AVC-PiR8/f41b1d77618c4e1aa99424f5a8074e64.mp4 created.
2025-02-15 17:58:39 - SABPostProcess - INFO - Successfully processed /downloads/tv/Friday.Night.Lights.S03E13.Tomorrow.Blues.1080p.BluRay.EAC3.AVC-PiR8/f41b1d77618c4e1aa99424f5a8074e64.mkv.
2025-02-15 17:58:39 - SABPostProcess - INFO - Passing /downloads/tv/Friday.Night.Lights.S03E13.Tomorrow.Blues.1080p.BluRay.EAC3.AVC-PiR8 directory to Sonarr.
2025-02-15 17:58:39 - autoprocess.sonarr - INFO - Sonarr notifier started.
2025-02-15 17:58:39 - autoprocess.sonarr - INFO - Requesting Sonarr to scan directory '/downloads/tv/Friday.Night.Lights.S03E13.Tomorrow.Blues.1080p.BluRay.EAC3.AVC-PiR8'.
2025-02-15 17:58:39 - autoprocess.sonarr - INFO - Sonarr response DownloadedEpisodesScan command: ID 4273014 started.
postSonarr Log:
2025-02-15 17:58:56 - SonarrPostProcess - INFO - Sonarr extra script post processing started.
2025-02-15 17:58:56 - resources.readsettings - INFO - /usr/local/sma/venv/bin/python3
2025-02-15 17:58:56 - resources.readsettings - INFO - Loading config file /usr/local/sma/config/autoProcess.ini.
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - Processing /tv/kristyn/Friday Night Lights/Season 3/Friday Night Lights - S03E13 - Tomorrow Blues Bluray-1080p.mp4.
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - Input Data
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - {
"format": "mov,mp4,m4a,3gp,3g2,mj2",
"format-fullname": "QuickTime / MOV",
"video": {
"index": 0,
"codec": "h264",
"bitrate": 10582335,
"pix_fmt": "yuv420p",
"profile": "high",
"fps": 23.976023976023978,
"framedata": {
"pix_fmt": "yuv420p",
"color_space": "bt709",
"color_primaries": "bt709",
"color_transfer": "bt709"
},
"dimensions": "1920x1080",
"level": 4.0,
"field_order": "progressive"
},
"audio": [
{
"index": 1,
"codec": "eac3",
"bitrate": 448000,
"channels": 6,
"samplerate": 48000,
"language": "eng",
"disposition": "+default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions"
},
{
"index": 2,
"codec": "aac",
"bitrate": 248708,
"channels": 2,
"samplerate": 48000,
"language": "eng",
"disposition": "-default-dub-original-comment-lyrics-karaoke-forced-hearing_impaired-visual_impaired-captions"
}
],
"subtitle": [],
"attachment": []
}
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - Reading video stream.
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - Video codec detected: h264.
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - Pix Fmt: yuv420p.
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - Profile: high.
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - Video codec parameters None.
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - Creating copy video stream from source stream 0.
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - Reading audio streams.
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - The following stream indexes have been identified as being copies: [] [stream-codec-combinations].
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - Audio detected for stream 1 - eac3 eng 6 channel.
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - Creating copy audio stream from source stream 1.
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - Creating aac audio stream from source audio stream 1 [universal-audio].
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - Audio detected for stream 2 - aac eng 2 channel.
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - Creating copy audio stream from source stream 2.
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - Found 0 streams that can be removed from the output file since they will be duplicates [stream-codec-combinations].
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - Final sorting:
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - ['0->0', '1->1', '2->2']
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - Final sorting:
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - ['0->0', '1->1', '2->2']
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - Default audio stream set to eng copy 6 channel stream [audio-default-sorting: ['channels.d', 'map', 'd.comment']].
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - Reading subtitle streams.
2025-02-15 17:58:56 - resources.mediaprocessor - INFO - Attempting to download subtitles.
2025-02-15 17:59:05 - resources.mediaprocessor - INFO - Downloaded new subtitle /tv/kristyn/Friday Night Lights/Season 3/Friday Night Lights - S03E13 - Tomorrow Blues Bluray-1080p.en.srt from source Friday Night Lights s03e13Tomorrow Blues - Proper SC.
2025-02-15 17:59:05 - resources.mediaprocessor - INFO - Scanned for external subtitles and found 1 results in your approved languages.
2025-02-15 17:59:05 - resources.mediaprocessor - INFO - Creating mov_text subtitle stream by importing Text-based subtitle Friday Night Lights - S03E13 - Tomorrow Blues Bluray-1080p.en.srt [embed-subs].
2025-02-15 17:59:05 - resources.mediaprocessor - INFO - Final sorting:
2025-02-15 17:59:05 - resources.mediaprocessor - INFO - ['0->0']
2025-02-15 17:59:05 - resources.mediaprocessor - INFO - Input and output extensions are the same so passing back the original file [process-same-extensions: False].
2025-02-15 17:59:05 - resources.mediaprocessor - INFO - Bypassing conversion and setting outputfile to inputfile.
2025-02-15 17:59:05 - resources.mediaprocessor - INFO - Tagging /tv/kristyn/Friday Night Lights/Season 3/Friday Night Lights - S03E13 - Tomorrow Blues Bluray-1080p.mp4 with TMDB ID 4278.
2025-02-15 17:59:05 - resources.metadata - INFO - Tagging file: /tv/kristyn/Friday Night Lights/Season 3/Friday Night Lights - S03E13 - Tomorrow Blues Bluray-1080p.mp4.
2025-02-15 17:59:05 - resources.metadata - INFO - Trying to write tags.
2025-02-15 17:59:05 - resources.metadata - INFO - Tags written successfully using mutagen.
2025-02-15 17:59:05 - resources.mediaprocessor - INFO - Relocating MOOV atom to start of file.
2025-02-15 17:59:05 - qtfaststart - INFO - Removing free atom at 36 (8 bytes)
2025-02-15 17:59:05 - qtfaststart - INFO - Patching stco with 64969 entries
2025-02-15 17:59:05 - qtfaststart - INFO - Patching stco with 84706 entries
2025-02-15 17:59:05 - qtfaststart - INFO - Patching stco with 106024 entries
2025-02-15 17:59:05 - qtfaststart - INFO - Patching stco with 1 entries
2025-02-15 17:59:05 - qtfaststart - INFO - Writing output...
2025-02-15 18:00:28 - SonarrPostProcess - INFO - DownloadedEpisodesScan command is in process for this episode, timed out for rescan but will queue.
2025-02-15 18:00:28 - SonarrPostProcess - INFO - Sonarr response from RescanSeries command: ID 4273017 queued.
2025-02-15 18:00:28 - SonarrPostProcess - INFO - Sonarr response from Rename command: ID 4273018 queued.
**2025-02-15 18:00:28 - SonarrPostProcess - ERROR - Sonarr monitor status update failed.
Traceback (most recent call last):
File "/usr/local/sma/postSonarr.py", line 266, in <module>
sys.exit(0)
SystemExit: 0**
Metadata
Metadata
Assignees
Labels
No labels