SickChill

Automatic Video Library Manager for TV Shows. It watches for new episodes of your favorite shows, and when they are posted it does its magic. Development hosted on GitHub.

Installation

SickChill

  1. Download SickChill.

     git clone git://github.com/SickChill/SickChill.git ~/sickchill
    
  2. Start SickChill in daemon mode to create the initial configuration files.

     python ~/sickchill/SickBeard.py -d
    
  3. Kill the SickBeard process.

     pkill -f SickBeard.py
    
  4. Edit the configuration file to set a port and download location. Port 46651 has been automatically generated for you, but you may use another 5 digit port between 10000 and 65535.

     nano ~/sickchill/config.ini
    

    Change the line that reads root_dirs = "" to root_dirs = "0|/home/user/files".
    Change the "web_port" option to 46651 or your chosen port. Set a username and password for the web interface by editing web_username = "user" and web_password = "your password here"

  5. Change Your Bash Timezone. If you haven't set your Bash Timezone, your logs and television schedule will be incorrect.

  6. Restart Sickbeard

     python ~/sickchill/SickBeard.py -d
    

Automatically Restart

Below are steps to take to have your SickChill instance automatically restart if it crashes, or if the server is rebooted.

  1. Make a file to be used for the script. touch ~/sickchill_restart.cron

  2. Edit the file and enter the text below. nano -w ~/sickchill_restart.cron

    #!/bin/bash
    if pgrep -fx "/usr/lib/python-exec/python2.7/python /home/user/sickchill/SickBeard.py -d" > /dev/null
    then
        echo "SickChill is running."
    else 
        echo "SickChill is not running, starting SickChill"
         python ~/sickchill/SickBeard.py -d
    fi
    exit
    
  3. Save the file with Ctrl+x, y and Enter to accept overwriting.

  4. Make the script executable. chmod +x ~/sickchill_restart.cron

  5. Open your crontab. EDITOR=nano crontab -e

  6. Enter the following text at the end of the file.

    @reboot /home/user/sickchill_restart.cron >/dev/null 2>&1
    */5 * * * * /home/user/sickchill_restart.cron >/dev/null 2>&1
    
  7. Save the crontab with Ctrl+x, y and Enter to accept overwriting.

Usage

  • Open your browser and navigate to http://server.whatbox.ca:46651 to access the SickChill web interface.