Vero is OSMC's new flagship device. Find out more here.

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SABnzbd/Sickbeard/Couch Potato Install?
05-16-2012, 01:30 AM (This post was last modified: 05-16-2012 01:38 AM by Denny.)
Post: #1
SABnzbd/Sickbeard/Couch Potato Install?
I have a 1st gen aTV (160G) that I have installed Crystalbuntu & XMBC on the internal HD, thanks to Sam's great tool.

My intent is to use the internal HD to download TV show episodes with Sickbeard and movies with Couch Potato. I tried following tinybilbo's instructions for SABbznd installation in the xbmc forum (here) and just managed to brick my aTV. I restored it with a new installation of crystalbuntu.

So, I want to take it slow on my next try to install SABnzbd.
  • Do I get the SABnzbd file from here?
  • Is SABnzbd-0.6.15-src.tar.gz the proper file for installation on an aTV running crystalbuntu on the HD?
  • Where do I place it on the aTV HD?

Crystalbuntu 2.0/XBMC "Frodo" 12.2
Sony Bravia 32" LED TV
Raspberry Pi Model B
WD My Passport 500 GB external HD
Controlled by a Logitech wireless keyboard and/or Yatse app on a Samsung Galaxy Tab 2 7.0
Find all posts by this user
Quote this message in a reply
05-16-2012, 06:28 AM (This post was last modified: 05-16-2012 06:28 AM by jaymax.)
Post: #2
RE: SABnzbd/Sickbeard/Couch Potato Install?
Go HERE and follow the steps.
Find all posts by this user
Quote this message in a reply
05-16-2012, 11:20 AM (This post was last modified: 05-16-2012 11:31 AM by Denny.)
Post: #3
RE: SABnzbd/Sickbeard/Couch Potato Install?
OK, did that.

At least, up to here -

Quote:If you want the program to be started as a service (i.e., in the background on system boot), you will need to edit /etc/default/sabnzbdplus and set the host to 0.0.0.0 and the port and user to the appropriate settings. Once configured correctly, you will be able to start and stop SABnzbd with the commands /etc/init.d/sabnzbdplus start and /etc/init.d/sabnzbdplus stop. Although for obvious reasons no browser is auto-started when running the program like this, the web interface is still available at the usual location of http://localhost:8080/sabnzbd/ (or whatever other host and port you configured).

I think this is where I messed up and bricked my aTV the first time, when I tried to edit /etc/default/sabnzbdplus. What are the proper settings for host, port, and user?

Crystalbuntu 2.0/XBMC "Frodo" 12.2
Sony Bravia 32" LED TV
Raspberry Pi Model B
WD My Passport 500 GB external HD
Controlled by a Logitech wireless keyboard and/or Yatse app on a Samsung Galaxy Tab 2 7.0
Find all posts by this user
Quote this message in a reply
05-16-2012, 06:36 PM (This post was last modified: 09-04-2012 02:27 AM by jaymax.)
Post: #4
RE: SABnzbd/Sickbeard/Couch Potato Install?
Use either vim or nano to edit the config file. Google how to use them if you're not familiar.
Code:
sudo vim /etc/default/sabnzbdplus

This is what mine looks like:
Code:
# This file is sourced by /etc/init.d/sabnzbdplus
#
# When SABnzbd+ is started using the init script, the
# --daemon option is always used, and the program is
# started under the account of $USER, as set below.
#
# Each setting is marked either "required" or "optional";
# leaving any required setting unconfigured will cause
# the service to not start.

# [required] user or uid of account to run the program as:
USER=atv

# [optional] full path to the configuration file of your choice;
#            otherwise, the default location (in $USER's home
#            directory) is used:
CONFIG=

# [optional] hostname/ip and port number to listen on:
HOST=0.0.0.0
PORT=8080

# [optional] extra command line options, if any:
EXTRAOPTS=
Just make sure you set user as atv and host as 0.0.0.0 and port as whatever.

Now start up SABnzbd+
Code:
sudo /etc/init.d/sabnzbdplus start
Then on your computer go to http://[ip of atv]:8080
and you should have the start wizard.

I'll start getting a guide going on setting up CP and SB.

EDIT: Had the post backwards. Fixed for others
Find all posts by this user
Quote this message in a reply
05-16-2012, 07:01 PM
Post: #5
RE: SABnzbd/Sickbeard/Couch Potato Install?
Can I use WinSCP to edit the file instead if vim or nano?

