|
Page 1 of 2 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
Posted: Tue, 25th Jan 2011 20:03 Post subject: SabNZBD + Sickbeard guide! |
|
 |
Figured I'd post this separate, since this is a fantastic way to stay update your shows automatically and Sab is awesome to download with anyway. Let me know if I missed anything or if you have questions!
Obviously, this only applies to 'us', the master race that uses Usenet instead of crappy ass torrents
Links:
- SabNZBD - Grab the Windows Installer (latest version at the time of writing is 0.5.6)
- Sickbeard - Grab the Windows binaries (latest build at the time of writing is 473)
If you feel comfortable using the source versions, feel free to do so. Allows you to fetch them from the version control systems and update/hack them as you please; won't go into that here.
Some stuff up front - read this please
What are they?
Both are applications written in Python and both have a web-based interface. As such, this guide applies not only to Windows users, but to Linux and OS X users as well. That's also the major beauty of these two: they run on whatever you want to run them on, since almost every device has some form of Linux available for it - you can run this on your NAS or in some cases even your router if you want
I'll start with SabNZBD, set it all up. We'll then do Sickbeard, and quickly jump back to Sab for a minute to do a last-minute change.
A few important locations - again, I'm doing this for Windows, as I don't have them installed on a Linux box right now, but if you're using Linux you're capable enough to figure these paths out anyway:
- %LocalAppData%\sabnzbd: default location for cache and logs, and the .ini file
- X:\Path\T\Sickbeard\autoProcessTV: the post process scripts, we'll need this later
- Your final series folder, I'll refer to this as %Series%; if you have a media streamer or HTPC, this is typically the folder which you've got shared on the network
Before continuing, decide whether you want to be able to access both Sab and Sickbeard from the outside - like when you're at work or something!
SabNZBD
Right, hit the installer and wait for that to finish. It should open Sab in your browser at the end - if you get a 404 error now, it means you've already got something running on the default port (8080). To fix this, head to the important location mentioned above in your local AppData and open up the .ini file. Look for the "port = " entry, and change the port. Use any random port you like, I've got mine running on 8082 (Sick runs on 8081 by default).
Once you're in the web interface, you should be presented with a wizard. Go through it, it's all very self explanatory. If you're going to accessing it from the outside, I recommend setting a username and password at the very least; you can also enable SSL if you want to go as far as using HTTPS. I recommend *not* starting your browser when Sab starts, you're probably gonna load Sab on boot, so why slow things down by opening your browser straight away? When all this is done, read on, I'll go through some important settings, and a few quirks here and there.
Config -> General:
- Web server -> Make sure API key is enabled (need this for Sickbeard)
- Web server -> Optionally, set the host field to 0.0.0.0 - that means it'll bind to any available IP; I recommend binding it to your LAN IP though (192.168.2.2 in my case)
- Tuning -> Queue auto refresh interval: set this to 10 seconds, that way it'll periodically refresh when you've got the queue page open
- Tuning -> Cleanup list: enter any extensions which you want deleted afterwards; mine currently reads ".sfv, .srr, .nzb, .nfo, .sample.mkv, .md5, .par2" (minus quotes). All junk files I don't give a fuck about if the download/unpacking was successful anyway
Config -> Folders:
- Incomplete/Complete folders HAVE to be somewhere ELSE than %Series% - We'll set that one in Sickbeard!
- Post-Processing Scripts Folder: set something here so that we can copy the config + executable later on
For all of these folders you can fill in absolute paths. As an example, I've decided to keep all Sab data together, so I created D:\SabNZBD, and within that I created the following subfolders: Incomplete, Complete, NZBs, Scripts, Cache, Logs. Each of these is set on the folders page as an absolute path (Incomplete = Temporary Download Folder, NZBs = Watched Folder). So my "Completed Download Folder" is set to "D:\SabNZBD\Complete".
Config -> Switches:
Enable all the good stuff: quick check, unrar, unzip, joining, cleanup. I've ticked the "Only Get Articles for Top of Queue" option; Astraweb allows me to download at full speed even for posts more than a year old, so I rarely experience a download slowing down the queue. The few times that it did happen (by downloading a ~2 year old post), I just moved it down the queue.
Now, as for the rest, that's all left to default in my case. However, I need to experiment with the "Post-Process Only Verified Jobs" setting - Astraweb doesn't ever have missing parts unless it's a faulty post to start with and when a post has it, it usually has enough PAR2 files to fix it. I think that not having this ticked will fuck things up if you get incomplete posts all the time though, so I suggest having it ticked for now.
Config -> Categories:
- Create a category for TV series here; I use a subdir within my "Complete" for good measure.
I also have different categories for music, apps, games and films here - again, you can fill in absolute paths. My stuff is spread across several drives, and it works fine!
Config -> Sorting
- Disable sorting; critical!
Garus asked me this, why is this so critical? Well, it's because it might interfere with Sickbeard otherwise. You could probably leave it on if configured properly, but you don't need it since Sickbeard will take care of it all
Servers, scheduling, RSS, email and Index sites are all unused in my case. You may want to use some of these, but I'll leave that up to you.
That's it, we're ready for Sickbeard now!
Sickbeard
I went by the binary release for now, because I didn't want to fiddle with the source yet. Also means that you don't have to download Python or anything, since the DLL's are distributed alongside the executable. Just unpack and run the executable.
First the web-based config, then we'll do the post-process config and finish it in Sab.
Config -> General:
- Episode naming: I recommend unticking the air-by-date format, I never want that happening tbh
Config -> Episode Downloads:
- Episode Results
-- NZB Method: SabNZBD
-- IP/Port/Username/API: Fill in as required, self-explanatory
-- Category: type in the *exact* name as shown in Sab - that's the FIRST field on the category page in Sab, all lowercase
- Post-Processing
-- Leave TV Download dir empty!
-- Keep Original Files: OFF
-- Move Associated Files: ON
-- Rename Episodes: ON
-- Scan and Process: OFF
Got all that done? Here's the good bit then: Post processing.
Go to your Sickbeard folder; there's a subfolder "autoProcessTV" in there. From that folder, copy "autoProcessTV.cfg.sample"+"sabToSickBeard.exe" to that "Post-Processing Scripts Folder" you set in Sab earlier. Rename the .cfg.sample to .cfg, edit it. All of these settings are about Sickbeard, not Sab; fill in any details you changed in Sickbeard's config here. For me, default host/ip was fine (I use a different port from the outside, but internally it's fine). User/pass you obviously gotta fill in if you set those, you can leave them empty as well of course if you didn't password protect the whole thing.
Done that? Open up Sab's page again, head to Config -> Categories and set "Script" for your series category to "sabToSickBeard.exe" - don't forget to hit the Save button
Right, so that's it for new downloads. But what about your existing files? Well, assuming you've already sorted them a little bit, and they're in %Series%, all you have to do is open up Sickbeard's page, go to Home -> Add Shows - click Browse under "Add multiple shows from a root directory". Select the %Series% folder and press "Add multiple shows" - watch it do magic stuff!
It'll let you pick the show if it doesn't find a 100% match, and it'll process the files as well. If you want to mass rename them later like I did (added episode name to the file) just press the Manage button at the top. What I can't tell you is whether it'll create a folder for the series if a file is not in that, or whether it'll create a folder per season for *existing* files, but I'm pretty sure it does at least the latter.
To add a single show, go to the "Add Shows" page again and click "Browse" at "Add Single Show". Select your %Series% folder here, and append the name of the series you want to download. So for example my %Series% is E:\Media\Series and to add "Spartacus: Gods of the Arena" I filled in E:\Media\Series\Spartacus Gods of the Arena (keep in mind you can't use colons in a path!). It'll create the folder, search for the show on thetvdb.com and voilá, it'll appear on the homepage.
Now head to the show's page by clicking on it on the homepage, and you'll see the episode overview. Use the little icon to the right of an episode to fetch the NZB and download the episode - you can enjoy some soft porn and blood now
For NEW episodes airing AFTER you install Sickbeard you obviously don't have to do anything, it'll download those automatically. Also from the show's overview page, you can mark multiple episodes as "wanted" (tick the boxes, then use the dropbox at the top) to download multiple in a row
If you have it running 24/7 on a server or NAS, it'll download as soon as it can find an NZB after it has been aired; depending on the Search Frequency setting obviously (Config -> Episode Downloads).
Otherwise it performs a search on startup, and then based on the search frequency again.
Other bits and bobs.
Right so, in case you're wondering how it manages to grab correct NZBs, and not the fake passworded crap. It grabs the NZBs from a bunch of index sites; most of which (if not all) know what to fetch. So they avoid "teevee" releases posted after the original one (since those tend to be fake), have options to nuke, and so on. It's not like it uses nzbindex.nl or binsearch.info or any other indexer. It uses proper NZB sites, and here's the list of sites it supports atm:
- NZBMatrix
- NZB.su
- EZRSS (limited backlog)
- NZBs'R'US (no backlog downloads)
- NZBs.org
- Womble's Index (no backlog downloads)
- Bin-Req (no backlog downloads)
- Newzbin
As for the quality, under Config -> General -> Defaults you can set a default quality to fetch. HD means 720p (like those by Dimension, CTU etcetera) OR WEB-DL releases. What you can do however is customise this, right here. More importantly though, you can customise it PER SHOW, on the edit page for that show. Set it to "custom" and you can for example exclude WEB-DL releases. Or for example, for one show you fetch WEB-DLs, for another only SD releases and for another you could fetch only 720p.
Last edited by Werelds on Wed, 26th Jan 2011 23:13; edited 1 time in total
|
|
Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
Posted: Tue, 25th Jan 2011 23:04 Post subject: |
|
 |
Added a small note about the sorting after a question from Garus 
|
|
Back to top |
|
 |
fisk
Posts: 9145
Location: Von Oben
|
Posted: Wed, 26th Jan 2011 07:01 Post subject: Re: SabNZBD + Sickbeard guide! |
|
 |
Thanks for this guide! Should be a sticky tbh.
Werelds wrote: | (keep in mind you can't use colons in a path!) |
*insert image of a colon lying in a path*
Yes, yes I'm back.
Somewhat.
|
|
Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
Posted: Wed, 26th Jan 2011 09:34 Post subject: |
|
 |
LOL, good one, caught me by surprise there 
|
|
Back to top |
|
 |
_SiN_
Megatron
Posts: 12108
Location: Cybertron
|
|
Back to top |
|
 |
|
Posted: Wed, 26th Jan 2011 11:12 Post subject: |
|
 |
How does it download shows automagically? When I start the programm? When I have an internet connection? Do I get a confirmation prior to downloading ("download show x? yes/no"), or does it download everything I input?
|
|
Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
Posted: Wed, 26th Jan 2011 11:24 Post subject: |
|
 |
Good questions!
If you have it running 24/7 on a server like SiN will have, it'll download as soon as it can find an NZB after it has been aired; depending on the Search Frequency setting obviously
Otherwise it performs a search on startup, and then based on the search frequency again.
As for automatic downloading:
Werelds wrote: | For NEW episodes airing AFTER you install Sickbeard you obviously don't have to do anything, it'll download those automatically. Also from the show's overview page, you can mark multiple episodes as "wanted" (tick the boxes, then use the dropbox at the top) to download multiple in a row |
No confirmation boxes, nothing - fully automatic
I'll add the above to the guide when I get home, good points there!
|
|
Back to top |
|
 |
|
Posted: Wed, 26th Jan 2011 13:42 Post subject: |
|
 |
How does the app discern between passworded and non-passworded uploads? The filenames are exactly the same, sometimes even the same for the uploader (differing in lower/uppercase). It should do a file extension check to know what batch is password protected (usually partxx files). I doubt it does that.
Can I make a selection between 720p and Web-DL? Say I'd need both versions for a show, one for me watching it on the PC connected to LCD and one for the others watching it on a WDTV not supporting Web-DL. While for other shows, which I only watch, the Web-DL alone is sufficient.
I know, many questions.
|
|
Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
Posted: Wed, 26th Jan 2011 14:27 Post subject: |
|
 |
|
|
Back to top |
|
 |
|
Posted: Wed, 26th Jan 2011 19:59 Post subject: |
|
 |
Sounds good, I'll check it out. Thanks.
|
|
Back to top |
|
 |
|
Posted: Wed, 26th Jan 2011 20:24 Post subject: |
|
 |
Thanks for the guide, Werelds Managed to get SABnzbd+ & SickBeard running, have to wait till friday, to check if SickBeard works or not as I am watching very few series.
I suggest folks, installing SABnzbd+, to stick to zipped binaries and avoid Windows Installer version. Reason being, SABnzbd+ stores your usenet provider account credentials in a config file in plain text. Windows Installer versions store such config file at common location, I wouldn't be surprised if there are some trojans apps to snatch them
So, better be safe than sorry, use zipped binaries and change default folder name 
|
|
Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
Posted: Thu, 27th Jan 2011 08:57 Post subject: |
|
 |
Updated the post a bit again, left it "posting" for like 10 minutes last night but I couldn't be bothered waiting. Seems it posted after all 
|
|
Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
Posted: Thu, 27th Jan 2011 19:46 Post subject: |
|
 |
Right, I cloned the GIT repo, and hacked in a delete button (shows up next to the NZB fetch button at the episode list for a show). Deletes the file and sets the status to ignored. If anyone's interested, lemme know!
|
|
Back to top |
|
 |
LeoNatan
☢ NFOHump Despot ☢
Posts: 73238
Location: Ramat HaSharon, Israel 🇮🇱
|
Posted: Thu, 27th Jan 2011 19:59 Post subject: |
|
 |
Who is this Werelds dude and why does he not have a custom title and fields? 
|
|
Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
|
Back to top |
|
 |
garus
VIP Member
Posts: 34197
|
Posted: Thu, 27th Jan 2011 22:37 Post subject: |
|
 |
snip
Last edited by garus on Tue, 27th Aug 2024 21:42; edited 1 time in total
|
|
Back to top |
|
 |
|
Posted: Sat, 29th Jan 2011 05:48 Post subject: |
|
 |
It works
and even informs me with a fancy Growl notifications 
|
|
Back to top |
|
 |
fisk
Posts: 9145
Location: Von Oben
|
Posted: Sat, 29th Jan 2011 11:54 Post subject: |
|
 |
Tried the "normal" way of installing it first, without Python installation and sources. Didn't work, just threw me this error:
500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "cherrypy\_cprequest.pyo", line 660, in respond
File "cherrypy\lib\encoding.pyo", line 193, in __call__
File "cherrypy\_cpdispatch.pyo", line 25, in __call__
File "sickbeard\webserve.pyo", line 1315, in index
File "sickbeard\webserve.pyo", line 103, in _munge
File "Cheetah\Template.pyo", line 1004, in __str__
File "_Sickbeard_data_interfaces_default_home_tmpl.py", line 383, in respond
File "Cheetah\Template.pyo", line 1588, in _handleCheetahInclude
File "_Sickbeard_data_interfaces_default_inc_bottom_tmpl.py", line 114, in respond
File "encodings\utf_8.pyo", line 16, in decode
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 1-4: invalid data
So I figured I'd try the manual route.
Ungh, went through that long ass install and it still does this for me:
500 Internal Server Error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "C:\Sickbeard\cherrypy\_cprequest.py", line 660, in respond
response.body = self.handler()
File "C:\Sickbeard\cherrypy\lib\encoding.py", line 193, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "C:\Sickbeard\cherrypy\_cpdispatch.py", line 25, in __call__
return self.callable(*self.args, **self.kwargs)
File "C:\Sickbeard\sickbeard\webserve.py", line 1315, in index
return _munge(t)
File "C:\Sickbeard\sickbeard\webserve.py", line 103, in _munge
return unicode(string).encode('ascii', 'xmlcharrefreplace')
File "C:\Python26\lib\site-packages\Cheetah\Template.py", line 1010, in __unicode__
return getattr(self, mainMethName)()
File "_Sickbeard_data_interfaces_default_home_tmpl.py", line 386, in respond
File "C:\Python26\lib\site-packages\Cheetah\Template.py", line 1615, in _handleCheetahInclude
self._CHEETAH__cheetahIncludes[_includeID].respond(trans)
File "_Sickbeard_data_interfaces_default_inc_bottom_tmpl.py", line 117, in respond
File "C:\Python26\lib\encodings\utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 1-4: invalid data
and now this (when I try to find the bugs):
DummyResponseFailure: Looks like you're trying to mix encoded strings with Unicode strings
(most likely utf-8 encoded ones)
This can happen if you're using the `EncodeUnicode` filter, or if you're manually
encoding strings as utf-8 before passing them in on the searchList (possible offenders:
['build 475', 'Home', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'build 475', '', 'home', 'Home', '', 'comingEpisodes', 'Coming Episodes', '', 'history', 'History', '', 'manage', 'Manage', '', 'config', 'Config', '', 'errorlogs', 'Logs & Errors (1)', '', 'home/addShows/', 'Add Shows', '', 'home/postprocess/', 'Manual Post-Processing', '', 'home/restart/?pid=868', 'Restart', '', 'home/shutdown/', 'Shutdown', 'Show List', '0', '0', '0', '0', '0:59:59', 'l\xf6 jan 29'])
('ascii' codec can't decode byte 0xf6 in position 1: ordinal not in range(128))
--------------->
Well, I'm running 473, that works fine. 474 % 475 does not work at all for me.
Yes, yes I'm back.
Somewhat.
|
|
Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
Posted: Sat, 29th Jan 2011 13:36 Post subject: |
|
 |
Hmm that's quite odd, what version of Windows and which language do you run on?
|
|
Back to top |
|
 |
fisk
Posts: 9145
Location: Von Oben
|
Posted: Sat, 29th Jan 2011 14:06 Post subject: |
|
 |
Werelds wrote: | Hmm that's quite odd, what version of Windows and which language do you run on? |
Windows 7 (64bit), English
Yes, yes I'm back.
Somewhat.
|
|
Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
Posted: Sat, 29th Jan 2011 15:39 Post subject: |
|
 |
Odd, that date string there is the offender but where that data comes from is unclear to me o_O
|
|
Back to top |
|
 |
|
Posted: Fri, 4th Feb 2011 19:28 Post subject: |
|
 |
After the first config step I quit the app because I didn't have time. Next day I moved the folder from c to h. Now I can't start it, I get an error. I thought maybe the server thingie was running on the background or something, nothing is running on the background. Using the browser doesn't work either. The app simply does not start anymore. Error log below. Does it "call" upon the last location, drive c? I used the zipped version btw, not the executeable.
Spoiler: | Exception in thread HTTPServer Thread-10:
Traceback (most recent call last):
File "threading.pyo", line 488, in __bootstrap_inner
File "threading.pyo", line 448, in run
File "cherrypy\process\servers.pyo", line 75, in _start_http_thread
File "cherrypy\wsgiserver\__init__.pyo", line 1629, in start
error: (10049, "Can't assign requested address") |
|
|
Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
|
Back to top |
|
 |
|
|
Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
Posted: Sat, 5th Feb 2011 13:09 Post subject: |
|
 |
Just set your router to give a fixed IP to your PC's MAC address 
|
|
Back to top |
|
 |
|
Posted: Sat, 5th Feb 2011 15:56 Post subject: |
|
 |
Mister_s wrote: | I got it thanks, it was not the port. For some reason my router changed the internal IP for this PC, so the app was trying to connect to a non-exisiting IP. Now I need to figure out why my router was/is acting strange
I thought SABnzb+ should not store the ini in a standard location  |
Shutdown SAB and move everything from that folder into the SABnzbd.exe folder.
|
|
Back to top |
|
 |
|
Posted: Thu, 10th Feb 2011 20:22 Post subject: |
|
 |
I don't know what the problems is, it can't find shows. I placed the eps I have in the Complete folder and I direct Sickbeard to that folder, but I get an error saying there are no shows in the folder.
edit: nvm, it only accepts folders, not files. Looks hawt btw, thanks.
So I'm interetsed in a show, I don't have any eps for it yet. It's "Human Target". I've set teh first five eps to wanted, but nothing happens. My log tells me "CP Server Thread-4 :: No downloads were found". Does this mean it can't find a proper nzb?
|
|
Back to top |
|
 |
|
Posted: Thu, 10th Feb 2011 21:27 Post subject: |
|
 |
With default index providers, Sick Beard, can't do backlog searches. It can only find shows that were released within 1 day or so. It accesses RSS feeds, so as long as needed episodes are still in there, it finds and downloads them.
For backlog search, Sick Beard needs access to indexers that provide API access to do the search.
|
|
Back to top |
|
 |
|
Posted: Thu, 10th Feb 2011 21:54 Post subject: |
|
 |
|
|
Back to top |
|
 |
Werelds
Special Little Man
Posts: 15098
Location: 0100111001001100
|
Posted: Thu, 10th Feb 2011 22:55 Post subject: |
|
 |
Yeah, you need one that can do backlog searches; NZB Matrix works for most of my stuff 
|
|
Back to top |
|
 |
Page 1 of 2 |
All times are GMT + 1 Hour |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group
|
|
 |
|