Setup your own Mediaserver using Sickbeard, Couchpotato, Transmission and PlexMediaServer

In this tutorial we will explain how to setup a Debian/Ubuntu server as a mediaserver that automagically downloads the series and movies you like for free.

This tutorial will show you how to setup the following programs:

  • Transmission (Torrent client)
  • Sickbeard (PVR for series)
  • Couchpotato (PVR for movies)
  • Plexmediaserver

Install & Setup Transmission

To download the series and movies we want, we will be using transmission. Transmission is the default torrent client for Ubuntu and Debian.

After the installation create the directory where you want to put all your downloaded files. As preparation for the remainder of this tutorial we will make several folders in your home directory:

The first folder you created will be for the general downloads that you may add through the web interface of Transmission.

Now we will change the settings for Transmission, but therefor we first will have to stop transmission:

Edit the configuration file for transmission:

The most important items to change in this configuration file are the following:

Save the changes and then reload the service:

Go to the transmission web interface.

http://localhost:9091

Or just replace localhost with the IP address of the computer in the network.

That’s the first part. Now we can go on to the next part:

Install Sickbeard

It is recommended to use sickbeard from source and use GIT as the updater so first install the essentials:

To install sickbeard move to your home directory and clone a copy from the git-repository:

If all went okay your hidden sickbeard folder will be filled with a copy of the repository.

Get in the folder and copy the init.ubuntu script:

This was the first part of the installation. Now you also have to tell sickbeard under which user it should run and where its folders are stored. Therefor we make a new document:

In this new file type the following:

SB_USER=YOURUSERNAME
SB_HOME=/home/YOURUSERNAME/.sickbeard
SB_DATA=/home/YOURUSERNAME/.sickbeard

Close the file and save it.

Now we have to make this file executable as well and let the server know that it has to start sickbeard at every reboot:

Now sickbeard can be started, stopped and restarted with the following commands. For now just only use the start one:

Now point your browser to http://localhost:8081 or just replace localhost with the IP address of the computer in the network.

Configure Sickbeard

Now sickbeard is installed it is time to configure it. Point your browser to http://localhost:8081 or just replace localhost with the IP address of the computer in the network.

Select the small gear on the top-right and we will start configuring sickbeard.

Screen Shot 2014-04-27 at 18.01.03

 

On the General tab enter your username and password so that access to your sickbeard installation is somewhat protected.

Screen Shot 2014-04-27 at 18.02.14

 

On the Search Settings tab we will have to tell sickbeard which searcher to use. In our case that will be torrents using transmission.

Screen Shot 2014-04-27 at 18.03.30

Here we enter all the information that we used while configuring Transmission. Set the ‘Transmission Directory’ browse to ‘home/YOURUSERNAME/Series/Downloads’.

On the next tab Search Providers select the ones you want to use.

On the tab Post Processing tab set the ‘TV Download DIr’ to ‘home/YOURUSERNAME/Series/Downloads’ again. Disable the ‘Rename’ check and enable the ‘Move associated files’ and ‘Scan and Process’ buttons.

In my opinion the ‘Process Episode Method’ should be set to ‘Hard Link’. The reason behind this is that it takes less space than the ‘Copy’, it won’t cripple your uploading by ‘Move’ and nothing damaging happens when you accidentally remove the torrents from Transmission (which will happen when you use ‘Symlink’.

Screen Shot 2014-04-27 at 18.06.28

 

Now that sickbeard is all configured, it is time to add your first show. Hover over ‘Show List’ and than click the ‘Add Shows’ button.

Screen Shot 2014-04-28 at 13.24.17

 

Click ‘Add New Show’ and search for a show you want. Sickbeard should automatically search the correct name from TVDB or from TVRAGE. Instead of clicking the ‘Add Show’ button, click on the ‘Next’ button. On this page you can set the default folder where in the end all shows should go. If you have followed this complete tutorial this default folder should be ‘/home/YOURUSERNAME/Series/MediaServer’.
Click the ‘Next’ button again and there are some additional options which I personally like to set as follows:

Screen Shot 2014-04-28 at 13.25.50

 

Now finally click the ‘Add Show’ button on the bottom and congratulations, you have just added your first show to sickbeard.

Now we can go on to couchpotato.

Install Couchpotato

To install couchpotato move to your home directory and clone a copy from the git-repository:

If all went okay your hidden couchpotato folder will be filled with a copy of the repository.

Get in the folder and copy the ubuntu script:

This was the first part of the installation. Now you also have to tell couchpotato under which user it should run and where its folders are stored. Therefor we first edit and then copy the file ubuntu.default from the same folder to /etc/default

Edit the username to YOURUSERNAME and change the folder to /home/YOURUSERNAME/.couchpotato

Close the file and save it. Now we can copy it:

Now we have to make this file executable as well and let the server know that it has to start sickbeard at every reboot:

Now sickbeard can be started, stopped and restarted with the following commands. For now just only use the start one:

Now point your browser to http://localhost:5050 or just replace localhost with the IP address of the computer in the network.

Configure Couchpotato

You’ll be welcomed with a nice wizard which will guide you through all the necessary settings.

Screen Shot 2014-04-28 at 15.01.53Screen Shot 2014-04-28 at 15.02.02Screen Shot 2014-04-28 at 15.02.13Screen Shot 2014-04-28 at 15.02.24Screen Shot 2014-04-28 at 15.02.31At the ‘Renamer’ part of the wizard please pay attention to the following items:

  • From folder = /home/YOURUSERNAME/Movies/Downloads
  • To folder = /home/YOURUSERNAME/Movies/MediaServer
  • File-naming = original.ext (without the .ext your server will not know what to do with it)
  • Torrent File Action = Link (as explained in the sickbeard configuration

Screen Shot 2014-04-28 at 15.02.45

Hit the Big and Green button and that’s it. Now you’ve also installed and configured couchpotato. You can now add a movie by pressing the search-button on the top of the screen.

The last part of this quite long post will be installing and configuring PlexMediaServer, so here we go.

Install PlexMediaServer

If you follow the following commands from terminal you should be all setup in no-time:

sudo nano /etc/apt/sources.list

Copy and paste the following at the end of the file and then save it:

deb http://plex.r.worldssl.net/PlexMediaServer/ubuntu-repo lucid main

Save the file and close it. Issue the following commands:

Now point your browser to http://localhost:32400/web or just replace localhost with the IP address of the computer in the network.

You will be greeted with another wizard. Just follow the wizard and you’re done.

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">