Page 13 of 88
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 22nd, 2010, 2:29 pm
by JayBird
Hey RuudBurger,
After my previous suggestion of including movie posters, i decided to quick write a Greasemonkey script (my first) to do what I wanted. Hope you don't mind me sharing this!
Download the script here
http://dl.dropbox.com/u/1271638/couchpotato.user.js
And this is what it looks like...hope you like it
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 22nd, 2010, 2:35 pm
by jjabs
Wow, thats excellent.
Looks excellent too
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 22nd, 2010, 2:36 pm
by RuudBurger
Looks nice. Something like that will be coming to the Soon page.
But with 60 movies in my list, that's a lot of scrolling
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 22nd, 2010, 2:37 pm
by jjabs
RuudBurger wrote:
Does it say something like:
19:38:59,791 INFO [app.lib.cron] Starting Cronjobs.
Where the time is somewhere near the time you rebooted? If not, then the exe isn't run at all.
Last time i run it directly from the file got this
19:18:32,321 INFO [app.config.db] Initializing Database.
19:18:32,581 INFO [app.config.db] Upgrading DB to version 3.
19:18:32,668 INFO [app.config.db] Added dateChanged to Movie table
19:18:32,849 INFO [app.lib.cron] Starting Cronjobs.
Sabnzb works fine, so not sure what the issue is?
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 22nd, 2010, 2:40 pm
by jjabs
RuudBurger wrote:
Looks nice. Something like that will be coming to the Soon page.
But with 60 movies in my list, that's a lot of scrolling
I agree, but how else could you do it without the posters looking too small? Also nice to have the write up and imdb score there too
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 22nd, 2010, 2:45 pm
by RuudBurger
Could you PM me your data.db?
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 22nd, 2010, 2:55 pm
by jonaskp
jjabs wrote:
RuudBurger wrote:
Looks nice. Something like that will be coming to the Soon page.
But with 60 movies in my list, that's a lot of scrolling
I agree, but how else could you do it without the posters looking too small? Also nice to have the write up and imdb score there too
I think it would be awesome to have the option of having the poster and imdb info (or other info) right on the movies page. The way it looks in the script is very cool.
But I have no idea if this is too much work, to have different GUI for the movie list.
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 22nd, 2010, 3:05 pm
by jonaskp
A whole other question: In what direction is CouchPotato going? What is the ultimate goal of CouchPotato?
Right now, it is working very good as an automated movie downloader, and also sort of a list of all the movies that I wanna see when they come out.
It also downloads trailers for my movies.
Will it, eventually, be able to download all the other stuff, that we keep with our movies? Stuff like posters, Fanart, movie info in .nfo, subtitles, etc.?
Here is a list of what happens when I download a movie:
1: Find the movie (CouchPotato does this)
2: Find a place to download from, and handle the download (CouchPotato does this)
3: Place the movie in the right folder and rename according to the format I specify (CouchPotato does this)
4: Download subtitles for my language
5: Download the trailer (CouchPotato does this)
6: Create .nfo file with movie-info, actors etc. in my own language (danish)
7: Download posters and movie Fanart
If CouchPotato could eventually do all of the above, this would be absolutely amazing for me, but I am unsure if that is the target of the program to do all of this (and even more) or if it is just supposed to download the movies and keep an eye on upcoming movies.
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 22nd, 2010, 3:08 pm
by RuudBurger
I like to add subtitles and poster eventually.
.nfo is a bit of a pain, as there is so much info that could be added (see all the Media Managers that try to handle the .nfo data).
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 23rd, 2010, 5:35 am
by ssboisen
Great application!!
Could you please sort the log in decending order with the most recent entry at the top?
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 23rd, 2010, 5:39 am
by jonaskp
Just updated to latest windows build, and have some issues. I can't access CouchPotato correctly from my Mac.
I can access it on my windows server with localhost:5000 or :5000 without problems.
On my Mac i get the screen like on the picture I attached. Soon, Logs, and settings just give a "Can't open page"-error in Safari.
Google Chrome on the mac gives the same error. I tried emptying buffer.
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 23rd, 2010, 6:03 am
by jonaskp
Also on the latest build I get this in my log when it searches for movies:
Code: Select all
12:45:23,924 INFO [app.lib.provider.yarr.sources.nzbs] Searching: http://nzbs.org/rss.php?catid=2&i=44037&h=6b61da184633a6a2ef16adb7c9690bb3&age=300&q=Sex+and+the+City+2+r5&action=search
12:45:33,953 ERROR [app.lib.provider.yarr.sources.nzbs] Failed to open http://nzbs.org/rss.php?catid=2&i=44037&h=6b61da184633a6a2ef16adb7c9690bb3&age=300&q=Sex+and+the+City+2+r5&action=search.
12:45:53,954 INFO [app.lib.provider.yarr.sources.nzbs] Searching: http://nzbs.org/rss.php?catid=4&i=44037&h=6b61da184633a6a2ef16adb7c9690bb3&age=300&q=Robin+Hood+1080p&action=search
12:46:03,980 ERROR [app.lib.provider.yarr.sources.nzbs] Failed to open http://nzbs.org/rss.php?catid=4&i=44037&h=6b61da184633a6a2ef16adb7c9690bb3&age=300&q=Robin+Hood+1080p&action=search.
12:46:23,980 INFO [app.lib.provider.yarr.sources.nzbs] Searching: http://nzbs.org/rss.php?catid=4&i=44037&h=6b61da184633a6a2ef16adb7c9690bb3&age=300&q=Robin+Hood+720p&action=search
12:46:34,003 ERROR [app.lib.provider.yarr.sources.nzbs] Failed to open http://nzbs.org/rss.php?catid=4&i=44037&h=6b61da184633a6a2ef16adb7c9690bb3&age=300&q=Robin+Hood+720p&action=search.
12:46:54,003 INFO [app.lib.provider.yarr.sources.nzbs] Searching: http://nzbs.org/rss.php?catid=2&i=44037&h=6b61da184633a6a2ef16adb7c9690bb3&age=300&q=Robin+Hood+dvdrip&action=search
12:47:07,019 ERROR [app.lib.provider.yarr.sources.nzbs] Failed to open http://nzbs.org/rss.php?catid=2&i=44037&h=6b61da184633a6a2ef16adb7c9690bb3&age=300&q=Robin+Hood+dvdrip&action=search.
12:47:27,019 INFO [app.lib.provider.yarr.sources.nzbs] Searching: http://nzbs.org/rss.php?catid=2&i=44037&h=6b61da184633a6a2ef16adb7c9690bb3&age=300&q=Robin+Hood+r5&action=search
12:47:40,039 ERROR [app.lib.provider.yarr.sources.nzbs] Failed to open http://nzbs.org/rss.php?catid=2&i=44037&h=6b61da184633a6a2ef16adb7c9690bb3&age=300&q=Robin+Hood+r5&action=search.
12:48:00,039 INFO [app.lib.provider.yarr.sources.nzbs] Searching: http://nzbs.org/rss.php?catid=4&i=44037&h=6b61da184633a6a2ef16adb7c9690bb3&age=300&q=Knight+and+Day+1080p&action=search
12:48:10,062 ERROR [app.lib.provider.yarr.sources.nzbs] Failed to open http://nzbs.org/rss.php?catid=4&i=44037&h=6b61da184633a6a2ef16adb7c9690bb3&age=300&q=Knight+and+Day+1080p&action=search.
12:48:30,063 INFO [app.lib.provider.yarr.sources.nzbs] Searching: http://nzbs.org/rss.php?catid=4&i=44037&h=6b61da184633a6a2ef16adb7c9690bb3&age=300&q=Knight+and+Day+720p&action=search
12:48:40,088 ERROR [app.lib.provider.yarr.sources.nzbs] Failed to open http://nzbs.org/rss.php?catid=4&i=44037&h=6b61da184633a6a2ef16adb7c9690bb3&age=300&q=Knight+and+Day+720p&action=search.
12:49:00,088 INFO [app.lib.provider.yarr.sources.nzbs] Searching: http://nzbs.org/rss.php?catid=2&i=44037&h=6b61da184633a6a2ef16adb7c9690bb3&age=300&q=Knight+and+Day+dvdrip&action=search
12:49:10,111 ERROR [app.lib.provider.yarr.sources.nzbs] Failed to open http://nzbs.org/rss.php?catid=2&i=44037&h=6b61da184633a6a2ef16adb7c9690bb3&age=300&q=Knight+and+Day+dvdrip&action=search.
Is this supposed to happen? I know that the movies are not out yet, so nothing should be found, but I don't think it should say "error". Also, if I manually open one of the links, it also returns an error in my browser.
It seems that nzbs.org is down at the moment, and that is probably the source of the problem.
Perhaps you could build in some sort of test for this. If the searches fails, CouchPotato checks if the actual site (in this case nzbs.org) is reachable. If not, stop trying to search and wait for 1 hour, then try again until the page is back up. When this happens, return to the checkinterval specified in the settings.
I just think that it is redundant and kind of a waste to have CouchPotato try to run through all of my movies, if a simple lookup on "nzbs.org" would have returned an error as well.
I say simple, because for me it is. I have no idea if it is simple to code
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 23rd, 2010, 10:00 am
by RuudBurger
New build with posters + summary + rating. Just like the Userscript from JayBird.
Need to press the "Update details" on the top right the first time, to let CP retrieve all the info for the existing movies.
When adding new movies, it should get the info on it's own.
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 23rd, 2010, 10:34 am
by JayBird
RuudBurger wrote:
New build with posters + summary + rating. Just like the Userscript from JayBird.
Need to press the "Update details" on the top right the first time, to let CP retrieve all the info for the existing movies.
When adding new movies, it should get the info on it's own.
Damn you
Good job my script only took 30 mins to throw together.
Seriously though, good work. i would like to see this in the settings though as a permanent option so i can have "Show details" on by default
Re: CouchPotato - Automatic Movie Downloader via NZB & Torrents!
Posted: July 23rd, 2010, 10:37 am
by RuudBurger
It should save the "show details" in a cookie. If not, let me know