SickBeard + CouchPotato + Deluge + Plex

Installation –   SickBeard  +CouchPotato  + Deluge

I am using Openmediavault as my base OS. Its a Debian derivatives OS so all debian apps and command work in it. As for couchpotato and sickbeard (tpb version), these two are the best rss reader out there for automatic download and process the tv shows and movies.

Sickbeard
Image 1.1 – SickBeard
CouchPotato
Image 1.2 – CouchPotato
– [ Start PreparatioN ] –

Before going any further, I would suggest you guys to install deluge or your preferred torrent client first and then you can go ahead and install these application.

Both of these application are dependent to python so check if you have python installed or not

python -V

If its not, install python

apt-get install python python-twisted python-twisted-web python-openssl python-simplejson python-setuptools intltool python-xdg python-chardet geoip-database python-notify python-pygame python-glade2 librsvg2-common xdg-utils python-mako

First, we need to install git as both of these application are hosted there.

apt-get install git-core

Next, install Cheetah, Sickbeard utilise it (optional but recommanded).

apt-get install python-cheetah
– [ Start SickBeard ] –

To install Sickbeard

git clone git://github.com/SickRage/SickRage my-sickbeard-install
cd my-sickbeard-install

Start SickBeard

python SickBeard.py

Now go to clients browser and put your server ip and port number

ServerIP:8081

Goto setting >> help & info, keep note of SB Config Files

NoticeNote: I am using root to install sickbeard but you can use any other user with administrative right.

To make SickBeard start at boot, go back to [user]/my-sickbeard-install, in my case

cd /root/my-sickbeard-install
mv init.ubuntu /etc/init.d/sickbeard

Now we need to create sickbeard file in /etc/default

nano /etc/default/sickbeard

Mine looks like this, change yours accordingly, both path and user (red color: its double dash – – without space)

SB_USER=root
SB_HOME=/root/my-sickbeard-install/
SB_DATA=/root/my-sickbeard-install/
SB_OPTS=config=/root/my-sickbeard-install/config.ini

Now add sickbeard to start up

update-rc.d sickbeard defaults

Start the sickbeard

/etc/init.d/sickbeard start
update[UPDATE:] Sickbeard tpb version is no longer supported by developer so I have updated with new sickbead fork. This should work but has some bugs 😦
– [ Configure SickBeard ] –
– [ Web Interface ] –

Lock Web Interface and change port number if you are planning to port forward it

Setting >> General >> Web Interface

Encrypt Passwords

Setting >> General >> Advanced Setting >> Encrypt Passwords

Now goto Search Option and enter torrent clients detail

NoticeNote: if you have followed my deluge tutorial and have label plugin, you can assign that in here. Sickbeard can apply label to download torrent and deluge can deal with label settings. First setup deluge label with all settings then just provide label name in sickbeard. Don’t need to put deluge directory or torrent ratio as you can put that in deluge label.
Setting >> Search Options >> Torrent Search
– [ Search Provider ] –
Setting >> Search Provider

You can select as many provider as you like and also drag and drop to priorities the provider in order.

– [ Post Processing ] –

With post processing, sickbeard can do lot of things like move downloaded files to approperied TV Series folders, rename it, Unpack RAR archive, as well as download metadata [Fanart, Season Thumbnail etc]

Settings >> Post Processing
– [ My Sickbeard Setup ] –

There are few things I have done in Sickbeard and might come handy to you guys too..

1. Sickbeard Snatch torrent files {Image 1.4} and sends to deluge and apply label “tvshow.en” {image 1.3}
2. After deluge complete download, it moves that to completed folder and keeps seeding {image 1.4}
SickBeard_Setting
Image 1.3 – Deluge Settings
deluge_setting2
Image 1.4 – Label Setting
3. Sickbeard scans the completed folder of deluge {image 1.5} and hard links files {if you move, deluge will stop seeding : not recommended!! 😉 } to their folders {Eg. /TVShows/Spicy City/}
4. Process filename  {image 1.6; Eg. /TVShows/Spicy City/Spicy City.S01E01 – Love is a Download; plex can easily  recognised this filename}
SickBeard_Setting3
Image 1.5 – Post-Processing
SickBeard_Setting4
Image 1.6 – Custom FileName (Fix for plex)
5. Downloads metadata {image 1.7; plex will use the downloaded image, but this one is optional as plex can download it automatic }
6. Send notification to plex to scan library, and plex client {image 1.8}
SickBeard_Setting6
Image 1.7 – Download ArtWork
SickBeard_Setting5
Image 1.8 – Send Library Scan Command

