Kodi Community Forum
CouchPotato - Automatic Movie Downloader via NZB & Torrents - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: CouchPotato - Automatic Movie Downloader via NZB & Torrents (/showthread.php?tid=75960)



- ECEC - 2011-08-20

johnmerrick Wrote:Does anyone ever get movies that are still in the completed download folder with _unpack_movie name still left over?

It's an issue with SAB, and I've never been able to reliably fix it. Are you on WHS by chance? I think it's related to the demigrator.exe process on my WHS box being a little over-zealous. I usually just rename the folder to remove the UNPACK and let CP do it's thing.

CP found some weird matches for a couple of movies. First The Ward:

Code:
ApiError: Unknown TMDB data format: Nothing found.
    raise ApiError("Unknown TMDB data format: %s" % self.tmdb_data)
  File "C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/_MEI6402/library\xmg\xmg.py", line 75, in _validate_tmdb_json
    self._validate_tmdb_json()
  File "C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/_MEI6402/library\xmg\xmg.py", line 61, in __init__
    x = xmg.MetaGen(movie['movie'].imdb)
  File "C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/_MEI6402\app\lib\cron\renamer.py", line 118, in doRename
04:59:59 ERROR [     app.lib.cron.renamer] Traceback (most recent call last):
04:59:59 ERROR [     app.lib.cron.renamer] XMG TMDB API failure.  Please report to developers. API returned: Unknown TMDB data format: Nothing found.
04:59:56 INFO  [     app.lib.cron.trailer] Search for trailer for: Fashion Police The 2010 Academy Awards (2010)
04:59:56 INFO  [    app.lib.cron.subtitle] Finding subtitles for: \\daruma\videos\movies\Fashion Police The 2010 Academy Awards (2010)
04:59:56 INFO  [     app.lib.cron.trailer] Finding trailers for: \\daruma\videos\movies\Fashion Police The 2010 Academy Awards (2010)
04:59:56 INFO  [     app.lib.cron.renamer] Moving matching subtitle.
04:59:56 INFO  [     app.lib.cron.renamer] Moving file "\\daruma\videos\incoming\CPTemp\The Ward 2010 720P Brrip Ac3 X264 Macguffin\The Ward 2010 720p BRRip AC3 x264 MacGuffin.mkv" to \\daruma\videos\movies\Fashion Police The 2010 Academy Awards (2010)\The Ward 2010 720p BRRip AC3 x264 MacGuffin.mkv.
04:59:56 INFO  [     app.lib.cron.renamer] Quality Old: 0, New 2212.
04:59:56 INFO  [     app.lib.cron.renamer] Creating directory \\daruma\videos\movies\Fashion Police The 2010 Academy Awards (2010)
04:59:56 INFO  [     app.lib.cron.renamer] Trying to find a home for: The Ward 2010 720p BRRip AC3 x264 MacGuffin.mkv
04:59:56 INFO  [          app.lib.library] Unable to fetch audio/video details for \\daruma\videos\incoming\CPTemp\The Ward 2010 720P Brrip Ac3 X264 Macguffin\The Ward 2010 720p BRRip AC3 x264 MacGuffin.mkv
04:59:56 INFO  [.movie.sources.theMovieDb] TheMovieDB - Found: []
04:59:50 INFO  [movie.sources.imdbWrapper] IMDB - Searching for movie: the ward 2010
04:59:50 INFO  [.movie.sources.theMovieDb] TheMovieDB - Found: []
04:59:49 INFO  [.movie.sources.theMovieDb] Searching: http://api.themoviedb.org/2.1/Movie.search/en/xml/9b939aee0aaafc12a65bf448e4af9543/the+ward+2010
04:59:49 INFO  [          app.lib.library] Searching for "The Ward 2010 720P Brrip Ac3 X264 Macguffin".

And before that, Submarine:

