CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
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!
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!
- nomar383
- Release Testers
- Posts: 221
- Joined: April 14th, 2010, 1:34 am
- Location: Rexburg, ID
- Contact:
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
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.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!
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
SABConnect for Safari 5 Developer
Bug Tracking:
http://redmine.kalenhansen.com
Twitter:
http://twitter.com/SABCommand
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
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]
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.
- nomar383
- Release Testers
- Posts: 221
- Joined: April 14th, 2010, 1:34 am
- Location: Rexburg, ID
- Contact:
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
I'm slowly trying to make this work on my mac server now hahagenerator 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]
SABCommand for iPad Developer
SABConnect for Safari 5 Developer
Bug Tracking:
http://redmine.kalenhansen.com
Twitter:
http://twitter.com/SABCommand
SABConnect for Safari 5 Developer
Bug Tracking:
http://redmine.kalenhansen.com
Twitter:
http://twitter.com/SABCommand
- nomar383
- Release Testers
- Posts: 221
- Joined: April 14th, 2010, 1:34 am
- Location: Rexburg, ID
- Contact:
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
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.
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
SABConnect for Safari 5 Developer
Bug Tracking:
http://redmine.kalenhansen.com
Twitter:
http://twitter.com/SABCommand
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
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)?
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)?
-
- Sr. Member
- Posts: 305
- Joined: July 2nd, 2010, 6:11 am
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
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.
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
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
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]
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.
-
- Sr. Member
- Posts: 305
- Joined: July 2nd, 2010, 6:11 am
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Hehe true. Good idea.
Will check for file size though. not want to delete anything above 100MB
Will check for file size though. not want to delete anything above 100MB
CouchPotato - Automatic Movie Downloader
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
@RuudBurger
Great!
@Nomar
Any luck yet with the update script? Will you let us know when you've got it working?
Great!
@Nomar
Any luck yet with the update script? Will you let us know when you've got it working?
- nomar383
- Release Testers
- Posts: 221
- Joined: April 14th, 2010, 1:34 am
- Location: Rexburg, ID
- Contact:
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
It is working, look a few posts abovegenerator wrote: @RuudBurger
Great!
@Nomar
Any luck yet with the update script? Will you let us know when you've got it working?
SABCommand for iPad Developer
SABConnect for Safari 5 Developer
Bug Tracking:
http://redmine.kalenhansen.com
Twitter:
http://twitter.com/SABCommand
SABConnect for Safari 5 Developer
Bug Tracking:
http://redmine.kalenhansen.com
Twitter:
http://twitter.com/SABCommand
-
- Sr. Member
- Posts: 305
- Joined: July 2nd, 2010, 6:11 am
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
New release with some bugfixes and NZBMatrix support.
New Windows build will be up in a few minutes.
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
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
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!
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!
-
- Sr. Member
- Posts: 305
- Joined: July 2nd, 2010, 6:11 am
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
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
For bugs & feature request go to Lighthouse. For questions & problems go to our support forum
- nomar383
- Release Testers
- Posts: 221
- Joined: April 14th, 2010, 1:34 am
- Location: Rexburg, ID
- Contact:
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
@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.
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
SABConnect for Safari 5 Developer
Bug Tracking:
http://redmine.kalenhansen.com
Twitter:
http://twitter.com/SABCommand