CouchPotato - Automatic Movie Downloader via NZB & Torrents!

Got a program that plays well with SABnzbd? Share it here!
Post Reply
generator
Newbie
Newbie
Posts: 12
Joined: December 10th, 2009, 7:01 am

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

Post by generator »

I'm trying to modify an update script  for Sick Beard that I found here:

http://www.ainer.org/?p=747

Since my scripting experience isn't that great, I wonder what I'm doing wrong?

I've pasted my script here;

http://pastebin.com/QN55NBrj

I hope someone can take a look at it!
User avatar
nomar383
Release Testers
Release Testers
Posts: 221
Joined: April 14th, 2010, 1:34 am
Location: Rexburg, ID
Contact:

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

Post by nomar383 »

generator wrote: I'm trying to modify an update script  for Sick Beard that I found here:

http://www.ainer.org/?p=747

Since my scripting experience isn't that great, I wonder what I'm doing wrong?

I've pasted my script here;

http://pastebin.com/QN55NBrj

I hope someone can take a look at it!
Definitely not going to work. That has all sorts of SickBeard specific lines. I could write one if I knew how to shutdown the app from the command line reliably. It's really just a matter of doing a git-pull and restarting the app.

EDIT: I take it back, that's pretty close. I'm trying to make it work now :)
Last edited by nomar383 on July 15th, 2010, 6:52 pm, edited 1 time in total.
SABCommand for iPad Developer
SABConnect for Safari 5 Developer

Bug Tracking:
http://redmine.kalenhansen.com

Twitter:
http://twitter.com/SABCommand
generator
Newbie
Newbie
Posts: 12
Joined: December 10th, 2009, 7:01 am

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

Post by generator »

Ok thanx, I guess I'll just give up then.

Something else:When renaming the files, the output folder has the owner set to root. Now I can't access it. Is there any way to fix this?

[edit]I think I fixed it by changing root to my username in initd file.[/edit]
Last edited by generator on July 15th, 2010, 7:21 pm, edited 1 time in total.
User avatar
nomar383
Release Testers
Release Testers
Posts: 221
Joined: April 14th, 2010, 1:34 am
Location: Rexburg, ID
Contact:

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

Post by nomar383 »

generator wrote: Ok thanx, I guess I'll just give up then.

Something else:When renaming the files, the output folder has the owner set to root. Now I can't access it. Is there any way to fix this?

[edit]I think I fixed it by changing root to my username in initd file.[/edit]
I'm slowly trying to make this work on my mac server now haha
SABCommand for iPad Developer
SABConnect for Safari 5 Developer

Bug Tracking:
http://redmine.kalenhansen.com

Twitter:
http://twitter.com/SABCommand
User avatar
nomar383
Release Testers
Release Testers
Posts: 221
Joined: April 14th, 2010, 1:34 am
Location: Rexburg, ID
Contact:

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

Post by nomar383 »

Here is a link to my Mac (maybe Linux?) CouchPotato update script:
http://dl.dropbox.com/u/7831344/update_couch_potato.sh

You need:
1. wget and git installed (I used macports to install on my box, but there are other ways)
2. may need to chmod the permissions
3. change the settings to your own
4. exit the terminal after the update

You can add this as a cron job if you want to do it automatically

Tested on OS X 10.6.3

EDIT: I updated the script to v1.1. It will no longer try to parse the CouchPotato settings file, just hard code your settings in. This means it will probably work on Linux too, but I haven't tested it.
Last edited by nomar383 on July 16th, 2010, 8:45 pm, edited 1 time in total.
SABCommand for iPad Developer
SABConnect for Safari 5 Developer

Bug Tracking:
http://redmine.kalenhansen.com

Twitter:
http://twitter.com/SABCommand
generator
Newbie
Newbie
Posts: 12
Joined: December 10th, 2009, 7:01 am

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

Post by generator »

I'm getting to love this app more and more! Love the name CouchPotato!

Just one thing left: when renaming/moving a movie it leaves the folder with some files (like samples) in it. Shouldn't CouchPotato delete these? It gets real cluttered real fast.

And I keep getting this error (related with the above problem?)
10:51:58,874 ERROR [app.lib.cron.cronRenamer] Tried to clean-up download folder, but "/home/mediacenter/Downloads/sabnzbd/complete/Movies" isn't empty.

You mentioned earlier that this should be fixed (running the latest version)?
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 »

I keep a list of "save to delete" files (by extention that is). if you find a file that isn't important. let me know, so I can add it to the list.
Will check out the deletion of the sample file.
Last edited by RuudBurger on July 16th, 2010, 6:57 am, edited 1 time in total.
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
generator
Newbie
Newbie
Posts: 12
Joined: December 10th, 2009, 7:01 am

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

Post by generator »

Maybe a checkbox that enables the removal of all leftover files? I want to download the movie, and don't really care about all the other files.

We can never become true Couch Potates if we have to manually cleanup the download folders every once in a while! Don't you agree? ;)

Thanks for the quick response!

[edit]It sometimes leaves sample .mkv files and .sfv files. Those are the ones I noticed so far[edit]
Last edited by generator on July 16th, 2010, 7:02 am, edited 1 time in total.
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 »

Hehe true. Good idea.
Will check for file size though. not want to delete anything above 100MB :P
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
generator
Newbie
Newbie
Posts: 12
Joined: December 10th, 2009, 7:01 am

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

Post by generator »

@RuudBurger
Great!

@Nomar
Any luck yet with the update script? Will you let us know when you've got it working?
User avatar
nomar383
Release Testers
Release Testers
Posts: 221
Joined: April 14th, 2010, 1:34 am
Location: Rexburg, ID
Contact:

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

Post by nomar383 »

generator wrote: @RuudBurger
Great!

@Nomar
Any luck yet with the update script? Will you let us know when you've got it working?
It is working, look a few posts above :)
SABCommand for iPad Developer
SABConnect for Safari 5 Developer

Bug Tracking:
http://redmine.kalenhansen.com

Twitter:
http://twitter.com/SABCommand
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 »

New release with some bugfixes and NZBMatrix support.
New Windows build will be up in a few minutes.
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
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 looking very great.
Is there any update on more renaming options? Because currently I have to manually rename my movies to include quality options, which breaks CouchPotatos ability to keep track on them.


Also an ability to remove files from the "Snatched" and "Downloaded" list would be nice, since I currently have a long list of movies that I have renamed myself which just stays in the "snatch"-list.

Loving the name CouchPotato by the way!
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 »

You can use , but it is not tested that well yet ;)
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
User avatar
nomar383
Release Testers
Release Testers
Posts: 221
Joined: April 14th, 2010, 1:34 am
Location: Rexburg, ID
Contact:

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

Post by nomar383 »

@RuddBurger

Will you be integrating auto-update soon? Or an update button? That would be awesome :)

If not, it may be useful to post the links to my Mac update script and generator's Linux update script in the OP.
SABCommand for iPad Developer
SABConnect for Safari 5 Developer

Bug Tracking:
http://redmine.kalenhansen.com

Twitter:
http://twitter.com/SABCommand
Post Reply