SABnzbd Smart Downloader

Come up with a useful post-processing script? Share it here!
markus101
Release Testers
Release Testers
Posts: 406
Joined: August 13th, 2008, 2:51 am

Re: SABnzbd Smart Downloader

Post by markus101 »

Hi Matt,

Glad you got it figured out, sorry I never got back to you about it. I forgot that I was playing around with the different new API changes (whoops). I have to recommend once 0.5.0 is released that the mode=history causes SAB to stop responded as it tries to dump out the history, which in my case has a 28MB DB and tons of items.

Again glad you got it sorted out, have fun downloading!

-Markus
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
User avatar
isosceles294
Release Testers
Release Testers
Posts: 4
Joined: May 10th, 2009, 10:16 pm

Re: SABnzbd Smart Downloader

Post by isosceles294 »

Hi,

I'm new to using this script/ python.  I'm trying to set up SSD to work with tvbinz.net, I believe I need to set cookie information for my RSS feed to do this.  What's the easiest way to do this, will tvbinz work with SSD?

Thanks!
markus101
Release Testers
Release Testers
Posts: 406
Joined: August 13th, 2008, 2:51 am

Re: SABnzbd Smart Downloader

Post by markus101 »

Never used tvbinz.net before, but I seem to remember there being an issue with it because it gzip's the feed to allow for less bandwidth usage. You can try to use Feedburner, now operated by Google. I know nzbs.org and Newzbin.com have been working great for others.

-Markus
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
User avatar
isosceles294
Release Testers
Release Testers
Posts: 4
Joined: May 10th, 2009, 10:16 pm

Re: SABnzbd Smart Downloader

Post by isosceles294 »

The reason I'd like to use tvbinz is that nzbs show up almost instantly on their site when posted, rather than waiting up to an hour for newzbin.  Newzbin's great for movies and all, but I'm looking for the fastest possible way to grab new episodes and a combination of tvbinz and this script seems like the best solution.

This is what their site has to say about rss/ scripts:


RSS Authentication

To view the RSS feeds, you need to be logged in and have cookies enabled. The site is compatible with RSS readers that support cookies, otherwise url authenticaton is supported for the following clients only:

    * Alt.Binz (passes cookies from url info):
      https://tvbinz.net/rss.php?n=25:COOKIE:uid=###;hash=############################
    * SABnzbd (authenticates via url):
      https://tvbinz.net/rss.php?n=25&i=###&h=############################

The sample urls above include your unique cookie information. These authentication methods will not work with any other clients - or any browsers - so there's no need to waste any time trying. In particular, don't bother with any online aggregators, as these are blocked by default. For scripts, click here to see your cookie info.

cookie info:
uid=###; hash=############################; PHPSESSID=############################
markus101
Release Testers
Release Testers
Posts: 406
Joined: August 13th, 2008, 2:51 am

Re: SABnzbd Smart Downloader

Post by markus101 »

You should be able to use the same feed URL as you would use for SABnzbd as this script is using the same process to download the shows (feedparser). I'm not sure if you tried that or not? Otherwise I'm not too sure.

I have to agree that Newzbin is on the slow side for updating some days, which is a pain, but I love their naming convention and I still get shows hours before they air on the West Coast.

-Markus
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
User avatar
isosceles294
Release Testers
Release Testers
Posts: 4
Joined: May 10th, 2009, 10:16 pm

Re: SABnzbd Smart Downloader

Post by isosceles294 »

Got it working, thx!

I'd been trying to enter the cookie information separately because they mention using the cookie info for scripts.  The SAB method works great, should've checked that out first. I live on the east coast, so the sooner I can get episodes the better.

Thanks for the script!
fingret
Newbie
Newbie
Posts: 5
Joined: May 5th, 2009, 2:21 pm

Re: SABnzbd Smart Downloader

Post by fingret »

Hello

Sorry to ask a stupid question, but is there a "how-to" for this script? I'm a complete noob but from what I understand, this will download movies based on imdb rating, which is what I am looking for. Which script do I need and do I need to install something else to use it?

