Sign up here and you can log into the forum!

[REQUEST - £10 waiting!] SABNZB+

This is the place to ask for how to use software that is (or isn't) included in the various wdlxtv flavours. Questions about software such as rtorrent, NZBGet, sshfs, curlftpfs, ssh, telnet, etc.

Re: [REQUEST - £10 waiting!] SABNZB+   

Postby rolan » Sun Sep 04, 2011 12:00 am

Marvellous! I finally got SABNZB+ working. I reiterated through ch1ptune's guide and would run into trouble at #8 -- after successfully running setup wizard unfortunately, the web end became unavailable.

I checked the processes and it showed the SABnzbd.py terminating after a minute of running.
Code: Select all
ps | grep SABnzbd.py

Had no luck with different host values in sabnzbd.ini (localhost,0.0.0.0, or static IP 192.168.1.100). Checked the logs at /opt/share/SABnzbd/logs/ with no sign of errors.

Finally I had a win when i installed python2.6 and the Cheetah engine
Code: Select all
ipkg install python26
ipkg install py26-cheetah


Thank you ch1ptune for the guide.

SABnzbd(NZBMatrix RSS feeds) + WDLXTV = AutoMagic TV Box = :D
rolan
n00b
 
Posts: 1
Joined: Sat Sep 03, 2011 11:05 pm

Re: [REQUEST - £10 waiting!] SABNZB+   

Postby kroetkroet » Sun Sep 04, 2011 12:44 am

I must have posted in this thread: did anyone see the £10 going from one party to another? :lol:
WDLXTV-fan! - In case you need further assistance: read our WIKI, search our Forum and most of all: donate 'something' to b-rad for his great efforts!!!
User avatar
kroetkroet
Beta Tester
 
Posts: 715
Joined: Mon Apr 05, 2010 11:53 pm

Re: [REQUEST - £10 waiting!] SABNZB+   

Postby desmoloch » Sun Sep 04, 2011 6:17 am

Haha :)
Btw i found a way to avoid the "Segmentation fault" Error. It does not matter which base firmware you use.
Here is how to get around the "segmentation fault" Error:
Start sabnzb with "-v" (verbose). Then you can see just the lib that is causing the Error. Should be perl/lib/xxxx.so. Just rename the File and Start sabnzbd again. All fine :)
desmoloch
Donor
 
Posts: 94
Joined: Wed Aug 25, 2010 10:54 pm

Re: [REQUEST - £10 waiting!] SABNZB+   

Postby fuzzydunlop » Sun Sep 04, 2011 6:59 am

rolan wrote:Finally I had a win when i installed python2.6 and the Cheetah engine [code]ipkg install python26


Fantastic. What a hero. This has got it all running stably. I did get a weird issue where some of the image files in the interface had their names truncated though. No idea how it might have happened but it was pretty simple to fix.

One thing missed earlier is that you probably also want py26-openssl so you can connect to your usenet provider over a secure connection.

Thanks all - now for Sickbeard. It's looking like the upgrade to 2.6 have fixed the issues there too though.
fuzzydunlop
n00b
 
Posts: 7
Joined: Sat Dec 11, 2010 11:51 am

Re: [REQUEST - £10 waiting!] SABNZB+   

Postby ch1ptune » Tue Sep 06, 2011 1:15 am

@rolan

You're welcome =)

@desmoloch:

I'm glad you finally got it to work!

@kroetkroet

To my knowledge, no money exchange took place, which is perfectly fine imo :)


/ch1ptune
ch1ptune
Donor
 
Posts: 35
Joined: Tue Mar 15, 2011 1:34 am
Location: Aarhus, Denmark

Re: [REQUEST - £10 waiting!] SABNZB+   

Postby suferjunner » Tue Sep 06, 2011 10:45 am

I'm having a bit of trouble with the auto script. I don't have a user and password to open SABnzb. I placed the file in the appropriate directory but nothing happens. See below code for my script. Thanks in advance.

Code: Select all
#!/opt/bin/bash