infoUpdate: To enable Unpack (see image 1.5), you should install unrar first.

echo “deb http://ftp.uk.debian.org/debian/ squeeze-updates main non-free” >> /etc/apt/sources.list
echo “deb-src http://ftp.uk.debian.org/debian/ squeeze-updates main non-free”>> /etc/apt/sources.list
apt-get update & apt-get install unrar
– [ END Configure SickBeard ] –
– [ End SickBeard ] –
– [ Start Couchpotato ] –

Installation of CouchPotato is similar to Sickbeard.

Download CouchPotato from git

 git clone git://github.com/RuudBurger/CouchPotatoServer.git couchpotato

Goto couchpotato folder

cd couchpotato

Start couchpotato

python CouchPotato.py

Now goto your browser and enter

your server id:5050

Finish the set wizard, just setup the login deal for now and scroll at the bottom and finish.

To start CouchPotato at boot; go to couchpotato folder

cd /root/couchpotato
mv /init/ubuntu /etc/init.d/couchpotato

Now create couchpotato default file

nano /etc/default/couchpotato

Mine looks like this

CP_HOME=/root/couchpotato
CP_DATA=/root/couchpotato
CP_USER=root

Add it to startup

update-rc.d couchpotato defaults

Start couchpotato

/etc/init.d/couchpotato start
/etc/init.d/sickbeard start
– [ Configure Couchpotato ] –
– [My Configuration] –
1. Select the desire Torrent Providers {see image 2.1}
2. Deluge option in CouchPotato didn’t work for me as it tries to run deluge demons but there is already one running so I am using black hole {drops snatch torrent in here, deluge with autoadd plugins will add / apply different attributes}
CouchPotato_Config1
Image 2.1 – Searcher
CouchPotato_Config2
Image 2.2 – Downloader
3. CouchPotato can automatic download any movies that in queue in various website {image 2.3}
4. Sends notifications to plex server and clients
CouchPotato_Config3
Image 2.3 – Automation
CouchPotato_Config4
Image 2.4 – Notification
– [ END Configure CouchPotato ] –
– [ End CouchPotato ] –
Advertisements

