Difference between revisions of "Sick Beard"

From Hack Sphere Labs Wiki
Jump to: navigation, search
(sabnzbdplus autoProcessTV.py/sabToSickBeard.py)
 
(7 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
  cd sickbeard
 
  cd sickbeard
 
  git clone git://github.com/midgetspy/Sick-Beard.git my-sickbeard-install
 
  git clone git://github.com/midgetspy/Sick-Beard.git my-sickbeard-install
Create a systemd service file (adjust below...)
+
Create a systemd service file (adjust below...)<ref>http://sickbeard.com/forums/viewtopic.php?f=6&t=2415</ref>
 
  nano /lib/systemd/system/sickbeard.service
 
  nano /lib/systemd/system/sickbeard.service
 
File:
 
File:
Line 34: Line 34:
 
WantedBy=multi-user.target
 
WantedBy=multi-user.target
 
</pre>
 
</pre>
 +
 +
==sabnzbdplus autoProcessTV.py/sabToSickBeard.py==
 +
You configure sickbeard to pass nzbs through the api but then you have to do the post processing thing.
 +
mkdir ~/.sabnzbd/scripts
 +
cd autoprocessTV/
 +
nano autoProcessTV.cfg.sample
 +
mv autoProcessTV.cfg.sample autoProcessTV.cfg
 +
cp autoProcessTV.* ~/.sabnzbd/scripts/
 +
cp sabToSickBeard.py ~/.sabnzbd/scripts/
 +
Through the web interface:
 +
/config/folders/
 +
add your scripts post processing folder...
 +
/home/username/.sabnzbd/scripts
 +
I restarted sabnzbdplus but now knows but now again Through the web interface:
 +
/config/categories/
 +
*add a tv catagory
 +
*Script:  sabToSickBeard.py
 +
*processing +Delete (but sickbeard can do this to?  that is after processing delete original data....)
 +
*I add TV to the path so it does not mix in with the rest of the downloads
 +
Click Add to save
 +
 +
Configuration:  http://sickbeard.com/config.html
 +
 +
The Config->Post-Processing, the the Post-Processing SECTION does effect the end result of the download even with just the script.  Except scan and process and TV download dir.
 +
 +
Something to think about:
 +
 +
I like to keep sub files, for releases that have the added language like Game of Thrones and they are speaking whatever made up language that they made for the show, this will help. I use %RN/%RN in the rename though and set it to move all srt/sfv etc with it (Move associated Files).

Latest revision as of 17:29, 29 August 2015

debian jessie

sudo apt-get install python-cheetah
mkdir ~/sickbeard
cd sickbeard
git clone git://github.com/midgetspy/Sick-Beard.git my-sickbeard-install

Create a systemd service file (adjust below...)[1]

nano /lib/systemd/system/sickbeard.service

File:

# Sickbeard systemd service unit file
#
# Configuration Notes
#
#    - Option names (e.g. ExecStart=, Type=) appear to be case-sensitive)
#
#    - Adjust ExecStart= to point to your python and Sickbeard executables.
#
#    - Adjust User= and Group= to the user/group you want Sickbeard to run as.
#
#    - WantedBy= specifies which target (i.e. runlevel) to start Sickbeard for.
#        multi-user.target equates to runlevel 3 (multi-user text mode)
#        graphical.target  equates to runlevel 5 (multi-user X11 graphical mode)

[Unit]
Description=Internet PVR for your TV Shows

[Service]
ExecStart=/usr/bin/python /home/sabnzbd/sickbeard/SickBeard.py
Type=simple
User=sabnzbd
Group=sabnzbd

[Install]
WantedBy=multi-user.target

sabnzbdplus autoProcessTV.py/sabToSickBeard.py

You configure sickbeard to pass nzbs through the api but then you have to do the post processing thing.

mkdir ~/.sabnzbd/scripts
cd autoprocessTV/
nano autoProcessTV.cfg.sample
mv autoProcessTV.cfg.sample autoProcessTV.cfg
cp autoProcessTV.* ~/.sabnzbd/scripts/
cp sabToSickBeard.py ~/.sabnzbd/scripts/

Through the web interface:

/config/folders/

add your scripts post processing folder...

/home/username/.sabnzbd/scripts

I restarted sabnzbdplus but now knows but now again Through the web interface:

/config/categories/
  • add a tv catagory
  • Script: sabToSickBeard.py
  • processing +Delete (but sickbeard can do this to? that is after processing delete original data....)
  • I add TV to the path so it does not mix in with the rest of the downloads

Click Add to save

Configuration: http://sickbeard.com/config.html

The Config->Post-Processing, the the Post-Processing SECTION does effect the end result of the download even with just the script. Except scan and process and TV download dir.

Something to think about:

I like to keep sub files, for releases that have the added language like Game of Thrones and they are speaking whatever made up language that they made for the show, this will help. I use %RN/%RN in the rename though and set it to move all srt/sfv etc with it (Move associated Files).
  1. http://sickbeard.com/forums/viewtopic.php?f=6&t=2415