I'm on windows btw  :'(
rollingeyeball
Release Testers
Release Testers
Posts: 181
Joined: January 30th, 2009, 12:26 pm

Re: SABnzbd Smart Downloader

Post by rollingeyeball »

Hmm, no activty for a while :S

I just came back to this today.

I can't get it to work. I'm not sure what version im working witgh, which version others are working with and what I'm meant to do with w/e version I have, haha.
I downloaded the full megauploaded (0.9.5????) package.

However I always get this error

2009-06-29 10:12:06,858 INFO PROCESSING: xxxxxxxxxx - xxXxx - xxxxxxxxxxxxx
2009-06-29 10:12:06,875 INFO NZB: xxxx
2009-06-29 10:12:06,890 INFO TVDB: xxxx
2009-06-29 10:12:06,890 INFO NEWZBIN_REPORT_ID: xxxxxxx
2009-06-29 10:12:06,905 INFO CHECK WANTED: xxxx
2009-06-29 10:12:06,905 INFO SHOW WANTED: xxxx
2009-06-29 10:12:06,905 INFO NEWZBIN FORMAT OVERRIDE: xxxx - SxxExx - xxxxxxxxxxxxx
2009-06-29 10:12:06,905 INFO LOOKING: xxxxxxxxxxxxx
2009-06-29 10:12:06,905 INFO FOLDERNAME: xxxx
2009-06-29 10:12:06,905 INFO FAILED PROCESSING: xxxxxxxxxx - xxXxx - xxxxxxxxxxxxx

Any ideas?
markus101
Release Testers
Release Testers
Posts: 406
Joined: August 13th, 2008, 2:51 am

Re: SABnzbd Smart Downloader

Post by markus101 »

@rollingeyeball

Yes - it's a bug I introduced when I was playing with SAB's 0.5.X API calls, they changed qstatus to queue, which I changed in the code when checking if the NZB is already in the queue...

Please copy paste the contents of this PasteBin into the SSD-TV.py file, save and run it again.
http://pastebin.com/f284d0beb

@fingret - Sorry I don't know much about the movie script, but you ill need to install Python to use it (would already be installed if you're using the linux version or a trunk version of SABnzbd). Not much of a How-to, but Download/Install Python, download script, configure script with your settings, RSS feed, download directory etc, run script/schedule it to run every few hours, wait for Movies to download and enjoy.

Hopefully this helps in some way.

-Markus
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
rollingeyeball
Release Testers
Release Testers
Posts: 181
Joined: January 30th, 2009, 12:26 pm

Re: SABnzbd Smart Downloader

Post by rollingeyeball »

Thanks markus, that appears to work now.
I've moved on to using Media Rover though now. There's a thread here for it if anyone is interested.

Thanks to all the hard work everyone has done with SSD though.
doubledrat
Release Testers
Release Testers
Posts: 180
Joined: February 20th, 2008, 3:16 pm

Re: SABnzbd Smart Downloader

Post by doubledrat »

fingret wrote: Hello

Sorry to ask a stupid question, but is there a "how-to" for this script? I'm a complete noob but from what I understand, this will download movies based on imdb rating, which is what I am looking for. Which script do I need and do I need to install something else to use it?

I'm on windows btw  :'(
are you using newzbin?
jayman
Newbie
Newbie
Posts: 45
Joined: July 2nd, 2009, 2:14 pm

Re: SABnzbd Smart Downloader

Post by jayman »

just wondering also if anyone can post a how-to, step by step sort of thing including links to download?  thanks.
markus101
Release Testers
Release Testers
Posts: 406
Joined: August 13th, 2008, 2:51 am

Re: SABnzbd Smart Downloader

Post by markus101 »

I would take a look at Media Rover at the following post on these forums - It is more functional and doesn't have some of the annoying bugs that exist in this script AND it has a setup guide on the webpage...

http://forums.sabnzbd.org/index.php?topic=2262.msg15708

-Markus
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
jayman
Newbie
Newbie
Posts: 45
Joined: July 2nd, 2009, 2:14 pm

Re: SABnzbd Smart Downloader

Post by jayman »

cool.  I agree.  I really like mediarover, it's just that you can't specify the quality of the download such as xvid for some or x264 for others.
Ghosttt
Newbie
Newbie
Posts: 11
Joined: October 6th, 2009, 9:12 am

Re: SABnzbd Smart Downloader

Post by Ghosttt »

edit: figured it out. thx
Last edited by Ghosttt on October 18th, 2009, 2:35 pm, edited 1 time in total.
Post Reply