Post Processing only does one file at a time

Using 10.0.9 on Ubuntu 20.04 Server.

This error comes up when performing manual process

Traceback (most recent call last):
File “/opt/sickrage-master/sickrage/core/queues/postprocessor.py”, line 155, in run
result = ProcessResult(self.dirName, self.process_method, self.proc_type).process(
File “/opt/sickrage-master/sickrage/core/process_tv.py”, line 212, in process
self.process_media(current_directory, video_files, nzbName, self.process_method, force, is_priority)
File “/opt/sickrage-master/sickrage/core/process_tv.py”, line 518, in process_media
self.result = processor.process()
File “/opt/sickrage-master/sickrage/core/processors/post_processor.py”, line 1082, in process
cur_ep.download_subtitles()
File “/opt/sickrage-master/sickrage/core/tv/episode/init.py”, line 428, in download_subtitles
subtitles, new_subtitles = Subtitles().download_subtitles(self.series_id, self.series_provider_id, self.season, self.episode)
File “/opt/sickrage-master/sickrage/subtitles/init.py”, line 193, in download_subtitles
History.log_subtitle(series_id, series_provider_id, season, episode, episode_object.status, subtitle)
File “/opt/sickrage-master/sickrage/core/tv/show/history.py”, line 200, in log_subtitle
action = Quality.composite_status(EpisodeStatus.SUBTITLED, quality)
File “/opt/sickrage-master/sickrage/core/common.py”, line 280, in composite_status
return EpisodeStatus(status + 100 * quality)
File “/usr/local/lib/python3.8/dist-packages/aenum/init.py”, line 2077, in call
return cls.new(cls, value)
File “/usr/local/lib/python3.8/dist-packages/aenum/init.py”, line 2442, in new
raise ve_exc
ValueError: 410 is not a valid EpisodeStatus
Processing Failed

I’ll look into this now, fairly sure I know what is causing it, will reply back once I have resolved it.

Thanks!

OK, fixed the issue, pushing to develop branch now, then this weekend I’ll release to master.

1 Like

Still happening with version 10.0.10 on Synology NAS. I don’t see the error posted above, but it only processes one file every cycle (10 minutes).

Does manually post-processing process them all same time ?

Post Processing seems to be working on 10.0.10. I had 3 shows process automatically after I sent nzbs to sab. Also processed 3 shows manually and they all worked without error.

1 Like

No, manual processing only does one at a time still.

what folder do you have set in SR for post-processing dir?
what folder do you have set in SR for TV show root directories?
what folder does your download client place complete downloads into?

I have just verified manual post processing does work on Linux in versio n10.0.10. Download 3 shows, had auto post processing turned off. Waited a bit and verified all the shows were in the directory that I wanted to post process and they all processed without error.

This was my output.

Processing /media/1500MB2/Movies/TV
Processing folder /media/1500MB2/Movies/TV
Processing folder /media/1500MB2/Movies/TV/Grown-ish.S03E14.WEB.h264-BAE
Processing file /media/1500MB2/Movies/TV/Grown-ish.S03E14.WEB.h264-BAE/Grown-ish.S03E14.WEB.h264-BAE.mkv
Retrieving episode object for 3x14
Snatch history had a quality in it, using that: SDTV
Is ep a priority download: True
There is no existing file so there’s no worries about replacing it
This download is marked a priority download so I’m going to replace an existing file if I find one
Found release name Grown-ish.S03E14.WEB.h264-BAE
Destination folder for this episode: /media/1500MB1/Adults TV 2/grown-ish/Season 03
No associated files for /media/1500MB2/Movies/TV/Grown-ish.S03E14.WEB.h264-BAE/Grown-ish.S03E14.WEB.h264-BAE.mkv were found during this pass
Copying file from /media/1500MB2/Movies/TV/Grown-ish.S03E14.WEB.h264-BAE/Grown-ish.S03E14.WEB.h264-BAE.mkv to /media/1500MB1/Adults TV 2/grown-ish/Season 03/grown-ish - S03E14 - Know Yourself.mkv

Processing succeeded for /media/1500MB2/Movies/TV/Grown-ish.S03E14.WEB.h264-BAE/Grown-ish.S03E14.WEB.h264-BAE.mkv
Processing folder /media/1500MB2/Movies/TV/BattleBots.2015.S05E12.Were.Beast.Slayin.Tonight.720p.HEVC.x265-MeGusta
Processing file /media/1500MB2/Movies/TV/BattleBots.2015.S05E12.Were.Beast.Slayin.Tonight.720p.HEVC.x265-MeGusta/BattleBots.2015.S05E12.Were.Beast.Slayin.Tonight.720p.HEVC.x265-MeGusta.mkv
Retrieving episode object for 5x12
Snatch history had a quality in it, using that: 720p HDTV
Is ep a priority download: True
There is no existing file so there’s no worries about replacing it
This download is marked a priority download so I’m going to replace an existing file if I find one
Found release name BattleBots.2015.S05E12.Were.Beast.Slayin.Tonight.720p.HEVC.x265-MeGusta
Destination folder for this episode: /media/1500MB4/Adults TV 5/BattleBots (2015)/Season 05
Found the following associated files for /media/1500MB2/Movies/TV/BattleBots.2015.S05E12.Were.Beast.Slayin.Tonight.720p.HEVC.x265-MeGusta/BattleBots.2015.S05E12.Were.Beast.Slayin.Tonight.720p.HEVC.x265-MeGusta.mkv: [’/media/1500MB2/Movies/TV/BattleBots.2015.S05E12.Were.Beast.Slayin.Tonight.720p.HEVC.x265-MeGusta/BattleBots.2015.S05E12.Were.Beast.Slayin.Tonight.720p.HEVC.x265-MeGusta.nfo’]
Allowing associated files for /media/1500MB2/Movies/TV/BattleBots.2015.S05E12.Were.Beast.Slayin.Tonight.720p.HEVC.x265-MeGusta/BattleBots.2015.S05E12.Were.Beast.Slayin.Tonight.720p.HEVC.x265-MeGusta.mkv: [’/media/1500MB2/Movies/TV/BattleBots.2015.S05E12.Were.Beast.Slayin.Tonight.720p.HEVC.x265-MeGusta/BattleBots.2015.S05E12.Were.Beast.Slayin.Tonight.720p.HEVC.x265-MeGusta.nfo’]
Copying file from /media/1500MB2/Movies/TV/BattleBots.2015.S05E12.Were.Beast.Slayin.Tonight.720p.HEVC.x265-MeGusta/BattleBots.2015.S05E12.Were.Beast.Slayin.Tonight.720p.HEVC.x265-MeGusta.mkv to /media/1500MB4/Adults TV 5/BattleBots (2015)/Season 05/BattleBots (2015) - S05E12 - We’re Beast Slayin’ Tonight!.mkv
Copying file from /media/1500MB2/Movies/TV/BattleBots.2015.S05E12.Were.Beast.Slayin.Tonight.720p.HEVC.x265-MeGusta/BattleBots.2015.S05E12.Were.Beast.Slayin.Tonight.720p.HEVC.x265-MeGusta.nfo to /media/1500MB4/Adults TV 5/BattleBots (2015)/Season 05/BattleBots (2015) - S05E12 - We’re Beast Slayin’ Tonight!.nfo-orig

Processing succeeded for /media/1500MB2/Movies/TV/BattleBots.2015.S05E12.Were.Beast.Slayin.Tonight.720p.HEVC.x265-MeGusta/BattleBots.2015.S05E12.Were.Beast.Slayin.Tonight.720p.HEVC.x265-MeGusta.mkv
Processing folder /media/1500MB2/Movies/TV/BattleBots.2015.S05E12.Were.Beast.Slayin.Tonight.720p.HEVC.x265-MeGusta/Screens
Folder /media/1500MB2/Movies/TV/BattleBots.2015.S05E12.Were.Beast.Slayin.Tonight.720p.HEVC.x265-MeGusta/Screens : No processable items found in folder
Processing folder /media/1500MB2/Movies/TV/Last.Man.Standing.US.S09E09.1080p.HEVC.x265-MeGusta
Processing file /media/1500MB2/Movies/TV/Last.Man.Standing.US.S09E09.1080p.HEVC.x265-MeGusta/Last.Man.Standing.US.S09E09.1080p.HEVC.x265-MeGusta.mkv
Retrieving episode object for 9x9
Snatch history had a quality in it, using that: 1080p HDTV
Is ep a priority download: True
There is no existing file so there’s no worries about replacing it
This download is marked a priority download so I’m going to replace an existing file if I find one
Found release name Last.Man.Standing.US.S09E09.1080p.HEVC.x265-MeGusta
Destination folder for this episode: /media/1500MB1/Adults TV 2/Last Man Standing (2011)/Season 09
Found the following associated files for /media/1500MB2/Movies/TV/Last.Man.Standing.US.S09E09.1080p.HEVC.x265-MeGusta/Last.Man.Standing.US.S09E09.1080p.HEVC.x265-MeGusta.mkv: [’/media/1500MB2/Movies/TV/Last.Man.Standing.US.S09E09.1080p.HEVC.x265-MeGusta/Last.Man.Standing.US.S09E09.1080p.HEVC.x265-MeGusta.nfo’]
Allowing associated files for /media/1500MB2/Movies/TV/Last.Man.Standing.US.S09E09.1080p.HEVC.x265-MeGusta/Last.Man.Standing.US.S09E09.1080p.HEVC.x265-MeGusta.mkv: [’/media/1500MB2/Movies/TV/Last.Man.Standing.US.S09E09.1080p.HEVC.x265-MeGusta/Last.Man.Standing.US.S09E09.1080p.HEVC.x265-MeGusta.nfo’]
Copying file from /media/1500MB2/Movies/TV/Last.Man.Standing.US.S09E09.1080p.HEVC.x265-MeGusta/Last.Man.Standing.US.S09E09.1080p.HEVC.x265-MeGusta.mkv to /media/1500MB1/Adults TV 2/Last Man Standing (2011)/Season 09/Last Man Standing (2011) - S09E09 - Grill in the Mist.mkv
Copying file from /media/1500MB2/Movies/TV/Last.Man.Standing.US.S09E09.1080p.HEVC.x265-MeGusta/Last.Man.Standing.US.S09E09.1080p.HEVC.x265-MeGusta.nfo to /media/1500MB1/Adults TV 2/Last Man Standing (2011)/Season 09/Last Man Standing (2011) - S09E09 - Grill in the Mist.nfo-orig

Processing succeeded for /media/1500MB2/Movies/TV/Last.Man.Standing.US.S09E09.1080p.HEVC.x265-MeGusta/Last.Man.Standing.US.S09E09.1080p.HEVC.x265-MeGusta.mkv
Processing folder /media/1500MB2/Movies/TV/Last.Man.Standing.US.S09E09.1080p.HEVC.x265-MeGusta/Screens
Folder /media/1500MB2/Movies/TV/Last.Man.Standing.US.S09E09.1080p.HEVC.x265-MeGusta/Screens : No processable items found in folder
Successfully processed

/volume1/Videos/Incoming/Shows

/volume1/Videos/TV Shows

For now, I’ve been manually putting the completed downloads in the /volume1/Videos/Incoming/Shows directory, which is the post-processing directory.

@Biggsy are you moving the files or symlinking them for post-processing?

Manually copying them to the “Incoming” directory. No links.