26 thoughts on “SickBeard + CouchPotato + Deluge + Plex

  1. Can you show how to run a script using execute plugin in deluge?
    I was not able to do this.

    Also I know that sickbeard can handle rar files, opening them automatically. but I was not able to get it working with OMV, can you help here too? Show how to do this?

  2. hi firstly thanks for the post i am very new to open media vault. I installed sickbeard via plug ins in the web gui, i have a problem on CouchPotato.
    I was able to install it and configure it but every time I try “To start CouchPotato at boot;” — input cd /root/couchpotato — command i get this error — mv: cannot stat `/init/ubuntu’: No such file or directory —

    cheers

    • did you follow my way (clone CouchPotato from git? ) anyway I think your missing files.

      go to
      nano /etc/default/couchpotato

      and make sure its look like this

      CP_HOME=/root/couchpotato
      CP_DATA=/root/couchpotato
      CP_USER=root
      CP_OPTS=–config=/root/couchpotato/settings.conf

      then
      download this

      https://www.dropbox.com/s/3isj3bcn2plgtll/couchpotato
      and remove txt extension and mv it >>
      /etc/init.d/

      and do this to start couchpotato at boot
      update-rc.d couchpotato defaults

      now start couchpotato
      /etc/init.d/couchpotato start

  3. hum i guess I have a problem, my nano /etc/default/couchpotato looks like this
    CP_HOME=/root/CouchPotatoServer
    CP_DATA=/root/CouchPotatoServer
    CP_USER=root
    update-rc.d couchpotato defaults
    /etc/init.d/couchpotato start
    exit

    i didn’t understand this
    and remove txt extension and mv it >>
    /etc/init.d/

    best regards

    • when you download that file from dropbox, dropbox usually add txt extension to the file..so either you remove extension and transfer it or you can just open that file with text editor, copy it and do

      nano /etc/init.d/couchpotato
      paste it and save it

      then do
      /etc/init.d/couchpotato start

      • well thanks for your quick reply now i get

        -bash: /etc/init.d/couchpotato: Permission denied

    • Well my problem is the following

      I follow your tutorial and

      git clone git://github.com/RuudBurger/CouchPotatoServer.git couchpotato (ok downloads) cd couchpotato (folder ok) ython CouchPotato.py (app starts) your server id:5050 (acess web gui ok)

      The problem is from now on it doest allow me to input any other command

      cd /root/couchpotato (ok) mv /init/ubuntu /etc/init.d/couchpotato (mv: cannot stat `/init/ubuntu’: No such file or directory)

      couchpotato default file

      CP_HOME=/root/couchpotato CP_DATA=/root/couchpotato CP_USER=root CP_OPTS=-config=/root/couchpotato/settings.conf

      update-rc.d couchpotato defaults (error)

      *Use “fg” to return to nano.[1]+ Stopped nano /etc/default/couchpotatoroot@kipoo:~/couchpotato# nano /etc/default/couchpotatoroot@kipoo:~/couchpotato# update-rc.d couchpotato defaultsupdate-rc.d: using dependency based boot sequencinginsserv: warning: script ‘couchpotato’ missing LSB tags and overridesinsserv: There is a loop between service openmediavault-beep and couchpotato if stoppedinsserv: loop involving service couchpotato at depth 2insserv: loop involving service openmediavault-beep at depth 1insserv: Stopping couchpotato depends on openmediavault-beep and therefore on system facility `$all’ which can not be true!insserv: exiting now without changing boot order!update-rc.d: error: insserv rejected the script headerroot@kipoo:~/couchpotato# update-rc.d couchpotato defaultsupdate-rc.d: using dependency based boot sequencinginsserv: warning: script ‘couchpotato’ missing LSB tags and overridesinsserv: There is a loop between service openmediavault-beep and couchpotato if stoppedinsserv: loop involving service couchpotato at depth 2insserv: loop involving service openmediavault-beep at depth 1insserv: Stopping couchpotato depends on openmediavault-beep and therefore on sy stem facility `$all’ which can not be true!insserv: exiting now without changing boot order!update-rc.d: error: insserv rejected the script header*

      /etc/init.d/couchpotato start – nothing happens no web gui

      Drop Box command

      I past it and putty shuts down

      I used it in -nano /etc/default/couchpotato

      /etc/init.d/couchpotato: 13: Syntax error: word unexpected

      Any ideas?

      Best regards

      Cumprimentos

      Joo Carlos Sousa

      2014-03-11 20:33 GMT+00:00 Linux+ :

      > goWpress commented: “do chmod 775 /etc/init.d/couchpotato and try > again /etc/init.d/couchpotato start” >

      • can you paste all of this properly (with proper space and enter) in pastebin.com and post link here cause I can’t make head or tail of it.

  4. Hi! I installed this setup without problem, but now it seams like the sickbeard’s github repository is gone. Sickbeard started running slow and having trouble adding new shows and now there is no repository. Was this the original repository for sickbeard or a fork of someone else. If so, can I do the same thing with the original repo?

    • This is not original sickbeard repo as original sickbeard does not support torrent sites. This is a fork version of original but original for torrent version. That is why its called sickbeard alpha tpb version.

      PS. my sickbeard is working just fine so I suggest you try again?

      • I know it work just fine but I don’t understand why repo was deleted. Its an free & open source software I don’t know if Mr_orange got any pressure from these fking coorporates mann.. I try to contact Mr_orange in git but there is no msging system? or I don’t about it.

    • This seems to work better than the one you posted before. The another one kept getting invalid torrent files.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s