CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Got a program that plays well with SABnzbd? Share it here!
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by sander »

I'm trying to get CouchPotato working on my Ubuntu 10.04; I can find movies, and they seem to arrive in SAB, but then SAB's queue shows something like:


index.php!action=getnzb&nzbid=347222&i=sxxx&h=60638383838aaaaaaa

instead of a normal download name. The download size is 0 MB, age is 14829 days (!), and nothing happens.

However, the SAB stdout log is more hopeful:

2010-08-08 22:16:44,262::INFO::[urlgrabber:126] Grabbing URL http://nzbs.org/index.php?action=getnzb ... 1111111113

When I use the URL in a browser, it *does* result in a downloaded .NZB-file.

However, in SAB nothing happens.


Any tips?


EDIT:

I found it!

Short story: at NZBs.org's settings in CP, I had filled out my login name at "Id". After filling a the id-number, it works.

Longer story: the URL sent to SABnzbd, was OK within my webbrowser as my webbrowser filled out the needed username/password. However, using 'wget -O outfputfile.html' I saw NZBs.org complaining about my username/password.
Last edited by sander on August 8th, 2010, 3:40 pm, edited 1 time in total.
Please don't send me unrequested PM's; the forum is the best way to communicate.
If someone helps you, please reply to that help.
f you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
RuudBurger
Sr. Member
Sr. Member
Posts: 305
Joined: July 2nd, 2010, 6:11 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by RuudBurger »

The 0 MB, age is 14829 days is when it is still fetching the NZB from the URL.
What happens when you add the URL manually to SAB via the "Add NZB" function?
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by sander »

RuudBurger wrote: The 0 MB, age is 14829 days is when it is still fetching the NZB from the URL.
What happens when you add the URL manually to SAB via the "Add NZB" function?
Indeed. See the EDIT in my post; after filling out the NZBs.org's login number (instead of login name), it works.

Another question: I see binsearch cannot be used? Is there a special reason for that?

And: I'm amazed by the looks of CP. Dankjewel!
Please don't send me unrequested PM's; the forum is the best way to communicate.
If someone helps you, please reply to that help.
f you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
RuudBurger
Sr. Member
Sr. Member
Posts: 305
Joined: July 2nd, 2010, 6:11 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by RuudBurger »

Binsearch is not supported, because I didnt write the script (yet).
Will be busy with school for at least the month of august, but will do some die-hard programming to satisfy all your movie downloading urges :P.
If you want an NZB provider, add it on the GIT Issue page. (Check if it doesn't exist yet).
Last edited by RuudBurger on August 8th, 2010, 3:59 pm, edited 1 time in total.
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by sander »

RuudBurger wrote: The 0 MB, age is 14829 days is when it is still fetching the NZB from the URL.
Ah: 14829 days ... points back to 1 jan 1970 ... start of Unix time ... clear.
Please don't send me unrequested PM's; the forum is the best way to communicate.
If someone helps you, please reply to that help.
f you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
ekim
Newbie
Newbie
Posts: 8
Joined: November 8th, 2009, 2:16 pm

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by ekim »

Sorry - this has probably been asked but this thread is huge and I can't find an answer. Does this download movies based on ones that I have requested or does it see what movies are availble to download and download them if they met set requirements (i.e. rating, year, genre).
RuudBurger
Sr. Member
Sr. Member
Posts: 305
Joined: July 2nd, 2010, 6:11 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by RuudBurger »

Read the first line of the starting post.
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
csop19
Newbie
Newbie
Posts: 14
Joined: July 30th, 2010, 8:59 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by csop19 »

[UPDATE]
New renaming features:
to get the original filename without the extension
represents the audio codec if it is indicated in the filename, else 'unknown'
represents the video codec else 'unknown'
represents the releasegroup if the file is named like *-GROUP.ext else: 'unknown'

Codecs:
DTS, AC3, AC3D, MP3
x264, XviD, DivX

Use Case: There are hardware players that cannot playback DTS audio without the help of an external decoder. (Using XBMC you can achive that using smart playlists (video plugins))
The group and video codec are just here for completeness' sake.
Arteekay
Newbie
Newbie
Posts: 8
Joined: June 14th, 2009, 3:38 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by Arteekay »

Loving the new , that's that I needed to turn on renaming. Was surprised at how well it works.

One issue that came up once it hit my download directory was a scene nfo with an imdb link to the wrong movie. Not at all sure how common that is, but the experience is a bit jarring when it's wrong.
User avatar
rascalli
Moderator
Moderator
Posts: 656
Joined: January 18th, 2008, 12:30 am
Location: Bossche bollen land

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by rascalli »

Arteekay wrote: One issue that came up once it hit my download directory was a scene nfo with an imdb link to the wrong movie. Not at all sure how common that is, but the experience is a bit jarring when it's wrong.
Scene sometimes does provide the wrong URL
User avatar
sander
Release Testers
Release Testers
Posts: 8830
Joined: January 22nd, 2008, 2:22 pm

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by sander »

Great: just like SABnzbd itself, CouchPotato will communicate over IPv6. This is how: In CP's Settings, choose General, then at Host, fill out "::". Then restart CP, and you're OK.

Most easy way to check CP's IPv6: http://[::1]:5000/ , or http://ip6-localhost:5000/ (tested on Ubuntu).

The real fun is of course accessing CP over your public IPv6. Which works great on my machine. Handy to access your CP across Internet.

I have not tested this on Windows. I believe Windows' default IPv6 behavior is NOT to accept incoming sessions over IPv6 (so copying NAT behavior) :-(

If you want to check your IPv6, go to http://www.appelboor.com/check-ipv6-refresh.html

HTH
Please don't send me unrequested PM's; the forum is the best way to communicate.
If someone helps you, please reply to that help.
f you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
jonaskp
Newbie
Newbie
Posts: 37
Joined: July 5th, 2010, 6:07 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by jonaskp »

This is such an awesome program, I just had to donate.

Great work, RuudBurger. I never knew that I needed this, until I tried CouchPotato.
RuudBurger
Sr. Member
Sr. Member
Posts: 305
Joined: July 2nd, 2010, 6:11 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by RuudBurger »

Haha, no problem ;)
Thanks for the donation!
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
Homerboy
Jr. Member
Jr. Member
Posts: 73
Joined: April 25th, 2009, 2:33 pm

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by Homerboy »

Hmmm I seem to be having issues with CP saving settings.
I just installed it on my WHS machine.
Browser launches and I go into settings, change something and click "save" but when I go back into that setting screen, everything I entered is blank.
Check the .ini and no changes made.
Any ideas?
RuudBurger
Sr. Member
Sr. Member
Posts: 305
Joined: July 2nd, 2010, 6:11 am

Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Post by RuudBurger »

Anything in the log?
Try removing the .ini and let CP create it again.
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
Post Reply