Code:
ApiError: Unknown TMDB data format: Nothing found.
    raise ApiError("Unknown TMDB data format: %s" % self.tmdb_data)
  File "C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/_MEI6402/library\xmg\xmg.py", line 75, in _validate_tmdb_json
    self._validate_tmdb_json()
  File "C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/_MEI6402/library\xmg\xmg.py", line 61, in __init__
    x = xmg.MetaGen(movie['movie'].imdb)
  File "C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/_MEI6402\app\lib\cron\renamer.py", line 118, in doRename
23:53:44 ERROR [     app.lib.cron.renamer] Traceback (most recent call last):
23:53:44 ERROR [     app.lib.cron.renamer] XMG TMDB API failure.  Please report to developers. API returned: Unknown TMDB data format: Nothing found.
23:53:43 INFO  [     app.lib.cron.trailer] Search for trailer for: The Cross Eyed Submarine (1917)
23:53:43 INFO  [    app.lib.cron.subtitle] Finding subtitles for: \\daruma\videos\movies\The Cross Eyed Submarine (1917)
23:53:43 INFO  [     app.lib.cron.trailer] Finding trailers for: \\daruma\videos\movies\The Cross Eyed Submarine (1917)
23:53:43 INFO  [     app.lib.cron.renamer] Moving matching subtitle.
23:53:43 INFO  [     app.lib.cron.renamer] Moving matching subtitle.
23:53:43 INFO  [     app.lib.cron.renamer] Moving file "\\daruma\videos\incoming\CPTemp\Submarine (2010)\avchd-submarine-2010-720p-bluray-x264.mkv" to \\daruma\videos\movies\The Cross Eyed Submarine (1917)\avchd-submarine-2010-720p-bluray-x264.mkv.
23:53:43 INFO  [     app.lib.cron.renamer] Quality Old: 0, New 3354.
23:53:43 INFO  [     app.lib.cron.renamer] Creating directory \\daruma\videos\movies\The Cross Eyed Submarine (1917)
23:53:43 INFO  [     app.lib.cron.renamer] Trying to find a home for: avchd-submarine-2010-720p-bluray-x264.mkv
23:53:43 INFO  [          app.lib.library] Unable to fetch audio/video details for \\daruma\videos\incoming\CPTemp\Submarine (2010)\avchd-submarine-2010-720p-bluray-x264.mkv
23:53:42 INFO  [.movie.sources.theMovieDb] TheMovieDB - Found: []
23:52:36 INFO  [movie.sources.imdbWrapper] IMDB - Searching for movie: submarine 2010
23:52:36 INFO  [.movie.sources.theMovieDb] TheMovieDB - Found: []
23:52:32 INFO  [.movie.sources.theMovieDb] Searching: http://api.themoviedb.org/2.1/Movie.search/en/xml/9b939aee0aaafc12a65bf448e4af9543/submarine+2010
23:52:32 INFO  [          app.lib.library] Searching for "Submarine (2010)".

I think the nzb was tagged with the wrong year, could that be the problem?


- bdbull - 2011-08-20

My installation has been unable to download anything in the past few days. The error message being printed is not very helpful in determining what might be causing the problem. Anyone know where I should look for this?

Log - http://pastebin.com/LPgEgHpB


- fryguy503 - 2011-08-21

Sorry if this has been answered, I did a search and only a few results came up none of which answered it.

Is there a plan to allow integration of CP with mysql database to prevent duplicated from being downloaded?


- HenryFord - 2011-08-21

johnmerrick Wrote:Does anyone ever get movies that are still in the completed download folder with _unpack_movie name still left over?
No, CouchPotato doesn't include those folders intentionally. You can disable the naming to "_UNPACK_" in Sabnzbd though...


- RuudBurger - 2011-08-21

Uhm, I don't think turning the _unpack_ tag off, is a good idea. CP will then move and rename uncompleted files.


- johnmerrick - 2011-08-21

i just rename them myself with Renamer. CP then moves the files. SABNZBD marks them as successfully completed and the file sizes look correct. It must be a bug somewhere. Only happens with some downloads.


