SABnzbd newbie help. Post processing and what not
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
SABnzbd newbie help. Post processing and what not
Hello
I've just got my self access to NZBmatrix and bought a subscription to Usenetserver.com. I'm having a very hard time integrating Sickbeard together with SABnzbd though. After much trouble with sickbeard it looks like it searches for NZB's, downloads them and pass the info forward to SABnzbd now. The actual files is downloaded in SABnzbd to my Download Complete folder, but they are never processed and moved to my media folder. The correct directory together with backdrop and folder images are created in my media directory thoug. I'm not sure where this thing halting.
I've tried the best I could, to follow guides and such for this setup. But they are either incomplete, wrong, I've screwed up or my setup is requiring something special.
Info:
- Sickbeard Alpha build 486 (custom modified version for J River Media Center integration)
- SABnzbd 0.6.5
Here is screenshots of my SABnzbd config (Sorry about that menu. It's gotten screwed up at some point. God knows why?):
http://dl.dropbox.com/u/8820265/Sickbea ... eneral.JPG
http://dl.dropbox.com/u/8820265/Sickbea ... olders.JPG
http://dl.dropbox.com/u/8820265/Sickbea ... itches.JPG
http://dl.dropbox.com/u/8820265/Sickbea ... ervers.JPG
http://dl.dropbox.com/u/8820265/Sickbea ... edules.JPG
http://dl.dropbox.com/u/8820265/Sickbea ... 0Sites.JPG
http://dl.dropbox.com/u/8820265/Sickbea ... gories.JPG
http://dl.dropbox.com/u/8820265/Sickbea ... orting.JPG
Any help and pointers would be appreciated!
I've just got my self access to NZBmatrix and bought a subscription to Usenetserver.com. I'm having a very hard time integrating Sickbeard together with SABnzbd though. After much trouble with sickbeard it looks like it searches for NZB's, downloads them and pass the info forward to SABnzbd now. The actual files is downloaded in SABnzbd to my Download Complete folder, but they are never processed and moved to my media folder. The correct directory together with backdrop and folder images are created in my media directory thoug. I'm not sure where this thing halting.
I've tried the best I could, to follow guides and such for this setup. But they are either incomplete, wrong, I've screwed up or my setup is requiring something special.
Info:
- Sickbeard Alpha build 486 (custom modified version for J River Media Center integration)
- SABnzbd 0.6.5
Here is screenshots of my SABnzbd config (Sorry about that menu. It's gotten screwed up at some point. God knows why?):
http://dl.dropbox.com/u/8820265/Sickbea ... eneral.JPG
http://dl.dropbox.com/u/8820265/Sickbea ... olders.JPG
http://dl.dropbox.com/u/8820265/Sickbea ... itches.JPG
http://dl.dropbox.com/u/8820265/Sickbea ... ervers.JPG
http://dl.dropbox.com/u/8820265/Sickbea ... edules.JPG
http://dl.dropbox.com/u/8820265/Sickbea ... 0Sites.JPG
http://dl.dropbox.com/u/8820265/Sickbea ... gories.JPG
http://dl.dropbox.com/u/8820265/Sickbea ... orting.JPG
Any help and pointers would be appreciated!
Last edited by MrHaugen on July 2nd, 2011, 5:19 pm, edited 1 time in total.
Re: SABnzbd newbie help. Post processing and what not
Maybe you should ask this question (too) on the SickBeard forum.
Re: SABnzbd newbie help. Post processing and what not
I asked my self that question. But when it comes to post processing and moving the finished downloads, I think that's SABnzb's job. So I think this forum should be the correct one to ask this question.
I'll post it on the Sickbeard forum as well.
I'll post it on the Sickbeard forum as well.
Last edited by MrHaugen on July 3rd, 2011, 8:03 am, edited 1 time in total.
Re: SABnzbd newbie help. Post processing and what not
SickBeard depends on its end-of-job script to be run by SABnzbd.
Set that script in the appropriate categories in Config->Categories.
Currently you have it only in category TV.
Do your jobs get the right category?
Set that script in the appropriate categories in Config->Categories.
Currently you have it only in category TV.
Do your jobs get the right category?
Re: SABnzbd newbie help. Post processing and what not
Looks like the category is OK, yes. When I click on the downloaded file, there is a summary. The category here is "tv", which should be correct I think. There is no need for more folder options under Categories? I think it's pretty strange that this text boxes should be empty, but I've seen no indication to filling this out in any guides.
Re: SABnzbd newbie help. Post processing and what not
Which "text boxes"?MrHaugen wrote: I think it's pretty strange that this text boxes should be empty, but I've seen no indication to filling this out in any guides.
Re: SABnzbd newbie help. Post processing and what not
what does the summary tell you ?
Re: SABnzbd newbie help. Post processing and what not
This (Folder/Path & Group/Indexer Tags) :shypike wrote:Which "text boxes"?MrHaugen wrote: I think it's pretty strange that this text boxes should be empty, but I've seen no indication to filling this out in any guides.
http://dl.dropbox.com/u/8820265/Sickbea ... gories.JPG
What summary are you talking about? The log files?rascalli wrote:what does the summary tell you ?
Re: SABnzbd newbie help. Post processing and what not
These boxes can remain all empty, because they have default or are not relevant.
To be safe, set the script for the default category (top line) to the SickBeard script.
That way, every job will be sent to SickBeard.
To be safe, set the script for the default category (top line) to the SickBeard script.
That way, every job will be sent to SickBeard.
Re: SABnzbd newbie help. Post processing and what not
I don't know if this tells you anything. It's the debug log:
Code: Select all
2011-07-02 10:24:22,983::INFO::[newsunpack:427] Deleting E:\NZB\xxxxxxxxxxx.S01E10.720p.HDTV.DD5.1.x264-EbP\xxxxxxxxxxx.S01E10.720p.HDTV.DD5.1.x264-EbP.part24.rar
2011-07-02 10:24:22,983::INFO::[newsunpack:200] Unrar finished on E:\NZB\Downloads\xxxxxxxxxxxxxx.S01E10.720p.HDTV.DD5.1.x264-EbP
2011-07-02 10:24:22,983::INFO::[postproc:296] unpack_magic finished on xxxxxxxxxxxxxxxxxx S01E10 720p HDTV DD5 1 x264-EbP
2011-07-02 10:24:23,467::INFO::[newsunpack:132] Running external script C:\MC\SABnzbd\Scripts\sabToSickBeard.exe(E:\NZB\Complete\xxxxxx.S01E10 720p HDTV DD5 1 x264-EbP, xxxxxx.S01E10.720p.HDTV.DD5.1.x264-EbP.nzb, xxxxxxx S01E10 720p HDTV DD5 1 x264-EbP, , tv, alt.binaries.hdtv, 0)
2011-07-02 10:24:26,223::INFO::[urlgrabber:110] Removing nzbmatrix bookmark 970802
2011-07-02 10:24:26,342::INFO::[postproc:448] Cleaning up xxxxxxxxxxxxx S01E10 720p HDTV DD5 1 x264-EbP (keep_basic=False)
2011-07-02 10:24:33,463::INFO::[postproc:83] Saving postproc queue
2011-07-02 10:24:33,463::INFO::[__init__:828] Saving data for postproc1.sab in C:\Users\xxxxx\AppData\Local\sabnzbd\admin\postproc1.sab
2011-07-02 10:24:33,463::INFO::[downloader:229] Post-processing finished, resuming downloadRe: SABnzbd newbie help. Post processing and what not
It tells me that the SickBeard script is actually started.
Why it doesn't seem to do anything is more a SickBeard problem, I guess.
Try the Sample-PostProc.cmd example script from SABnzbd's program folder.
Put it in the scripts folder and try it with one job.
If it produces output (visible in History), then all is OK for SABnzbd.
Why it doesn't seem to do anything is more a SickBeard problem, I guess.
Try the Sample-PostProc.cmd example script from SABnzbd's program folder.
Put it in the scripts folder and try it with one job.
If it produces output (visible in History), then all is OK for SABnzbd.
Re: SABnzbd newbie help. Post processing and what not
I am talking about what you posted before , see below !!!MrHaugen wrote:What summary are you talking about? The log files?rascalli wrote:what does the summary tell you ?
MrHaugen wrote:Looks like the category is OK, yes. When I click on the downloaded file, there is a summary. The category here is "tv", which should be correct I think. There is no need for more folder options under Categories? I think it's pretty strange that this text boxes should be empty, but I've seen no indication to filling this out in any guides.
Re: SABnzbd newbie help. Post processing and what not
Sorry about that. This is all new to me, and a bit confusing 
The summary tells me the following (with the SABtoSicbeard.exe post processing script):
The script info is as follows:
Looks like there is two problems here.
1. The correct script is not loaded. As you can see in my Categories screen shot, I have selected the SABtoSickbeard.exe script, but perhaps it defaults to autoProcessTV.cfg because of the line above?
2. There is a problem with the script it self. Not much to think about, as it's the wrong script though.
I changed the script to "Sample-PostProc.cmd" as Spypike suggested, and started downloading of another show. Here is that summary:
Script summary:
There is no new errors in the Debug/Error/Info log files, so this last script seems to work ok. I'm not sure at all what the actual processes are after this downloads is unpacked and checked though. So, I have a hard time understanding and figuring out this on my own. Sorry about that.
I'll report the same thing on the Sickbeard forums. Perhaps they have an idea of the script problems.
The summary tells me the following (with the SABtoSicbeard.exe post processing script):
Code: Select all
Completed 2011-07-02 09:51:39
Name xxxxxxxxxxxx S01E09 PROPER 720p HDTV x264-ORENJI
Size 1.6 GB
Status Completed
Category tv
Path E:\NZB\Complete\xxxxxxx S01E09 PROPER 720p HDTV x264-ORENJI
Download Downloaded in 26 minutes 43 seconds at an average of 1.0 MB/s
43 articles were missing
Repair [xxxxxxxxx.s01e09.720p.hdtv.x264-orenji] Repaired in 1 minute 14 seconds
Unpack [xxxxxxxxx.s01e09.720p.hdtv.x264-orenji] Unpacked 1 files/folders in 11 seconds
Script (More)Code: Select all
xxxxxxxxxx S01E08 720p HDTV DD5 1 x264-EbP
Loading config from C:\MC\SABnzbd\Scripts\autoProcessTV.cfg
Opening URL: http://localhost:8081/home/postprocess/processEpisode?nzbName=xxxxxxxxxxxxx.S01E08.720p.HDTV.DD5.1.x264-EbP.nzb&quiet=1&dir=E%3A%5CNZB%5CComplete%5Cxxxxxxxxxx+S01E08+720p+HDTV+DD5+1+x264-EbP
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></meta>
<title>401 Unauthorized</title>
<style type="text/css">
#powered_by {
margin-top: 20px;
border-top: 2px solid black;
font-style: italic;
}
#traceback {
color: red;
}
</style>
</head>
<body>
<h2>401 Unauthorized</h2>
<p>You are not authorized to access that resource<br />In addition, the custom error page failed:
<br />ValueError: invalid literal for int() with base 10: '401 Unauthorized'
</p>
<pre id="traceback">Traceback (most recent call last):
File "cherrypy\_cprequest.pyo", line 657, in respond
File "cherrypy\_cprequest.pyo", line 99, in run
File "cherrypy\_cprequest.pyo", line 59, in __call__
File "cherrypy\lib\auth_basic.pyo", line 86, in basic_auth
HTTPError: (401, 'You are not authorized to access that resource')
</pre>
<div id="powered_by">
<span>Powered by <a href="http://www.cherrypy.org">CherryPy 3.2.0rc1</a></span>
</div>
</body>
</html>1. The correct script is not loaded. As you can see in my Categories screen shot, I have selected the SABtoSickbeard.exe script, but perhaps it defaults to autoProcessTV.cfg because of the line above?
2. There is a problem with the script it self. Not much to think about, as it's the wrong script though.
I changed the script to "Sample-PostProc.cmd" as Spypike suggested, and started downloading of another show. Here is that summary:
Code: Select all
Completed 2011-07-04 03:57:54
Name xxxxxxxxxx Part06 720p HDTV x264-IMMERSE
Size 1.5 GB
Status Completed
Category tv
Path E:\NZB\Complete\xxxxxxxxxxxxPart06 720p HDTV x264-IMMERSE
Download Downloaded in 24 minutes 37 seconds at an average of 1.0 MB/s
Repair [xxxxxxxx.part06.720p.hdtv.x264-immerse] Quick Check OK
Unpack [xxxxxxxx.part06.720p.hdtv.x264-immerse] Unpacked 1 files/folders in 10 seconds
Script The seventh parameter (status) = 0 (More)Code: Select all
xxxxxxxxxxxxxxx Pt I 720p HDTV X264-DIMENSION
Running in directory "C:\MC\SABnzbd\Scripts\"
The first parameter (result-dir) = "E:\NZB\Complete\xxxxxxxxxxxx Pt I 720p HDTV X264-DIMENSION"
The second parameter (nzb-name) = xxxxxxxxxxx.Pt.I.720p.HDTV.X264-DIMENSION.nzb
The third parameter (nice name) = "xxxxxxxxx Pt I 720p HDTV X264-DIMENSION"
The fourth parameter (newzbin #) = ""
The fifth parameter (category) = tv
The sixth parameter (group) = alt.binaries.teevee
The seventh parameter (status) = 0I'll report the same thing on the Sickbeard forums. Perhaps they have an idea of the script problems.
Re: SABnzbd newbie help. Post processing and what not
To test this post processing scripts, it would be handy to be able to kick start the post processing again at will. Is there any way to do that, without having to add new series, wait for the download and so on?


