# HowTo install Sick Beard on Synology ################################# # # Sick Beard: http://code.google.com/p/sickbeard/ # PVR & episode guide that downloads and manages all your TV shows # # http://forum.synology.com/enu/viewtopic.php?f=45&t=27170 # # Author: J. van Emden (Brickman) # Latest version: http://synology.brickman.nl # # Version: # 2012-07-18: # - Forgot to make sabToSickBeard files executable # # 2012-03-07: # - Start scripts moved to /usr/local/etc/rc.d/ instead of /opt/etc/init.d/ # # 2012-02-18: # - Post processing section added # # 2011-12-02: # - Download added of the configuration file # # 2011-11-24: # - Configuration and data files directory added # # 2011-07-10: # - Add full path on manual Sick Beard start # # 2011-07-03: # - Create daemon file for start up. Not depending on a SABnzbd package # # 2011-07-02: # - Typo fix Sickbeard.sh instead of SickBeard.sh # 2011-06-19: # - Changed SABnzbd package to Zebulon # # 2011-01-02: # - Add information about bootstrap # # 2010-11-19: # - Add nano installation or use vi for editing # # 2010-11-16: # - Initial release # # # SABnzbd+: http://synoblog.superzebulon.org/category/sab/ # ################################# #################################################################################################################################### #################################################################################################################################### ## ## ## This installation requires a bootstrapped Synology, more info can be found on: ## ## http://forum.synology.com/wiki/index.php/Overview_on_modifying_the_Synology_Server,_bootstrap,_ipkg_etc#How_to_install_ipkg ## ## ## #################################################################################################################################### #################################################################################################################################### # Connect to your Synology DiskStation using SSH, and login as root (password is the same as admin!) # Install the following if needed ipkg update # Download the latest package list ipkg upgrade # Upgrade installed packages to the latest version ipkg install git # Install git if it is not on your system ipkg install textutils # Needed to use git pull to update from the source ipkg install python26 # Install Python 2.6 if it is not on your system ipkg install py26-cheetah # Install Cheetah - The Python-Powered Template Engine ipkg install nano # Install Nano text editor or use vi # Installation in the appstore directory cd /volume1/@appstore # Your applications dir # Get a clone of the source into /volume1/@appstore/sickbeard git clone git://github.com/midgetspy/Sick-Beard.git /volume1/@appstore/sickbeard # Add Sick Beard to the startup scripts wget -O /usr/local/etc/rc.d/S99sickbeard.sh http://dl.dropbox.com/u/5653370/syn_files/sickbeard/S99sickbeard.sh && chmod a+x /usr/local/etc/rc.d/S99sickbeard.sh # Create a user called "sickbeard" in the DSM ( Control Panel -> User -> Create User ) # In order to use sickbeard's post-processing scripts for sabnzbd # if you want to use the ipkg package ln -s /opt/bin/python2.6 /usr/bin/python # or if you want to use the python package of Zebulon ln -s /usr/local/python26/bin/python /usr/bin/python # Change the user attributes chown -R sickbeard:users /volume1/@appstore/sickbeard # Create directory for the configuration and data files mkdir /volume1/@appstore/.sickbeard # Retrieve configuration file wget -O /volume1/@appstore/.sickbeard/config.ini http://dl.dropbox.com/u/5653370/syn_files/sickbeard/config.ini # Set the correct owner chown -R sickbeard:users /volume1/@appstore/.sickbeard # Start the Sick Beard daemon /usr/local/etc/rc.d/S99sickbeard.sh start # Go to :8081 for the webinterface, edit the config. # Add under General config: - "Initial quality" to the wanted quality # Add under Episode download option: - change "NZB action" to "SABnzbd" and fill in further ##################################################################### ## Post processing ## ## to move the files to the correct directory and find subtitles ## ##################################################################### # Create a script dir mkdir -p /volume1/@appstore/scripts/sab # Download the required scripts wget wget -O /volume1/@appstore/scripts/sab/sabPostTV.sh http://dl.dropbox.com/u/5653370/syn_files/sickbeard/sabPostTV.sh && chown -R sabnzbd:users /volume1/@appstore/scripts/sab/ wget wget -O /volume1/@appstore/scripts/sab/subli_findTV_sick.sh http://dl.dropbox.com/u/5653370/syn_files/subliminal/subli_findTV_sick.sh && chown -R sabnzbd:users /volume1/@appstore/scripts/sab/ # Copy the sabToSickBeard files cp /volume1/@appstore/sickbeard/autoProcessTV/autoProcessTV.cfg.sample /volume1/@appstore/scripts/sab/autoProcessTV.cfg cp /volume1/@appstore/sickbeard/autoProcessTV/autoProcessTV.py /volume1/@appstore/scripts/sab/autoProcessTV.py cp /volume1/@appstore/sickbeard/autoProcessTV/sabToSickBeard.py /volume1/@appstore/scripts/sab/sabToSickBeard.py chown -R sabnzbd:users /volume1/@appstore/scripts/sab/ chmod +x /volume1/@appstore/scripts/sab/autoProcessTV.py /volume1/@appstore/scripts/sab/sabToSickBeard.py # Go to the sabNZBd interface to set the script to search for a subtitle after a TV episode is downloaded. # The post processing script folder can be set in "Config -> Folders", where the "Post-Processing Scripts Folder" is "/volume1/@appstore/scripts/sab" # When this is done, one can select a post processing script for a category. Go to "Categories" and select "sabPostTV.sh" under scripts for the appropriate category