- speed32219 - 2011-08-24

OK, I'm a total noob to sabnzbd and CP. I installed sabnzbd+ and then CP. I then figured out I need a usenet account, signed up for a unlimited account, I also had signed up with nzb.su months ago when I was going to take on this project.

Questions:

1.Where in CP do I put the nzb.su provider? I think I added it to sabnzbd+ though. (or at least an api key)

I do see NZBMatrix and about 4 others, but not the one I belong to. Can't there be a variable setting for a person to input whatever provider they are using, instead of hard coded ones?

Edit: Found a post that you can use the Newznab entry in the providers folder to add nzb.su, added it but do not know if it is working.

Does CP automagically add any 720p movies that I selected in setup. (Year 2000+, min/max file size, etc)? Can I set the genre?

Also, how can I tell it to only download 720/1080p moives with AC3 or DTS-MA or TrueHD audio?

It was a challenge getting this setup to work, now I need a wiki to tell me how to use everything. Blush So if I can get more info on how to use it, provide me a link and please send me on my way. So far it has downloaded 2 movies, but not the ones I had on the wanted list.

Success, I looked at the logs and my min. file size was to high. I was starting it at 2T, changed it to 1T min file size and it has notified me on the TV that all three movies are now being processed. Really great! But I still need a user manual or guide to figure how this all works, so I can maximize my use of this great program.

Edit: found http://www.ainer.org/couch-potato-install-setup-configuration-guide-for-ubuntu-linux-mint/1, but it is way to wordy.


- RuudBurger - 2011-08-24

If you are having trouble with the file sizing (because you did edit it without knowing what it was Wink) I recommend you read every single word of it Big Grin
You can fill in your preferred tags in settings, CP will then (when available) give those the highest score.


- speed32219 - 2011-08-25

RuudBurger Wrote:If you are having trouble with the file sizing (because you did edit it without knowing what it was Wink) I recommend you read every single word of it Big Grin [b]UGH![/b] I'm a CLI type of guy. Wink
You can fill in your preferred tags in settings, CP will then (when available) give those the highest score.

OK, sorted everything out, thanks for this wonderful plugin. But, yes there is a but, if I set 720p or 1080p or BR-rip and selected wanted, then search for "The Lincoln Lawyer (2001)" I get this little back/return arrow to the left of the text search box. If I put my cursor on it it states, "No Good, undo". Is it not suppose to add a movie if it finds it on IMDB/TheMovieDb and keep it there searching for a period of time? (5 days, even though a 720p is not available but a dvix avi is)

Same symptoms if I try and add a movie that is being release for rental next week.

Log snippet: for Only You (2011) (release date next Tuesday). And when I go to soon there are no movies or anything on the screen. It found Only You (Various dates) and for 2011 using TheMovieDB and IMDB, but it does not add it to the soon screen.

