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 suferjunner » Sat Sep 10, 2011 9:49 pm

Thanks for your help guys, but I still can't get it to work...? Here is my script, I did chmod on the S89SABnzbd file but could not get this to work:

Code: Select all
./S89SABnzbd start


It would give me an error of file not found.

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://192.168.1.118:8080/sabnzbd/api?mode=shutdown&ma_username=xxxxx&ma_password=xxxxxx&apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
;;
*)
  echo "Usage: $0 {start|stop}"
  exit 1
esac

exit 0


I just x'd out my user/password and API key.
suferjunner
n00b
 
Posts: 8
Joined: Sat Aug 06, 2011 4:07 pm

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

Postby desmoloch » Sun Sep 11, 2011 1:33 am

b-rad.cc wrote:I never claimed it would increase download speed. I mentioned it because memory errors were mentioned, should take care of them.


Sure you didn't but it was my hope :)
@suferjunner: i did not Test ch1ptunes script yet. Sorry can't help you.
desmoloch
Donor
 
Posts: 94
Joined: Wed Aug 25, 2010 10:54 pm

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

Postby ch1ptune » Sun Sep 11, 2011 1:45 am

:

Looks like the above script is lacking an end quote ( " ) after your x'ed out api-key :)

Also, make sure you've got bash installed (ipkg install bash, if not). That should do the trick.

Alternatively, change
Code: Select all
#!/opt/bin/bash
to
Code: Select all
#!/opt/bin/sh
That might work as well :)
ch1ptune
Donor
 
Posts: 35
Joined: Tue Mar 15, 2011 1:34 am
Location: Aarhus, Denmark

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

Postby b-rad.cc » Sun Sep 11, 2011 1:49 am

1) bash comes pre-installed in Optware

2) executing a script like that makes zero sense unless you're in /opt/etc/init.d

3) theres no such thing as /opt/bin/sh ;)
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 » Sun Sep 11, 2011 2:01 am

My bad. Anyway, I did assume that suferjunner was in /opt/etc/init.d when executing the script.

I'm pretty new to linux, but I'm just trying my best here to share the experience I've had with SABnzbd :)

suferjunner:

If it still doesn't work, try this:
Code: Select all
chmod a+x S89SABnzbd
ch1ptune
Donor
 
Posts: 35
Joined: Tue Mar 15, 2011 1:34 am
Location: Aarhus, Denmark

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

Postby b-rad.cc » Sun Sep 11, 2011 2:17 am

you seem to be doing fairly well, i'm just pointing out corrections where i see them :ugeek:
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 hursey013 » Tue Nov 08, 2011 9:28 pm

Is it possible to connect to your usenet provider with SSL. I've trying Python 2.5 and 2.6 and I can't seem to get SSL working - anyone have any success?
hursey013
WDTVer
 
Posts: 22
Joined: Tue Nov 08, 2011 9:27 pm

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

Postby chqshaitan » Wed Nov 09, 2011 12:25 pm

Hi Bud,

yea it is possible, as i got it working. I had to do some manual compilation of the openssl along with some python tweaks but got it working in the end :)

from memory as it was a few months ago, i download openssl and pyopenssl. compiled openssl and then compiled pyopenssl with the libraries pointing the openssl folder.
chqshaitan
Donor
 
Posts: 17
Joined: Thu Aug 19, 2010 3:13 am

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

Postby hursey013 » Thu Nov 10, 2011 3:55 pm

Thanks chqshaitan. I actually found the only problem I had was that I needed to install py26-openssl through ipkg and that got everything working since I was using Python 2.6 to run SABnzbd.
hursey013
WDTVer
 
Posts: 22
Joined: Tue Nov 08, 2011 9:27 pm

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

Postby chqshaitan » Sat Nov 12, 2011 8:30 am

excellent bud, glad you got it working :)

For such a small device, it has replaced several pc's and notebooks that i had around and with the cost of electricity these days, its saving me money every day as i have no worries about leaving it on 24x7.
chqshaitan
Donor
 
Posts: 17
Joined: Thu Aug 19, 2010 3:13 am

PreviousNext

Return to Application Questions

Who is online

Users browsing this forum: No registered users and 2 guests