Closed netohugo closed 6 years ago
Edit: Manual Post Processing in SR works like a charm...
Remove the api key from autoProcessMedia.cfg
[SickBeard]
[tv]
apikey = ""
this api key only works with a version of SickRage that supports api postprocessing. I suspect you are on the other version, but this is fully supported with WebUI processing.
Thank you for helpin but now returns other erros...
`[22:02:59] [INFO]::MAIN: Loading config from [/usr/local/share/nzbToMedia/autoProcessMedia.cfg] [22:02:59] [INFO]::MAIN: Checking database structure... [22:02:59] [INFO]::MAIN: Checking if git needs an update [22:03:00] [INFO]::MAIN: No update needed [22:03:00] [INFO]::MAIN: nzbToMedia Version:5d5d69ecdd5fe043be8a915ffa26e8427c9641c4 Branch:master (FreeBSD 11.0-RELEASE) [22:03:01] [INFO]::MAIN: ######################################################### [22:03:01] [INFO]::MAIN: ## ..::[nzbToMedia.pyc]::.. ## [22:03:01] [INFO]::MAIN: ######################################################### [22:03:01] [INFO]::MAIN: Script triggered from SABnzbd 0.7.17+ [22:03:01] [INFO]::MAIN: Auto-detected SECTION:SickBeard [22:03:01] [INFO]::MAIN: Calling SickBeard:tv to post-process:Scorpion.S04E06.Queen.Scary.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.nzb [22:03:01] [INFO]::MAIN: Attempting to auto-detect tv fork [22:03:01] [INFO]::MAIN: SickBeard:tv fork auto-detection found custom params {} [22:03:01] [INFO]::MAIN: SickBeard:tv fork set to custom [22:03:01] [INFO]::MAIN: FLATTEN: Flattening directory: /mnt/media/downloads/sabnzbd/complete/tv/Scorpion.S04E06.Queen.Scary.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.1 [22:03:01] [INFO]::TRANSCODER: Checking [Scorpion.S04E06.Queen.Scary.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.1.mkv] for corruption, please stand by ... [22:03:01] [INFO]::TRANSCODER: SUCCESS: [Scorpion.S04E06.Queen.Scary.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.1.mkv] has no corruption. [22:03:01] [POSTPROCESS]::SICKBEARD: SUCCESS: The download succeeded, sending a post-process request [22:03:01] [POSTPROCESS]::SICKBEARD: <!DOCTYPE html> [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD:
[22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD:[22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD:
[22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD:
[22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD:
[22:03:01] [POSTPROCESS]::SICKBEARD: [22:03:01] [POSTPROCESS]::SICKBEARD:[22:03:01] [POSTPROCESS]::SICKBEARD:
[22:03:01] [POSTPROCESS]::SICKBEARD:
My auto ProcessMedia.cfg is set up:
`[SickBeard]
#### tv - category that gets called for post-processing with SB
[[tv]]
enabled = 1
host = localhost
port = 8081
apikey = ""
username = ""
password = ""
###### ADVANCED USE - ONLY EDIT IF YOU KNOW WHAT YOU'RE DOING ######
web_root = /sickrage
ssl = 0
fork = auto
delete_failed = 1
# Enable/Disable linking for Torrents
Torrent_NoLink = 0
keep_archive = 1
process_method = ""
# force processing of already processed content when running a manual scan.
force = 0
# tell SickRage/Medusa to delete all source files after processing.
delete_on = 0
# tell Medusa to ignore check for associated subtitle check when postponing release
ignore_subs = 0
extract = 1
nzbExtractionBy = Downloader
# Set this to minimum required size to consider a media file valid (in MB)
minSize = 0
# Enable/Disable deleting ignored files (samples and invalid media files)
delete_ignored = 1
##### Enable if SickBeard is on a remote server for this category
remote_path = 0
##### Set to path where download client places completed downloads locally for this category
watch_dir = ""
##### Set the recursive directory permissions to the following (0 to disable)
chmodDirectory = 0 `
Maybe process_method = "Move" ????
I found out where I went wrong. SR user and password are missing in autoProcessMedia.cfg duhhh!
[[tv]] enabled = 1 host = localhost port = 8081 apikey = "" username = myuser password = mypass
Thanx!
[18:31:55] [INFO]::MAIN: Loading config from [/usr/local/share/nzbToMedia/autoProcessMedia.cfg] [18:31:55] [INFO]::MAIN: Checking database structure... [18:31:55] [INFO]::MAIN: Checking if git needs an update [18:31:56] [INFO]::MAIN: No update needed [18:31:56] [INFO]::MAIN: nzbToMedia Version:5d5d69ecdd5fe043be8a915ffa26e8427c9641c4 Branch:master (FreeBSD 11.0-RELEASE) [18:31:56] [INFO]::MAIN: ######################################################### [18:31:56] [INFO]::MAIN: ## ..::[nzbToMedia.pyc]::.. ## [18:31:56] [INFO]::MAIN: ######################################################### [18:31:56] [INFO]::MAIN: Script triggered from SABnzbd 0.7.17+ [18:31:56] [INFO]::MAIN: Auto-detected SECTION:SickBeard [18:31:56] [INFO]::MAIN: Calling SickBeard:tv to post-process:American.Horror.Story.S01E10.Smoldering.Children.1080p.WEB-DL.DD5.1.AAC2.0.H.264-SA89.nzb [18:31:56] [INFO]::MAIN: Attempting to auto-detect tv fork Traceback (most recent call last): File "/usr/local/share/nzbToMedia/nzbToSickBeard.py", line 260, in <module> result = nzbToMedia.main(sys.argv, section) File "/usr/local/share/nzbToMedia/nzbToMedia.py", line 847, in main download_id='', failureLink=''.join(args[8:])) File "/usr/local/share/nzbToMedia/nzbToMedia.py", line 717, in process download_id, inputCategory, failureLink) File "/usr/local/share/nzbToMedia/core/autoProcess/autoProcessTV.py", line 69, in processEpisode fork, fork_params = autoFork(section, inputCategory) File "/usr/local/share/nzbToMedia/core/nzbToMediaAutoFork.py", line 84, in autoFork if param not in r.json()['data']['optionalParameters'].keys(): KeyError: 'optionalParameters' Exception TypeError: "'NoneType' object is not callable" in <bound method PosixProcess.__del__ of <core.nzbToMediaUtil.PosixProcess object at 0x80077de10>> ignored
FreeNAS-11.1-U5 (8e2a858a1) - updated SabNZBd (2.3.4 [2a113f7]) and Sickrage (Branch: master, Commit: 0e72764974....) - updated as well,
Probably a permissive error? Where is the problem?
Thanks!