Code:
00:03:37 INFO  [.movie.sources.theMovieDb] TheMovieDB - Found: []
00:03:36 INFO  [.movie.sources.theMovieDb] TheMovieDB - Found: []
00:03:36 INFO  [.movie.sources.theMovieDb] TheMovieDB - Found: []
00:03:35 INFO  [.movie.sources.theMovieDb] TheMovieDB - Found: []
00:03:35 INFO  [.movie.sources.theMovieDb] TheMovieDB - Found: []
00:03:33 INFO  [.movie.sources.theMovieDb] TheMovieDB - Found: [{'year': '1992', 'imdb': 'tt0105059', 'id': 64039, 'name': u'Only you'}]
00:03:32 INFO  [.movie.sources.theMovieDb] TheMovieDB - Found: [{'year': '1994', 'imdb': 'tt0110737', 'id': 9058, 'name': u'Only You'}]
00:03:32 INFO  [.movie.sources.theMovieDb] TheMovieDB - Found: [{'year': '1967', 'imdb': 'tt0062512', 'id': 667, 'name': u'You Only Live Twice'}]
00:03:29 INFO  [movie.sources.imdbWrapper] IMDB - Searching for movie: only you (2011)
00:03:29 INFO  [.movie.sources.theMovieDb] TheMovieDB - Found: []
00:03:28 INFO  [.movie.sources.theMovieDb] Searching: http://api.themoviedb.org/2.1/Movie.search/en/xml/9b939aee0aaafc12a65bf448e4af9543/only+you+2011+
00:01:53 INFO  [       app.config.updater] No update available
23:57:03 INFO  [        app.lib.cron.yarr] Finished search.
23:57:03 INFO  [        app.lib.cron.yarr] Searching for new downloads, for all movies.
21:56:58 INFO  [        app.lib.cron.yarr] Finished search.
21:56:58 INFO  [        app.lib.cron.yarr] Searching for new downloads, for all movies.
20:10:47 INFO  [.movie.sources.theMovieDb] TheMovieDB - Found: [{'year': '2011', 'imdb': 'tt1189340', 'id': 50348, 'name': u'The Lincoln Lawyer'}, {'year': '2011', 'imdb': 'tt1189340', 'id': 50348, 'name': u' '}]
20:10:45 INFO  [.movie.sources.theMovieDb] Searching: http://api.themoviedb.org/2.1/Movie.search/en/xml/9b939aee0aaafc12a65bf448e4af9543/the+lincoln+lawyer
20:10:13 INFO  [             app.lib.xbmc] XBMC notification to 192.168.1.75:8080 successful.
20:10:13 INFO  [          app.lib.sabNzbd] NZB sent to SAB successfully.

EDIT: Now it's showing up if I select 1080p from the drop box and has started to download. Why will it not add a 720p version, even though it may not be currently available, including tomorrows new releases?

Note to self, add more disk space! (like another nas expansion of 8-12TB)


- RuudBurger - 2011-08-25

You need to click "add" again. As CP can find multiple versions, and you still have to choose the correct one.


- rflores2323 - 2011-08-25

I was wondering how CP handles trailers. Does it actually download the trailer and name them or just adds a link to a trailer from a site? Also if I do the download trailers in the manage section does it look up my whole xbmc database and download all the trailers for all my movies? Or does it only download trailers for the movies that show has downloaded by CP?


- johnmerrick - 2011-08-25

downloads trailers, renames them movie-trailer and puts them in the movie folder


- rflores2323 - 2011-08-25

johnmerrick Wrote:downloads trailers, renames them movie-trailer and puts them in the movie folder

will it only do the ones that CP has downloaded and shown in my movie destinatoin folder? I have several drives with movies in them and want them to get the trailers also. How can I get CP to see those movies and download the trailers to there? Do I jsut change the movie destination folder and it will scan those movies?


- speed32219 - 2011-08-26

RuudBurger Wrote:You need to click "add" again. As CP can find multiple versions, and you still have to choose the correct one.

Yes, I found that when that return arrow symbol appears next to the search box, you can then depress the down arrow button on the box and it will list a slew of films, dates and qualities it has found. Then you can select which one you want, and there are some out there with the wrong dates and if you select them it just clears everything and you need to start all over. Couldn't find that in a wiki doc though.

But Sab, CP and SB so far are an awesome find. Now to add the Headphones, sure do need more disk space. Big Grin

Ques: I have a lot of movies I got from Icefilms, which has a decent 720p quality but without the AC3/DTS 5.1 or Truehd sound tracks. Does CP look at the installed movies within the folder or XBMC DB, and find a better resolution/sound and automagically delete and update the movie?


- toymachine2009 - 2011-08-26

Quick question. I have the prob of both cp and sickbeard downloading to same folder documents\downloads\complete and they interfere with each other where do I go to set cp to downloads\complete\movies and sickbeard to \tv shows where do I set this? In sabnzb? If so where?

Thanks in advance