2011-04-26, 17:00
My installation of CP does not seem to be able to lookup downloaded movies correctly. CP searches and downloads the movie okay, but renames the movie incorrectly each time. I've tested with a bunch of different movies and each one exhibits the same behaviour.
Looking through the log it appears that it is not sending the right query to themoviedb. After sending the file to Sab it then tries searching for 'Movies' which will always return that 'Movies, Aspirin and Vultures' item. It should be searching for the movie being downloaded, as with the initial search during movie discovery.
I'm running CP from git and using version, 0d1ff38, as of 2011-04-26.
Any ideas? My first thought was a permissions issue or such with the local db such that it is not storing the movie information for the renamer job to find.
Thanks,
Seoras.
Looking through the log it appears that it is not sending the right query to themoviedb. After sending the file to Sab it then tries searching for 'Movies' which will always return that 'Movies, Aspirin and Vultures' item. It should be searching for the movie being downloaded, as with the initial search during movie discovery.
I'm running CP from git and using version, 0d1ff38, as of 2011-04-26.
Any ideas? My first thought was a permissions issue or such with the local db such that it is not storing the movie information for the renamer job to find.
Thanks,
Seoras.
Code:
08:19:31 INFO [.movie.sources.theMovieDb] Searching: http://api.themoviedb.org/2.1/Movie.search/en/xml/9b939aee0aaafc12a65bf448e4af9543/no+strings+attached
08:19:31 INFO [.movie.sources.theMovieDb] TheMovieDB - Found: [{'year': '2011', 'imdb': 'tt1411238', 'id': 41630, 'name': u'No Strings Attached'}, {'year': '2011', 'imdb': 'tt1411238', 'id': 41630, 'name': u'Sex friends'}]
08:19:31 INFO [ ENGINE] Started monitor thread 'Session cleanup'.
08:19:35 INFO [ app.controllers.movie] Adding movie to database: No Strings Attached
08:19:36 INFO [lib.provider.movie.search] Getting extra movie info for No Strings Attached.
08:19:38 INFO [ app.lib.cron.eta] Searching page:1 VideoETA for No Strings Attached.
08:19:39 INFO [ider.yarr.sources.newzbin] Searching: https://www.newzbin.com/search/?sort=ps_totalsize&category=6&ps_rb_source=-1&ps_rb_video_format=2097152&u_post_results_amt=100&feed=rss&u_url_posts_only=0&searchaction=Search&q_url=imdb.com%2Ftitle%2Ftt1411238&u_show_passworded=0&order=asc
08:19:39 INFO [ app.lib.cron.eta] Scanning http://videoeta.com/movie/123054.
08:19:52 INFO [er.yarr.sources.nzbmatrix] Searching: http://rss.nzbmatrix.com/rss.php?username=XXXXXX&term=tt1411238&apikey=XXXXXXX&subcat=42&searchin=weblink&english=0
08:20:02 INFO [er.yarr.sources.nzbmatrix] Found: No Strings Attached 2011 1080p BluRay X264 AMIABLE
08:20:02 INFO [er.yarr.sources.nzbmatrix] Found: No Strings Attached 2011 1080p BluRay X264 Multi Subtox
08:20:02 INFO [pp.lib.provider.yarr.base] Wrong: No Strings Attached 2011 720p BluRay X264 AMIABLE, looking for 1080P
08:20:12 INFO [.lib.provider.yarr.search] Checking if https://api.nzbmatrix.com/v1.1/download.php?id=915311&username=XXXXXX&apikey=XXXXXX is valid.
08:20:23 INFO [ app.lib.sabNzbd] Sending 'No Strings Attached 2011 1080p BluRay X264 AMIABLE' to SABnzbd.
08:20:23 INFO [ app.lib.sabNzbd] URL: http://localhost:8080/sabnzbd/api?ma_password=XXXXXX&apikey=XXXXXX&name=https%3A%2F%2Fapi.nzbmatrix.com%2Fv1.1%2Fdownload.php%3Fid%3D915311%26username%3DXXXXXX%26apikey%3DXXXXXX&cat=movies&mode=addurl&ma_username=XXXXXX
08:20:24 INFO [ app.lib.sabNzbd] NZB sent to SAB successfully.
09:08:10 INFO [ app.lib.library] Searching for "Movies".
09:08:10 INFO [.movie.sources.theMovieDb] Searching: http://api.themoviedb.org/2.1/Movie.search/en/xml/9b939aee0aaafc12a65bf448e4af9543/movies
09:08:10 INFO [.movie.sources.theMovieDb] Found movie, but with no date, getting data from tt0373760.
09:08:12 INFO [.movie.sources.theMovieDb] TheMovieDB - Found: [{'year': 2005, 'imdb': 'tt0373760', 'id': 43420, 'name': u'Movies, Aspirin and Vultures'}]
09:08:15 INFO [ app.lib.library] Retrieved metainfo: {u'subtitle': [{u'compression': u'UTF8', u'language': u'English'}], u'common': [{u'duration': u'1:47:58', u'mime type': u'video/x-matroska', u'producer': u'mkv2rls v1.4 (date: 2011 mar 29)', u'endianness': u'Big endian'}], u'audio stream': [{u'language': u'English', u'compression': u'DTS', u'channel': 6, u'sample rate': 48000.0}], u'video stream': [{u'image width': 1920, u'image height': 800, u'compression': u'AVC'}]}
09:08:15 INFO [ app.lib.cron.renamer] Trying to find a home for: No Strings Attached (2011).mkv
09:08:15 INFO [ app.lib.cron.renamer] Creating directory /home/XXXXXX/Downloads/CouchPotato/Movies, Aspirin and Vultures (2005)
09:08:15 INFO [ app.lib.cron.renamer] Quality Old: 0, New 7831.
09:08:15 INFO [ app.lib.cron.renamer] Moving file "/home/XXXXXX/Downloads/sabNZBd/complete/Movies/No Strings Attached (2011).mkv" to /home/XXXXXX/Downloads/CouchPotato/Movies, Aspirin and Vultures (2005)/Movies, Aspirin and Vultures (2005).mkv.
09:08:15 INFO [ app.lib.cron.renamer] Moving matching subtitle.
09:08:15 INFO [ app.lib.cron.renamer] Moving matching subtitle.
09:08:15 INFO [ app.lib.cron.trailer] Finding trailers for: /home/XXXXXX/Downloads/CouchPotato/Movies, Aspirin and Vultures (2005)
09:08:15 INFO [ app.lib.cron.subtitle] Finding subtitles for: /home/XXXXXX/Downloads/CouchPotato/Movies, Aspirin and Vultures (2005)
09:08:15 INFO [ app.lib.cron.subtitle] Start adding movies to subtitle search.
09:08:15 INFO [ app.lib.cron.subtitle] Done adding movies to subtitle search.
09:08:16 INFO [ app.lib.cron.renamer] XBMC metainfo for imdbid, tt0373760, generated
09:08:16 INFO [ app.lib.cron.renamer] Removing file /home/XXXXXX/Downloads/sabNZBd/complete/Movies/no.strings.attached.2011.1080p.bluray.x264-amiable.jpg.
09:08:16 INFO [ app.lib.cron.renamer] Removing dir: /home/XXXXXX/Downloads/sabNZBd/complete/Movies in download dir.