case "$1" in
start)
  echo "Starting SABnzbd."
  /opt/bin/python2.6 /opt/share/SABnzbd/SABnzbd.py -f /opt/share/SABnzbd/sabnzbd.ini -d
stop)
  echo "Shutting down SABnzbd."
;;
*)
  echo "Usage: $0 {start|stop}"
  exit 1
esac

exit 0
suferjunner
n00b
 
Posts: 8
Joined: Sat Aug 06, 2011 4:07 pm

Re: [REQUEST - £10 waiting!] SABNZB+   

Postby ch1ptune » Tue Sep 06, 2011 1:57 pm

First of all, your script is lacking a shutdown function. Even though your SABnzbd isn't password protected, I'd still recommend keeping the shutdown function. I haven't tried running SABnzbd without password protection, so I'm not 100 % sure that this will work, but your script should at least look something like this (assuming you do have an API-key set):

Code: Select all
#!/opt/bin/bash

case "$1" in
start)
  echo "Starting SABnzbd."
  /opt/bin/python2.6 /opt/share/SABnzbd/SABnzbd.py -f /opt/share/SABnzbd/sabnzbd.ini -d
;;
stop)
  echo "Shutting down SABnzbd."
  wget -q --delete-after "http://localhost:8080/sabnzbd/api?mode=shutdown&apikey=[API-key]"

;;
*)
  echo "Usage: $0 {start|stop}"
  exit 1
esac

exit 0


Before leaving the script file in /opt/etc/init.d/ and crossing your fingers for it to work properly, you can try testing it by running it via telnet like this (assuming your script file is titled 'SABnzbd'):
Code: Select all
cd /opt/etc/init.d/
./SABnzbd start


If you get an error here it probably has something to do with the fact that the file has not been made executable. Correct this using chmod and try doing the above again:

Code: Select all
chmod a+x SABnzbd


Hope this helps :)

/ch1ptune
ch1ptune
Donor
 
Posts: 35
Joined: Tue Mar 15, 2011 1:34 am
Location: Aarhus, Denmark

Re: [REQUEST - £10 waiting!] SABNZB+   

Postby b-rad.cc » Tue Sep 06, 2011 3:15 pm

SABnzbd is not a valid init.d script name. The only reason its running now is because it starts with a capital S. It should be named S##, where # is 0-9, to dictate its execution order, like every other init.d in the system. In fact I am going to right now change it to where that would not run at all as is. :geek:
PM's are for private matters only, please post public matters on the forum to help others who might have the same issue.
:mrgreen:
User avatar
b-rad.cc
WDLXTV Team
 
Posts: 3002
Joined: Sat Apr 03, 2010 9:35 am
Location: New York

Re: [REQUEST - £10 waiting!] SABNZB+   

Postby ch1ptune » Tue Sep 06, 2011 3:43 pm

Well, how 'bout that.. Heh, at first I named it according to the execution order (S##), but as I later found that it worked regardless of the execution #, I thought the name of the script was inferior :)

Well, suferjunner, don't listen to me - listen to b-rad :)

/ch1ptune
ch1ptune
Donor
 
Posts: 35
Joined: Tue Mar 15, 2011 1:34 am
Location: Aarhus, Denmark

Re: [REQUEST - £10 waiting!] SABNZB+   

Postby desmoloch » Thu Sep 08, 2011 12:46 am

since sabnzbd is running fine í´m trying to tweak the max download speed.
I changed the amound of connections and cache size (http://wiki.sabnzbd.org/highspeed-downloading) but i only get about 1,1 Mbit/s (my connection is max 5 Mbit/s). My usenet provider supports my max speed, downloading with alt.binz on my windows pc works with 5 Mbit/s.
I tried python2.6 and python2.5. Almost the same (low) speed.
Any tricks? Is that the maximum we can get with our wdtv?
desmoloch
Donor
 
Posts: 94
Joined: Wed Aug 25, 2010 10:54 pm

PreviousNext

Return to Application Questions

Who is online

Users browsing this forum: No registered users and 0 guests