Page 10 of 88
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 15th, 2010, 5:38 pm
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!
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 15th, 2010, 5:58 pm
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
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 15th, 2010, 6:45 pm
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]
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 15th, 2010, 7:26 pm
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
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 15th, 2010, 8:47 pm
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.
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 16th, 2010, 6:50 am
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)?
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 16th, 2010, 6:53 am
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.
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 16th, 2010, 6:58 am
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]
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 16th, 2010, 6:59 am
by RuudBurger
Hehe true. Good idea.
Will check for file size though. not want to delete anything above 100MB
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 16th, 2010, 7:13 am
by generator
@RuudBurger
Great!
@Nomar
Any luck yet with the update script? Will you let us know when you've got it working?
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 16th, 2010, 9:07 am
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
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 16th, 2010, 10:09 am
by RuudBurger
New release with some bugfixes and NZBMatrix support.
New Windows build will be up in a few minutes.
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 16th, 2010, 10:31 am
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!
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 16th, 2010, 2:52 pm
by RuudBurger
You can use , but it is not tested that well yet
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 16th, 2010, 3:33 pm
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.