clinton-hall / nzbToMedia

Provides NZB and Torrent postprocessing To CouchPotatoServer, SickBeard/SickRage, HeadPhones, Mylar and Gamez
GNU General Public License v3.0
670 stars 176 forks source link

Not marking as failed when extraction fails #1154

Closed duramato closed 5 months ago

duramato commented 7 years ago
[15:02:12] [INFO]::MAIN: Loading config from [/home/pi/nzbToMedia/autoProcessMedia.cfg]
[15:02:12] [INFO]::MAIN: Checking database structure...
[15:02:12] [DEBUG]::MAIN: Checking Initial Schema database upgrade
[15:02:12] [DEBUG]::MAIN: InitialSchema upgrade not required
[15:02:12] [DEBUG]::MAIN: Checking if we can use git commands: git version
[15:02:12] [DEBUG]::MAIN: Executing git version with your shell in /home/pi/nzbToMedia
[15:02:12] [DEBUG]::MAIN: git version : returned successful
[15:02:12] [DEBUG]::MAIN: Using: git
[15:02:12] [DEBUG]::MAIN: Executing git symbolic-ref -q HEAD with your shell in /home/pi/nzbToMedia
[15:02:13] [DEBUG]::MAIN: git symbolic-ref -q HEAD : returned successful
[15:02:13] [INFO]::MAIN: Checking if git needs an update
[15:02:13] [DEBUG]::MAIN: Executing git rev-parse HEAD with your shell in /home/pi/nzbToMedia
[15:02:13] [DEBUG]::MAIN: git rev-parse HEAD : returned successful
[15:02:13] [DEBUG]::MAIN: Executing git fetch origin with your shell in /home/pi/nzbToMedia
[15:02:14] [DEBUG]::MAIN: git fetch origin : returned successful
[15:02:14] [DEBUG]::MAIN: Executing git rev-parse --verify --quiet "@{upstream}" with your shell in /home/pi/nzbToMedia
[15:02:14] [DEBUG]::MAIN: git rev-parse --verify --quiet "@{upstream}" : returned successful
[15:02:14] [DEBUG]::MAIN: Executing git rev-list --left-right "@{upstream}"...HEAD with your shell in /home/pi/nzbToMedia
[15:02:14] [DEBUG]::MAIN: git rev-list --left-right "@{upstream}"...HEAD : returned successful
[15:02:14] [DEBUG]::MAIN: cur_commit = 614f8f6a325542516876b5b6464e533cf42329d8 % (newest_commit)= 614f8f6a325542516876b5b6464e533cf42329d8, num_commits_behind = 0, num_commits_ahead = 0
[15:02:14] [INFO]::MAIN: No update needed
[15:02:14] [INFO]::MAIN: nzbToMedia Version:614f8f6a325542516876b5b6464e533cf42329d8 Branch:nightly (Linux 4.4.34-v7+)
[15:02:14] [WARNING]::MAIN: Failed to locate ffmpeg. Transcoding disabled!
[15:02:14] [WARNING]::MAIN: Install ffmpeg with x264 support to enable this feature  ...
[15:02:14] [WARNING]::MAIN: Failed to locate ffprobe. Video corruption detection disabled!
[15:02:14] [WARNING]::MAIN: Install ffmpeg with x264 support to enable this feature  ...
[15:02:14] [DEBUG]::MAIN: Connecting to transmission: http://localhost:9091
[15:02:14] [INFO]::MAIN: #########################################################
[15:02:14] [INFO]::MAIN: ## ..::[nzbToMedia.py]::.. ##
[15:02:14] [INFO]::MAIN: #########################################################
[15:02:14] [DEBUG]::MAIN: Options passed into nzbToMedia: ['/home/pi/nzbToMedia/nzbToMedia.py', '/media/ssd/Download/The.OA.S01E06.1080p.WEBRip.X264-DEFLATE', 'The.OA.S01E06.1080p.WEBRip.X264-DEFLATE.nzb', 'The.OA.S01E06.1080p.WEBRip.X264-DEFLATE', '', 'tve', 'alt.binaries.inner-sanctum', '0']
[15:02:14] [INFO]::MAIN: Script triggered from SABnzbd
[15:02:14] [DEBUG]::MAIN: Searching for nzoid from SAbnzbd ...
[15:02:15] [DEBUG]::MAIN: Found nzoid: SABnzbd_nzo_pliCFk
[15:02:15] [DEBUG]::MAIN: Adding NZB download info for directory /media/ssd/Download/The.OA.S01E06.1080p.WEBRip.X264-DEFLATE to database
[15:02:15] [INFO]::MAIN: Auto-detected SECTION:SickBeard
[15:02:15] [INFO]::MAIN: Calling SickBeard:tve to post-process:The.OA.S01E06.1080p.WEBRip.X264-DEFLATE.nzb
[15:02:15] [DEBUG]::SERVER: Attempting to connect to server at http://localhost:8081
[15:02:15] [DEBUG]::SERVER: Server responded at http://localhost:8081
[15:02:15] [INFO]::MAIN: SickBeard:tve fork set to medusa
[15:02:16] [INFO]::MAIN: FLATTEN: Flattening directory: /media/ssd/Download/The.OA.S01E06.1080p.WEBRip.X264-DEFLATE
[15:02:16] [DEBUG]::MAIN: Checking for empty folders in:/media/ssd/Download/The.OA.S01E06.1080p.WEBRip.X264-DEFLATE
[15:02:16] [POSTPROCESS]::SICKBEARD: SUCCESS: The download succeeded, sending a post-process request
[15:02:16] [DEBUG]::SICKBEARD: Opening URL: http://localhost:8081/home/postprocess/processEpisode with params: {'nzbName': 'The.OA.S01E06.1080p.WEBRip.X264-DEFLATE.nzb', 'quiet': 1, 'failed': '0', 'process_method': 'move', 'proc_dir': '/media/ssd/Download/The.OA.S01E06.1080p.WEBRip.X264-DEFLATE', 'delete_on': 1}
[15:02:42] [POSTPROCESS]::SICKBEARD: Processing folder /media/ssd/Download/The.OA.S01E06.1080p.WEBRip.X264-DEFLATE
[15:02:42] [POSTPROCESS]::SICKBEARD: PostProcessing Path: /media/ssd/Download
[15:02:42] [POSTPROCESS]::SICKBEARD: PostProcessing Dirs: [u'The.OA.S01E06.1080p.WEBRip.X264-DEFLATE']
[15:02:42] [POSTPROCESS]::SICKBEARD: PostProcessing Files: []
[15:02:42] [POSTPROCESS]::SICKBEARD: PostProcessing VideoFiles: []
[15:02:42] [POSTPROCESS]::SICKBEARD: PostProcessing RarContent: 
[15:02:42] [POSTPROCESS]::SICKBEARD: PostProcessing VideoInRar: 
[15:02:42] [POSTPROCESS]::SICKBEARD: Processing folder The.OA.S01E06.1080p.WEBRip.X264-DEFLATE
[15:02:42] [POSTPROCESS]::SICKBEARD: Processing folder /media/ssd/Download/The.OA.S01E06.1080p.WEBRip.X264-DEFLATE
[15:02:42] [POSTPROCESS]::SICKBEARD: Packed releases detected: [u'the.oa.s01e06.1080p.webrip.x264-deflate.2.rar', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.rar', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.rar', u'the.oa.s01e06.1080p.webrip.x264-deflate.rar']
[15:02:42] [POSTPROCESS]::SICKBEARD: Unpacking archive: the.oa.s01e06.1080p.webrip.x264-deflate.2.rar
[15:02:42] [POSTPROCESS]::SICKBEARD: Failed Unrar archive the.oa.s01e06.1080p.webrip.x264-deflate.2.rar: Invalid Rar Archive
[15:02:42] [POSTPROCESS]::SICKBEARD: Unpacking archive: the.oa.s01e06.1080p.webrip.x264-deflate.1.rar
[15:02:42] [POSTPROCESS]::SICKBEARD: Failed Unrar archive the.oa.s01e06.1080p.webrip.x264-deflate.1.rar: Invalid Rar Archive
[15:02:42] [POSTPROCESS]::SICKBEARD: Unpacking archive: the.oa.s01e06.1080p.webrip.x264-deflate.3.rar
[15:02:42] [POSTPROCESS]::SICKBEARD: Unpacking archive: the.oa.s01e06.1080p.webrip.x264-deflate.rar
[15:02:42] [POSTPROCESS]::SICKBEARD: UnRar content: [u'The.OA.S01E06.1080p.WEBRip.X264-DEFLATE.mkv']
[15:02:42] [POSTPROCESS]::SICKBEARD: Found unwanted files: [u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r46', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r47', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r44', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r45', u'the.oa.s01e06.1080p.webrip.x264-deflate.r14', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r43', u'the.oa.s01e06.1080p.webrip.x264-deflate.r16', u'the.oa.s01e06.1080p.webrip.x264-deflate.r17', u'the.oa.s01e06.1080p.webrip.x264-deflate.r18', u'the.oa.s01e06.1080p.webrip.x264-deflate.r19', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r64', u'the.oa.s01e06.1080p.webrip.x264-deflate.r12', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r48', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r49', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r08', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r09', u'the.oa.s01e06.1080p.webrip.x264-deflate.r13', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r00', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r01', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r02', u'the.oa.s01e06.1080p.webrip.x264-deflate.r46', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r04', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r05', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r06', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r07', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r40', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r34', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r50', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.sfv', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r34', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r35', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r36', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r37', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r30', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r31', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r32', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r33', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r56', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.rar', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r38', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r39', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r57', u'the.oa.s01e06.1080p.webrip.x264-deflate.r25', u'the.oa.s01e06.1080p.webrip.x264-deflate.r24', u'the.oa.s01e06.1080p.webrip.x264-deflate.r27', u'the.oa.s01e06.1080p.webrip.x264-deflate.r26', u'the.oa.s01e06.1080p.webrip.x264-deflate.r21', u'the.oa.s01e06.1080p.webrip.x264-deflate.r20', u'the.oa.s01e06.1080p.webrip.x264-deflate.r23', u'the.oa.s01e06.1080p.webrip.x264-deflate.r22', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r33', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r19', u'the.oa.s01e06.1080p.webrip.x264-deflate.r29', u'the.oa.s01e06.1080p.webrip.x264-deflate.r28', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.rar', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r28', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r69', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r21', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r65', u'_newz[NZB]_-_(The.OA.S01E06.1080p.WEBRip.X264-DEFLATE-2016-December-18).nfo.vol00+4.1.par2', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r66', u'_newz[NZB]_-_(The.OA.S01E06.1080p.WEBRip.X264-DEFLATE-2016-December-18).nfo.vol00+4.2.par2', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r67', u'the.oa.s01e06.1080p.webrip.x264-deflate.4.r49', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r68', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r32', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r59', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r60', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r64', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r02', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r63', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r61', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r41', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r40', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r43', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r42', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r45', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r62', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r47', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r46', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r49', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r48', u'the.oa.s01e06.1080p.webrip.x264-deflate.r35', u'the.oa.s01e06.1080p.webrip.x264-deflate.r03', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r65', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.sfv', u'the.oa.s01e06.1080p.webrip.x264-deflate.r02', u'the.oa.s01e06.1080p.webrip.x264-deflate.sfv', u'the.oa.s01e06.1080p.webrip.x264-deflate.r01', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r43', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r66', u'the.oa.s01e06.1080p.webrip.x264-deflate.r00', u'_newz[NZB]_-_(The.OA.S01E06.1080p.WEBRip.X264-DEFLATE-2016-December-18).nfo.3.par2', u'the.oa.s01e06.1080p.webrip.x264-deflate.r07', u'_newz[NZB]_-_(The.OA.S01E06.1080p.WEBRip.X264-DEFLATE-2016-December-18).nfo', u'the.oa.s01e06.1080p.webrip.x264-deflate.r06', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r37', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r59', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r03', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r53', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r36', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r53', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r52', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r51', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r50', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r57', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r56', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r55', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r54', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r52', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r53', u'the.oa.s01e06.1080p.webrip.x264-deflate.r38', u'the.oa.s01e06.1080p.webrip.x264-deflate.r39', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r68', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r69', u'the.oa.s01e06.1080p.webrip.x264-deflate.r10', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r55', u'the.oa.s01e06.1080p.webrip.x264-deflate.r32', u'the.oa.s01e06.1080p.webrip.x264-deflate.r33', u'the.oa.s01e06.1080p.webrip.x264-deflate.r30', u'the.oa.s01e06.1080p.webrip.x264-deflate.r31', u'the.oa.s01e06.1080p.webrip.x264-deflate.r36', u'the.oa.s01e06.1080p.webrip.x264-deflate.r37', u'the.oa.s01e06.1080p.webrip.x264-deflate.r34', u'the.oa.s01e06.1080p.webrip.x264-deflate.r64', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r41', u'the.oa.s01e06.1080p.webrip.x264-deflate.r67', u'_newz[NZB]_-_(The.OA.S01E06.1080p.WEBRip.X264-DEFLATE-2016-December-18).nfo.vol04+8.par2', u'the.oa.s01e06.1080p.webrip.x264-deflate.r66', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.rar', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r42', u'the.oa.s01e06.1080p.webrip.x264-deflate.4.r11', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r18', u'the.oa.s01e06.1080p.webrip.x264-deflate.r69', u'the.oa.s01e06.1080p.webrip.x264-deflate.r11', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r51', u'the.oa.s01e06.1080p.webrip.x264-deflate.r68', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r63', u'_newz[NZB]_-_(The.OA.S01E06.1080p.WEBRip.X264-DEFLATE-2016-December-18).nfo.2.par2', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r44', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r45', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r46', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r06', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r40', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r41', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r69', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r68', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r67', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r66', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r65', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r64', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r63', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r49', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r61', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.nfo', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r19', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r18', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r39', u'the.oa.s01e06.1080p.webrip.x264-deflate.r49', u'the.oa.s01e06.1080p.webrip.x264-deflate.r48', u'the.oa.s01e06.1080p.webrip.x264-deflate.r47', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r10', u'the.oa.s01e06.1080p.webrip.x264-deflate.r45', u'the.oa.s01e06.1080p.webrip.x264-deflate.r44', u'the.oa.s01e06.1080p.webrip.x264-deflate.r43', u'the.oa.s01e06.1080p.webrip.x264-deflate.r42', u'the.oa.s01e06.1080p.webrip.x264-deflate.r41', u'the.oa.s01e06.1080p.webrip.x264-deflate.r40', u'the.oa.s01e06.1080p.webrip.x264-deflate.r65', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r35', u'_newz[NZB]_-_(The.OA.S01E06.1080p.WEBRip.X264-DEFLATE-2016-December-18).nfo.vol04+8.3.par2', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r20', u'_newz[NZB]_-_(The.OA.S01E06.1080p.WEBRip.X264-DEFLATE-2016-December-18).nfo.vol04+8.1.par2', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r31', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r30', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r33', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r32', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r35', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r34', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r37', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r36', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r39', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r38', u'the.oa.s01e06.1080p.webrip.x264-deflate.nfo', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r54', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r08', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r09', u'the.oa.s01e06.1080p.webrip.x264-deflate.r58', u'the.oa.s01e06.1080p.webrip.x264-deflate.r59', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r08', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r02', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r03', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r00', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r01', u'the.oa.s01e06.1080p.webrip.x264-deflate.r50', u'the.oa.s01e06.1080p.webrip.x264-deflate.r51', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r04', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r05', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r17', u'_newz[NZB]_-_(The.OA.S01E06.1080p.WEBRip.X264-DEFLATE-2016-December-18).nfo.vol12+8.3.par2', u'the.oa.s01e06.1080p.webrip.x264-deflate.r15', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.sfv', u'the.oa.s01e06.1080p.webrip.x264-deflate.r54', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r47', u'_newz[NZB]_-_(The.OA.S01E06.1080p.WEBRip.X264-DEFLATE-2016-December-18).nfo.vol00+4.par2', u'the.oa.s01e06.1080p.webrip.x264-deflate.r55', u'the.oa.s01e06.1080p.webrip.x264-deflate.4.r15', u'the.oa.s01e06.1080p.webrip.x264-deflate.4.r17', u'the.oa.s01e06.1080p.webrip.x264-deflate.r56', u'_newz[NZB]_-_(The.OA.S01E06.1080p.WEBRip.X264-DEFLATE-2016-December-18).nfo.vol12+8.2.par2', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r22', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r23', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r20', u'the.oa.s01e06.1080p.webrip.x264-deflate.r57', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r42', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r24', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r25', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r06', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r28', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r29', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r07', u'the.oa.s01e06.1080p.webrip.x264-deflate.r61', u'the.oa.s01e06.1080p.webrip.x264-deflate.r60', u'the.oa.s01e06.1080p.webrip.x264-deflate.r63', u'the.oa.s01e06.1080p.webrip.x264-deflate.r62', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r09', u'the.oa.s01e06.1080p.webrip.x264-deflate.r52', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r31', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r30', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r05', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r04', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r07', u'the.oa.s01e06.1080p.webrip.x264-deflate.r53', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r01', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r00', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r03', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r44', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r67', u'the.oa.s01e06.1080p.webrip.x264-deflate.4.r08', u'_newz[NZB]_-_(The.OA.S01E06.1080p.WEBRip.X264-DEFLATE-2016-December-18).nfo.vol12+8.par2', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r48', u'_newz[NZB]_-_(The.OA.S01E06.1080p.WEBRip.X264-DEFLATE-2016-December-18).nfo.vol00+4.3.par2', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r38', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r12', u'_newz[NZB]_-_(The.OA.S01E06.1080p.WEBRip.X264-DEFLATE-2016-December-18).nfo.par2', u'_newz[NZB]_-_(The.OA.S01E06.1080p.WEBRip.X264-DEFLATE-2016-December-18).nfo.vol04+8.2.par2', u'_newz[NZB]_-_(The.OA.S01E06.1080p.WEBRip.X264-DEFLATE-2016-December-18).1.nfo', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r58', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r20', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r21', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r22', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r23', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r24', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r25', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r26', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r27', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r16', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r29', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r14', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r15', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r12', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r13', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r10', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r11', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r55', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r54', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r57', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r56', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r51', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r50', u'the.oa.s01e06.1080p.webrip.x264-deflate.r05', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r52', u'the.oa.s01e06.1080p.webrip.x264-deflate.r09', u'the.oa.s01e06.1080p.webrip.x264-deflate.r08', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r59', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r58', u'_newz[NZB]_-_(The.OA.S01E06.1080p.WEBRip.X264-DEFLATE-2016-December-18).nfo.vol12+8.1.par2', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r11', u'the.oa.s01e06.1080p.webrip.x264-deflate.rar', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r58', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r19', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r18', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r17', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r16', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r15', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r14', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r13', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r13', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r11', u'the.oa.s01e06.1080p.webrip.x264-deflate.3.r10', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r12', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.nfo', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r15', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r14', u'_newz[NZB]_-_(The.OA.S01E06.1080p.WEBRip.X264-DEFLATE-2016-December-18).nfo.1.par2', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r29', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r28', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r17', u'the.oa.s01e06.1080p.webrip.x264-deflate.r04', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r23', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r22', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r21', u'the.oa.s01e06.1080p.webrip.x264-deflate.1.r16', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r27', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r26', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r25', u'the.oa.s01e06.1080p.webrip.x264-deflate.2.r24']
[15:02:42] [POSTPROCESS]::SICKBEARD: Processing /media/ssd/Download/The.OA.S01E06.1080p.WEBRip.X264-DEFLATE/The.OA.S01E06.1080p.WEBRip.X264-DEFLATE.mkv (The.OA.S01E06.1080p.WEBRip.X264-DEFLATE.nzb)
[15:02:42] [POSTPROCESS]::SICKBEARD: Processing failed for /media/ssd/Download/The.OA.S01E06.1080p.WEBRip.X264-DEFLATE/The.OA.S01E06.1080p.WEBRip.X264-DEFLATE.mkv: File /media/ssd/Download/The.OA.S01E06.1080p.WEBRip.X264-DEFLATE/The.OA.S01E06.1080p.WEBRip.X264-DEFLATE.mkv doesn't exist, did unrar fail?
[15:02:42] [POSTPROCESS]::SICKBEARD: Forcing deletion of files, even though last result was not successful
[15:02:42] [POSTPROCESS]::SICKBEARD: Problem(s) during processing, failed the following files/folders: 
[15:02:42] [POSTPROCESS]::SICKBEARD: [the.oa.s01e06.1080p.webrip.x264-deflate.2.rar : Unpacking failed: Unpacking Failed with an Invalid Rar Archive Error]
[15:02:42] [POSTPROCESS]::SICKBEARD: [the.oa.s01e06.1080p.webrip.x264-deflate.1.rar : Unpacking failed: Unpacking Failed with an Invalid Rar Archive Error]
[15:02:42] [POSTPROCESS]::SICKBEARD: [/media/ssd/Download/The.OA.S01E06.1080p.WEBRip.X264-DEFLATE/The.OA.S01E06.1080p.WEBRip.X264-DEFLATE.mkv : Processing failed: File /media/ssd/Download/The.OA.S01E06.1080p.WEBRip.X264-DEFLATE/The.OA.S01E06.1080p.WEBRip.X264-DEFLATE.mkv doesn't exist, did unrar fail?]
[15:02:42] [ERROR]::MAIN: A problem was reported in the /home/pi/nzbToMedia/nzbToMedia.py script.
SickBeard: Failed to post-process - Returned log from SickBeard was not as expected.!
clinton-hall commented 7 years ago

When nzbToMedia is set to do the extraction, or when option check_media is used, the script will make this as failed. In this case, it appears you are passing the .rar directly to medusa and it is medusa that marks this as failed.

To be able to pass this on to nzbToMedia to mark as failed I'd need to add more output matching from the "SickBeard" returned logging...

But as the postprocessing failed, doesn't this get marked as failed in SABnzbd already?

duramato commented 7 years ago

I have Sabnzbd only doing the download as i want to have Medusa do the extraction. Medusa only has PostProcessing failing becouse of an invalid rar and is not marking anything as failed, what i was expecting would be for nzbtomedia to mark it as failed, like how it does when a download fails on sabnzbd. On sabnzbd for that download what i see is: image

clinton-hall commented 7 years ago

"Medusa only has PostProcessing failing becouse of an invalid rar and is not marking anything as failed"

This sounds like an issue in Medusa... If you set either SABnzbd or nzbToMedia to do the extraction, they would make as failed.

duramato commented 7 years ago

Medusa doesn't mark anything as failed by itself, that's the reason why I'm using nzbtomedia. And IMO when nzbtomedia receives a failed post processing from Medusa should mark as failed. I'm doing the extraction in medusa becouse I found it was extracting and then Medusa was extracting again becouse there where still rar files present.

clinton-hall commented 7 years ago

if you set SABnbzd process to +Delete this should extract and then delete the .rar files so there would not be .rar files for Medusa to extract.

Likewise, if nzbToMedia is set to extract, this should cleanup the .rar files after successful extraction.

Finch106 commented 7 years ago

in response to that statement, should I set +delete in sabnzbd categories AND enable extraction in the script, or choose one or the other?