Jump to content

Photo

Complete SickBeard + SABnzbd + Couchpotato + Headphones setup on Windows

windows sickbeard couchpotato headphones python install setup nzbx

  • Please log in to reply
37 replies to this topic

#1
ManicMonk3y

I was requested by some friends on how to write a full windows setup on the following programs.

  • Sickbeard
  • CouchPotato
  • HeadPhones
  • SABnzbd
If you don't know what these programs are or have no idea what this is about. Leave now.
 
This guide was written for Windows 7, if you are using a different version of Windows some things may be different.
 
First off, we need to download everything we are going to use. Don't install it, just download. With this guide, we will be running from source using Python. Running from source allows us to automatically update with Github, allowing for even more automation.
 
Download the following:
 
Python Install + Setting Environment Variables
  1. Run the Python 2.7.3 installer, install to any directory you want but for this guide we will assume you installed it to C:\Python27
  2. Open Run (Or WInKey + R) and type "sysdm.cpl"
  3. Change to the Advanced tab and click environment variables down the bottom right
  4. Under system variables, scroll down to Path and click Edit.
  5. At the end of the line, add 'C:\Python27;' or whatever path you installed Python to.
  6. For more information, click here
 
Cheetah Install
  1. Extract Cheetah 2.4.4 to C:\Python27\Lib\site-packages
  2. Open a command prompt window and browse to where you extracted cheetah. This can be done by using the following command:

cd C:\Python27\Lib\site-packages\Cheetah-2.4.4
 
Type the following into your command prompt window:

python setup.py install
 
Cheetah 2.4.4 is now installed and we are ready to start!
 
SABnzbd Install
  1. Run the SABnzbd Installer
  2. Make sure to select "Run at Startup" and give it NZB file associations if you wish
  3. Remember where you installed it to.
SickBeard Install
  1. Extract SickBeard, for this guide we will assume you extracted it to C:\SickBeard
  2. Open your favourite text editor. (I recommend Notepad++)
  3. Copy the following code into the text editor:
    start pythonw SickBeard.py
     
  4. Save the file as SickBeard.bat making sure that the file extension is changed to .bat and not .txt. (Notepad++ will sort this out for you)
  5. Run the new script you created. This will open SickBeard in the background.
  6. Close your browser.
CouchPotato Install
  1. Install PyWin32 & Git
  2. Extract CouchPotato, for this guide we will assume you extracted it to C:\CouchPotato
  3. Open your favourite text editor. (I recommend notepad++)
  4. Copy the following code into the text editor:
  5. cd C:\CouchPotato
    
    start pythonw couchpotato.py
    
  6. Save the file as CouchPotato.bat making sure that the file extension is changed to .bat and not .txt. (Notepad++ will sort this out for you)
  7. Run the new script you created. This will open CouchPotato in the background.
  8. Close your browser.
HeadPhones Install
  1. Extract HeadPhones, for this guide we will assume you extracted it to C:\HeadPhones
  2. Open your favourite text editor. (I recommend notepad++)
  3. Copy the following code into the text editor:
  4. cd C:\HeadPhones
    
    start pythonw Headphones.py
  5. Save the file as HeadPhones.bat making sure that the file extension is changed to .bat and not .txt. (Notepad++ will sort this out for you)
  6. Run the new script you created. This will open HeadPhones in the background.
  7. Close your Browser
 
Running all programs on System Startup (To skip this step, just save your .bat files in the Startup folder)
  1. Open the start menu and find the Startup folder
  2. Right click on it and select open
  3. You may already find SABnzbd in here
  4. Create new shortcuts in this folder and point them to your sickbeard.bat & headphones.bat scripts
  5. Create another new shortcut and point it to CouchPotato.exe (This is located in your CouchPotato installation folder)
 
Congratulations!
If everything went well, you now have everything installed and ready to go. Now we just need to set everything up....

  • 0

- Cory (Dextix)

 

Community Server Administrator

 

41_101.png


#2
ManicMonk3y

The configuration guide is tailored for Plex Media Server. While most of these settings should be fine, you should consult your own media server documentation. (Especially in regards to naming schemes)

During this guide we will be using C: Drive on all folder paths. Make sure to consider your storage limits on all your HDD's and change them accordingly.