Crystalbuntu 2.0/XBMC "Frodo" 12.2
Sony Bravia 32" LED TV
Raspberry Pi Model B
WD My Passport 500 GB external HD
Controlled by a Logitech wireless keyboard and/or Yatse app on a Samsung Galaxy Tab 2 7.0
Find all posts by this user
Quote this message in a reply
05-16-2012, 07:16 PM (This post was last modified: 05-16-2012 08:09 PM by jaymax.)
Post: #6
RE: SABnzbd/Sickbeard/Couch Potato Install?
(05-16-2012 07:01 PM)Denny Wrote:  Can I use WinSCP to edit the file instead if vim or nano?

Not sure if winscp will allow you run sudo commands. You could use winscp to edit and then save in your home directory, then ssh in and replace it.

Here is how to install the latest version of CP (v2)
In your home directory (/home/atv)
**This assumes you have git installed.**

Code:
git clone git://github.com/RuudBurger/CouchPotatoServer.git .couchpotato
sudo cp .couchpotato/init/ubuntu /etc/init.d/couchpotato
sudo vim /etc/init.d/couchpotato

There's three things you need to change.
Code:
# path to app
APP_PATH=/home/atv/.couchpotato

# user
RUN_AS=atv

# path to python bin
DAEMON=/usr/bin/python2.6

The python2.6 is critical. CP uses 2.6 and will give an error if you just use python (which is symlinked to 2.5). 2.6 is preinstalled but 2.5 is used by default.


Code:
sudo chmod +x /etc/init.d/couchpotato
sudo update-rc.d couchpotato/ defaults
sudo /etc/init.d/couchpotato start

Now point your browser to http://[ip of atv]:5050/ and go through the configuration.

If you want the older version of CouchPotato let me know. It's pretty much the same though.

The Sickbeard install is almost exactly the same as the CP install.
In home directory (/home/atv/)

Code:
git clone git://github.com/midgetspy/Sick-Beard.git .sickbeard
sudo cp .sickbeard/init.ubuntu /etc/init.d/sickbeard
sudo vim /etc/init.d/sickbeard

Only 2 things you need change:
Code:
# path to app
APP_PATH=/home/atv/.sickbeard

# user
RUN_AS=atv

Leave the DAEMON as python as SB uses python2.5 just fine.

Code:
sudo update-rc.d sickbeard defaults
sudo /etc/init.d/sickbeard start

Now point your browser to http://[ip of atv]:8081 and go through the configuration.
Find all posts by this user
Quote this message in a reply
05-17-2012, 02:40 AM
Post: #7
RE: SABnzbd/Sickbeard/Couch Potato Install?
Thanks for all of the help, jaymax! Got everything installed and just tweaking the configurations now. Big Grin

Crystalbuntu 2.0/XBMC "Frodo" 12.2
Sony Bravia 32" LED TV
Raspberry Pi Model B
WD My Passport 500 GB external HD
Controlled by a Logitech wireless keyboard and/or Yatse app on a Samsung Galaxy Tab 2 7.0
Find all posts by this user
Quote this message in a reply
05-17-2012, 11:26 AM
Post: #8
RE: SABnzbd/Sickbeard/Couch Potato Install?
So freakin' close!

I configured everything and set up sickbeard for a little test drive. In SABnzbd, every attempted download fails. I keep getting a warning, "No PAR2 program found, repairs not possible."

From what I can gather thru a quick google search, PAR2 is a tool that SABnzbd uses in post-processing. It should be included in ubuntu. Is it not included in crystalbuntu? How do I install it?

Crystalbuntu 2.0/XBMC "Frodo" 12.2
Sony Bravia 32" LED TV
Raspberry Pi Model B
WD My Passport 500 GB external HD
Controlled by a Logitech wireless keyboard and/or Yatse app on a Samsung Galaxy Tab 2 7.0
Find all posts by this user
Quote this message in a reply
05-17-2012, 11:36 AM
Post: #9
RE: SABnzbd/Sickbeard/Couch Potato Install?
(05-17-2012 11:26 AM)Denny Wrote:  Par2: How do I install it?

Code:
sudo apt-get install par2
Find all posts by this user
Quote this message in a reply
05-17-2012, 05:28 PM
Post: #10
RE: SABnzbd/Sickbeard/Couch Potato Install?
(05-17-2012 11:36 AM)minority Wrote:  
(05-17-2012 11:26 AM)Denny Wrote:  Par2: How do I install it?

Code:
sudo apt-get install par2

You should also install rar and unrar as well.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Sponsored Advertisement