Get a Usenet provider (List thanks to Reddit's /r/usenet)

Usenet providers are the services that offer the actual files for download. I am currently having good success with TweakNews but here's a list of the most popular providers:

SABnzbd Configuration



Folder Creation


Create the following folders:

  • C:\SABnzbd_temp
  • C:\SABnzbd_complete
  • C:\SABnzbd_complete\Movies
  • C:\SABnzbd_complete\Music
  • C:\SABnzbd_complete\Other
  • C:\SABnzbd_complete\TV
  • C:\TV (This is where your finished TV shows go)
  • C:\Movies (This is where your finished Movies go)
  • C:\Music (This is where your finished Music goes)

Extract your downloaded AutoProcessTV zip and place it somewhere you will remember. I will be unzipping it to C:\Sickbeard\autoProcessTV and overwriting the old one. (All we really want is the sabToSickBeard.exe which binaries do not contain)
 

Startup Wizard

  • Open the SABnzbd web interface. It should take you to the Quick Start Wizard. (If it doesn't click here, replace localhost with your servers IP if you are not running SAB on the local machine)
  • Select your language. Click Next
  • Put in the server details that you were sent by your provider. Using SSL details is recommended. Click Next.
  • Set up your desired access. Click Next.

SABnzbd will restart and present you with the home interface.
 

Folders

  • Select settings up the top left hand corner
  • Select Folders on the left hand menu
  • Set your temporary download folder to C:\SABnzbd_temp (This is where files will download to before being moved)
  • Set your completed download folder to C:\SABnzbd_complete (This is where SABnzbd will send completed downloads)
  • Set your Post-Processing Scripts Folder to C:\Sickbeard\autoProcessTV
  • Check your settings against Screenshot #1

Categories

  • Select Categories on the left hand menu
  • Fill out your categories using screenshot #2

Screenshot #1
SABnzbd_Folders.jpg

Screenshot #2
SABnzbd_Categories.jpg

SickBeard Configuration
 

General Config

  • Open SickBeard (Click here if running on localhost)
  • Hover over Config and select general from the dropdown box
  • Set a username and password on the web interface if you wish (Make sure to check AutoProcessTV at the bottom of this post if you set a username and password!)
  • Save your changes

Search Settings

  • Select Search settings up the top.
  • Enable search NZBs and ensure the method is set to SABnzbd.
  • Set your SABnzbd URL (Normally this is [url="http://localhost:8080/"%5D%5Burl="http://localhost:8080/"]http://localhost:8080/[/url][/url])
  • Put in your SABnzbd username and password if you set one.
  • Get your SABnzbd API key from here (This link goes to the SABnzbd config, found in general)
  • Set SABnzbd category to tv
  • Check your settings against Screenshot #3
  • Test the connection and save all changes.

Screenshot #3
SickBeard_SABnzbd Connect.jpg
 

Search Providers

  • Select Search Providers up the top.
  • Make sure NZBX.co is available and checked. Add any other providers if you have them (NZBX is pretty good to run alone)
  • Save any changes made

Post Processing

  • Select post Processing up the top
  • Uncheck Keep Original files, leave rename episodes checked
  • Change your naming pattern to custom and set the pattern to: (NB: This naming pattern follows the Plex naming convention, if using a different media server. Set your own convention.)
    Season %S\%SN - S%0SE%0E - %EN
  • Set multi-episode style to Duplicate
  • Check your settings against Screenshot #4
  • Save your Changes

Screenshot #4
SickBeard_naming Convention.jpg

CouchPotato Configuration
 

Startup Wizard

  • Scroll down to general, set a username and password if you want.
  • Scroll down and select SABnzbd as a download app.
  • Use the same API key you did in SickBeard and set the Category to movies
  • Scroll down and unselect ThePirateBay and KickAssTorrents
  • Scroll down and select Rename downloaded movies
  • Select to cleanup leftover files
  • set to, to C:\Movies\ (This is where your renamed movies go to)
  • Set folder naming to: (Remember, this is using the Plex naming convention)
     <namethe> (<year>)
  • Set file naming to:
     <thename> (<year>)<cd>.<ext>
  • Set from, to C:\SABnzbd_complete\Movies\
  • Scroll down and click the big green button

NZB Providers

  • Click the gear icon up the top right
  • Select Nzb Providers under Searcher
  • Select NzbX

Quality

  • Setup a quality profile. CouchPotato will search down the list looking for the qualities you select. Check screenshot #5 for my default settings.

Screenshot #5
CouchPotato_Quality.jpg

Headphones Configuration
 

Web Interface

  • Click the gear icon up the top right hand corner
  • Under the web interface tab, set up a username and password if you want
  • Save your changes and restart Headphones

Download Settings

  • Using the settings interface again, click on the download settings tab
  • Fill in your SABnzbd details as you did with SickBeard and CouchPotato. Set the category to Music
  • Set your music download directory to C:\SABnzbd_complete\Music
  • Save Changes

Search Providers

  • Click on the search providers tab from settings
  • Select NzbX
  • Save Changes

Post Processing

  • Click on the post-processing tab from settings
  • Set path to destination folder to: C:\Music
  • Ensure the following boxes are checked
  • Move Downloads to destination folder
  • Rename Files
  • Correct metadata
  • Delete leftover files
  • Embed album art in each file

Renaming Options

  • Click on the Advanced Settings tab
  • Under renaming options. Set folder format to:
    $Artist/$Album [$Year]
  • Set file format to:
    $Track $Title - $Artist - $Album

Congratulations! If everything went well, we should be all set up and ready to go. test out all the programs and make sure they are working correctly.

Extras




AutoProcessTV


When using a password on Sickbeard, you need to put your password into AutoProcessTV (Otherwise no SickBeard post-processing will occur)

  • Browse to C:\SickBeard\autoProcessTV
  • Rename autoProcessTV.cfg.sample to autoProcessTV.cfg
  • Open autoProcessTV.cfg with your favourite text editor
  • Input your username and password
  • Save the file

Control everything from your Android phone


I like to use NZB Unity on my Android. All you need to do is enable the API on SickBeard, Headphones and CouchPotato (It should already be enabled on SABnzbd) and put them into the app.

For this you will need:

  • Static EXTERNAL IP. If you don't have a static IP you can use a DynamicDNS service like No-IP.
  • Your need to port forward your programs to get in. [url="http://portforward.com"%5D%5Burl="http://portforward.com"]http://portforward.com[/url][/url] can help out here.
  • You should DEFINATELY have passwords set on all of your programs so only you can access them.

If you have an existing media collection before setting everything up.


Make sure your existing media follows your new naming convention. Instead of renaming everything manually, Filebot can really help out here. Just take it slow and do only 4-5 shows at a time.

For Plex and most XBMC media centres the following conventions work well:

TV Shows

Normal naming scheme:
C:\TV\Show Name\Season ##\Show Name - S##E## - Episode Name

Multiple Episodes in One file:
C:\TV\Show Name\Season ##\Show Name - S##E##-E## - Episode Name

Stacked Episodes
C:\TV\Show Name\Season ##\Show Name - S##E##-Pt1 - Episode Name
C:\TV\Show Name\Season ##\Show Name - S##E##-Pt2 - Episode Name

Movies

Normal naming scheme:
C:\Movies\Movie name (Year)\Movie Name (Year)

Stacked movies:
C:\Movies\Movie name (Year)\Movie Name (Year) - Pt1
C:\Movies\Movie name (Year)\Movie Name (Year) - Pt2

Music

Music is a little fiddly, but this seems to work in Plex.

Normal naming scheme
C:\Music\Band Name\Album (Year)\Track # - Song Name - Band Name - Album Name

 

Chrome extensions


SABconnect++ will hook into your existing SABnzbd install and notify you when something is downloading. It will also add a SABnzbd button on popular indexers, when pressed it will automatically grab the NZB and send it to SABnzbd (Just make sure to set the category or post processing wont happen).


CouchPotato userscript:

 

Head over to your CouchPotato settings and select automation. Download the userscript and follow this quick guide to get it installed. It will add a button to IMDB pages which will add the movie to CouchPotato to download.

 


  • 0

- Cory (Dextix)

 

Community Server Administrator

 

41_101.png


#3
TheDragonTiger

TheDragonTiger

    The Doom Bringer.

  • =OTE= Member
  • 1,047 posts
Current mood: Tired
I don't know these programs, but if you could explain I would appreciate it. Those programs sound interesting.
  • 0

tiger_dragon_by_paulobarrios-d422hqe-2.j

Signature by Vashie.

8009.png

2681900847.png
Rappelz DarkShogun Guild Leader

© Copyrights reserved by TheDragonTiger, World Domination Corp. 1991-2013.

 


#4
ManicMonk3y

Without going to far into the rabbit hole.

 

These programs automate the downloading and organisation of TV Shows, Music & Movies with UseNet.

 

If you want more info, its best to google around.


  • 0

- Cory (Dextix)

 

Community Server Administrator

 

41_101.png


#5
ManicMonk3y

Configuration guide added


  • 0

- Cory (Dextix)

 

Community Server Administrator

 

41_101.png


#6
tompappa

tompappa

    padawan

  • Registered
  • 19 posts
Current mood: Balanced

Thanks Dex


  • 0

#7
ManicMonk3y

Thanks Dex

 

Everything work okay?


  • 0

- Cory (Dextix)

 

Community Server Administrator

 

41_101.png


#8
tompappa

tompappa

    padawan

  • Registered
  • 19 posts
Current mood: Balanced

I think I am messing up with the API keys + and search settings in the Sickbeard settings.

 

"Make sure NZBX.co is available and checked. Add any other providers if you have them (NZBX is pretty good to run alone)"


  • 0

#9
ManicMonk3y

For search settings:

 

Untitled.jpg

 

Having trouble with the SABnzbd API keys? get that in the SAB general settings. Use the same API key for all 3 probgrams


  • 0

- Cory (Dextix)

 

Community Server Administrator

 

41_101.png


#10
tompappa

tompappa

    padawan

  • Registered
  • 19 posts
Current mood: Balanced

NZBX.co site URL problem


  • 0

#11
ManicMonk3y

Screenshot? Or add me on steam and I can teamviewer in. Or call me! :)


  • 0

- Cory (Dextix)

 

Community Server Administrator

 

41_101.png


#12
tompappa

tompappa

    padawan

  • Registered
  • 19 posts
Current mood: Balanced

mstsc in the morning


  • 0

#13
Pienoet

Pienoet

    Newbie

  • Registered
  • 12 posts
Current mood: None chosen
Hi,
 
Everything works just fine only the poster and banner images are not showing up with the coming episodes.
 
On the root of my installation of sickbeard c:\sickbeard i have a folder cache.
In that folder are 2 folders images and tvdb.
 
The images are in the images folder en in the tvdb folder is the metadata.
In sickbeard i did a mass update and a rescan of al my files on my harddisk but posters and banners won't show up.
 
I deleted the images folder in the cache folder and also the metadata en did a mass update and rescan again and it won't show up either.
 
I don't knwo what to do anymore pls help??
 
Thanks!

  • 0

#14
ManicMonk3y

If you try to open an image directly do you get an error? I think it's a 500 internal server error.

 

To open an image directly, right click on it then select open image in new tab.


  • 0

- Cory (Dextix)

 

Community Server Administrator

 

41_101.png


#15
Pienoet

Pienoet

    Newbie

  • Registered
  • 12 posts
Current mood: None chosen

If you try to open an image directly do you get an error? I think it's a 500 internal server error.

 

To open an image directly, right click on it then select open image in new tab.

 

it is indeed a 500 internal server error.

 

How to resolve the problem?


Edited by Pienoet, 25 March 2013 - 09:29 PM.

  • 0

#16
Pienoet

Pienoet

    Newbie

  • Registered
  • 12 posts
Current mood: None chosen

i get 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 "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 2725, in showPoster
if sickbeard.NO_RESIZE:
AttributeError: 'module' object has no attribute 'NO_RESIZE'

Powered by CherryPy 3.2.0rc1

  • 0

#17
ManicMonk3y

This issue happened during a SickBeard update from the master. YOu'll probably find you can't open your search provider settings too. The way I fixed it was to:

 

Download a copy of Sickbeard master form midgetspy: https://github.com/m...hive/master.zip

 

Shutdown SickBeard and rename you existing install (C:\Sickbeard_Backup is fine)

 

Unpack the downloaded master to C:\Sickbeard

 

Open C:\SickBeard\sickbeard\__init__.py with a text editor. notepad++ is awesome.

 

Replace:

 

from providers import ezrss, tvtorrents, btn, nzbsrus, newznab, womble

 

 With:

 

 

from providers import ezrss, tvtorrents, btn, nzbsrus, newznab, womble, nzbx

 

 

Save & close the file.

 

Open C:\SickBeard\sickbeard\providers\__init__.py with a text editor.

 

Replace:

 

__all__ = ['ezrss',
           'tvtorrents',
           'nzbsrus',
           'womble',
           'btn',
           ]

 

With:

 

__all__ = ['ezrss',
           'tvtorrents',
           'nzbsrus',
           'womble',
           'btn',
	   'nzbx',
           ]

 

Save and close the file.

 

From your backup, copy nzbx.py to your new install. (File is found in the same providers folder)

 

From your backup, copy the following files and folders to your new install:

 

  • ./cache.db
  • ./sickbeard.db
  • ./sickbeard.db.v0
  • ./sickbeard.db.v10
  • ./cache (the whole folder)

That should fix the issue for you. But by doing this you will need to reconfigure your settings. Just make sure to take down what settings you had in your old install.

 

Let me know if it doesn't work. If it works, I'll update the guide with the new install process.


  • 0

- Cory (Dextix)

 

Community Server Administrator

 

41_101.png


#18
Pienoet

Pienoet

    Newbie

  • Registered
  • 12 posts
Current mood: None chosen

This issue happened during a SickBeard update from the master. YOu'll probably find you can't open your search provider settings too. The way I fixed it was to:

 

Download a copy of Sickbeard master form midgetspy: https://github.com/m...hive/master.zip

 

Shutdown SickBeard and rename you existing install (C:\Sickbeard_Backup is fine)

 

Unpack the downloaded master to C:\Sickbeard

 

Open C:\SickBeard\sickbeard\__init__.py with a text editor. notepad++ is awesome.

 

Replace:

 

from providers import ezrss, tvtorrents, btn, nzbsrus, newznab, womble

 

 With:

 

 

from providers import ezrss, tvtorrents, btn, nzbsrus, newznab, womble, nzbx

 

 

Save & close the file.

 

Open C:\SickBeard\sickbeard\providers\__init__.py with a text editor.

 

Replace:

 

__all__ = ['ezrss',
           'tvtorrents',
           'nzbsrus',
           'womble',
           'btn',
           ]

 

With:

 

__all__ = ['ezrss',
           'tvtorrents',
           'nzbsrus',
           'womble',
           'btn',
	   'nzbx',
           ]

 

Save and close the file.

 

From your backup, copy nzbx.py to your new install. (File is found in the same providers folder)

 

From your backup, copy the following files and folders to your new install:

 

  • ./cache.db

  • ./sickbeard.db

  • ./sickbeard.db.v0

  • ./sickbeard.db.v10

  • ./cache (the whole folder)

That should fix the issue for you. But by doing this you will need to reconfigure your settings. Just make sure to take down what settings you had in your old install.

 

Let me know if it doesn't work. If it works, I'll update the guide with the new install process.

Ok thanks i wil try i let you know.


  • 0

#19
ManicMonk3y

If you havent already started. Pull down the SickBeard development branch instead of the master. It already has nzbx support so you don't need to make file edits.

 

https://github.com/m...development.zip

 

If you grab the development branch you just need to restore your database files, configure settings and away you go.

 

I'm testing the development branch at the moment. But do NOT update, it will remove nzbx and take you back to master


  • 0

- Cory (Dextix)

 

Community Server Administrator

 

41_101.png


#20
Pienoet

Pienoet

    Newbie

  • Registered
  • 12 posts
Current mood: None chosen

Thanks everything works fine now!

 

One question how can i update sickbeard in the future with the update popup in sickbeard or via github?

Cause i don't know how github works.

 

Thanks!


  • 0





Also tagged with one or more of these keywords: windows, sickbeard, couchpotato, headphones, python, install, setup, nzbx

2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users