Getting a 3rd party provider to work?

So you made CouchPotato even more awsome?
mbeltoft
Junior Member
Posts: 31
Joined: 19 Sep 2012 18:58
Has thanked: 4 times
Contact:
Status: Offline

Getting a 3rd party provider to work?

Postby mbeltoft » 07 Aug 2014 15:17

I'm trying to get this 3rd party provider to work on my Ubuntu server running the newest version of CP
https://github.com/Xirg/cps.nxtgn

im aware that i should change the def start() to def autoload() but I can't figure out where to place those files.
I seems like the folder structure have been changed and now there's not a folder to each torrent provider anymore.

if this is completely outdated then I would like to know if theres a working provider for nxtgen somewhere else

User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby clinton.hall » 07 Aug 2014 22:53

Custom providers needs to go in the custom plugins folder in the data_dir.

There are a few changes that have been made, so you may need to debug this code to get it working.

mbeltoft
Junior Member
Posts: 31
Joined: 19 Sep 2012 18:58
Has thanked: 4 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby mbeltoft » 07 Aug 2014 23:20

Could you be more specific on where the files should be placed? Can I just place the 2 files in its own folder under the plug in folder?

User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby clinton.hall » 08 Aug 2014 00:27

Look at this example. https://github.com/clinton-hall/couchpotato.provider.quorks
So you need 2 files, inside their own folder that is in the plugins folder.

mbeltoft
Junior Member
Posts: 31
Joined: 19 Sep 2012 18:58
Has thanked: 4 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby mbeltoft » 08 Aug 2014 08:32

okay got it

I've made a folder within the custom_plugins folder and placed the 2 files there and made sure i have the right permissions to them.
then I restart CP but it does not show up in the searcher providers. also I can't see it being loaded in the logs

User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby clinton.hall » 08 Aug 2014 09:31

Compare the structure/format of the files to that of the script posted above...

mbeltoft
Junior Member
Posts: 31
Joined: 19 Sep 2012 18:58
Has thanked: 4 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby mbeltoft » 08 Aug 2014 10:26

the structure is pretty much the same.

I've added movieprovider til main.py but else i can't see much differance.

shouldn't I be able to see CP trying to load it in the log? something along the line of this:
INFO[ couchpotato.core.loader] Loaded media_movie_providers_torrent: nxtgen

there's nothing in the log indicating that its trying (and maybe failing) loading the provider

User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby clinton.hall » 09 Aug 2014 14:38

yes, it will log at startup to say it is loading (or failed).

mbeltoft
Junior Member
Posts: 31
Joined: 19 Sep 2012 18:58
Has thanked: 4 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby mbeltoft » 09 Aug 2014 20:54

But it doesn't show up on the log at all. I've tried with the example you linked to and it works as expected so could you give me and indication of what could be the problem with the nxtgen I'm trying to get to work as i can't see any difference between the two.

What should I look for if CP doesn't even try to load the provider?

User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby clinton.hall » 09 Aug 2014 23:52

I don't know. This needs to have the correct format. 2 files, with the correct classes defined and the init file calling the correct class etc.
Also, they need to be correctly formatted python.

You can try posting the code and I'll try and find time to test and debug.

mbeltoft
Junior Member
Posts: 31
Joined: 19 Sep 2012 18:58
Has thanked: 4 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby mbeltoft » 10 Aug 2014 10:43

thanks :)

Here are the 2 files
Attachments
nxtgen.zip
(2.51 KiB) Downloaded 262 times

User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby clinton.hall » 10 Aug 2014 14:14

in main.py

change

Code: Select all

from couchpotato.core.providers.torrent.base import TorrentProvider

to

Code: Select all

from couchpotato.core.media._base.providers.torrent.base import TorrentProvider

mbeltoft
Junior Member
Posts: 31
Joined: 19 Sep 2012 18:58
Has thanked: 4 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby mbeltoft » 10 Aug 2014 21:33

thanks :D It is now loading and seem to work but I'm getting a couple of errors and CP can't find any movies.

I'm not sure if its because it can't log into the site or if its a problem with the scraping of the site

Code: Select all

08-10 21:24:07INFO[hpotato.core.plugins.base] Opening url: get https://nxtgn.org/login.php, data: []
08-10 21:24:08INFO[hpotato.core.plugins.base] Opening url: get https://nxtgn.org/takelogin.php?csrf=b8440a5457944342429b3d67fsd4108409&username=xxx&password=xxx
08-10 21:24:09ERROR[   couchpotato.core.event] Error in event "provider.search.torrent.movie", that wasn't caught: Traceback (most recent call last):
  File "/home/beltoft/.CouchPotatoServer/couchpotato/core/event.py", line 15, in runHandler
    return handler(*args, **kwargs)
  File "/home/beltoft/.CouchPotatoServer/couchpotato/core/media/_base/providers/base.py", line 213, in search
    self._searchOnTitle(title, media, quality, results)
  File "/var/couchpotato/custom_plugins/nxtgen/main.py", line 43, in _searchOnTitle
    for x in self.getCatId(quality['identifier']):
  File "/home/beltoft/.CouchPotatoServer/couchpotato/core/media/_base/providers/base.py", line 256, in getCatId
    identifier = quality.get('identifier')
AttributeError: 'str' object has no attribute 'get'
encoding=UTF-8 debug=False args=['--quiet', '--daemon', '--pid_file=/var/run/couchpotato.pid', '--data_dir=/var/couchpotato'] app_dir=/home/beltoft/.CouchPotatoServer data_dir=/var/couchpotato desktop=None options=Namespace(config_file='/var/couchpotato/settings.conf', console_log=False, daemon=True, data_dir='/var/couchpotato', debug=False, pid_file='/var/run/couchpotato.pid', quiet=True)
08-10 21:24:09INFO[core.media.movie.searcher] Search for Mall in 1080p ignoring ETA
08-10 21:24:09ERROR[   couchpotato.core.event] Error in event "provider.search.torrent.movie", that wasn't caught: Traceback (most recent call last):
  File "/home/beltoft/.CouchPotatoServer/couchpotato/core/event.py", line 15, in runHandler
    return handler(*args, **kwargs)
  File "/home/beltoft/.CouchPotatoServer/couchpotato/core/media/_base/providers/base.py", line 213, in search
    self._searchOnTitle(title, media, quality, results)
  File "/var/couchpotato/custom_plugins/nxtgen/main.py", line 43, in _searchOnTitle
    for x in self.getCatId(quality['identifier']):
  File "/home/beltoft/.CouchPotatoServer/couchpotato/core/media/_base/providers/base.py", line 256, in getCatId
    identifier = quality.get('identifier')
AttributeError: 'str' object has no attribute 'get'
encoding=UTF-8 debug=False args=['--quiet', '--daemon', '--pid_file=/var/run/couchpotato.pid', '--data_dir=/var/couchpotato'] app_dir=/home/beltoft/.CouchPotatoServer data_dir=/var/couchpotato desktop=None options=Namespace(config_file='/var/couchpotato/settings.conf', console_log=False, daemon=True, data_dir='/var/couchpotato', debug=False, pid_file='/var/run/couchpotato.pid', quiet=True)

User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby clinton.hall » 11 Aug 2014 01:50

in main.py change line 43 from

Code: Select all

      for x in self.getCatId(quality['identifier']):

to

Code: Select all

      for x in self.getCatId(quality):


and line 46 from

Code: Select all

      searchurl = self.urls['search'] % (tryUrlencode('%s %s' % (title.replace(':', ''), movie['library']['year'])), categories)

to

Code: Select all

      searchurl = self.urls['search'] % (tryUrlencode('%s %s' % (title.replace(':', ''), movie['info']['year'])), categories)

mbeltoft
Junior Member
Posts: 31
Joined: 19 Sep 2012 18:58
Has thanked: 4 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby mbeltoft » 11 Aug 2014 09:51

Yes now it's almost working.

I tried to manually add a movie I know is on nxtgen and enabled only that provider.
CP searches for the movie but does not find anything.
I can see in the log that to correct search url is created and when i click it I will also get to a result page with the right movie however CP does not snatch it

theres not errors in the log this time

User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby clinton.hall » 11 Aug 2014 11:22

Enable debug logging in CP, restart, perform a search and post the full logs here.

mbeltoft
Junior Member
Posts: 31
Joined: 19 Sep 2012 18:58
Has thanked: 4 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby mbeltoft » 11 Aug 2014 12:13

heres the full log:

I did a search for "son of Batman" that it should find but nothing is found

Code: Select all

08-11 12:05:32INFO[chpotato.core._base._core] Restarting
08-11 12:05:32INFO[0mShutting down thread pool
08-11 12:05:33DEBUG[       couchpotato.runner] Started with options Namespace(config_file='/var/couchpotato/settings.conf', console_log=False, daemon=True, data_dir='/var/couchpotato', debug=False, pid_file='/var/run/couchpotato.pid', quiet=True)
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded core: _core
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded core: clientscript
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded core: desktop
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded core: downloader
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded core: scheduler
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded core: updater
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded plugin: automation
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded plugin: browser
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded plugin: category
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded plugin: custom
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded plugin: dashboard
08-11 12:05:34INFO[tato.core._base.scheduler] Scheduling file.cleanup, interval: hours = 24, minutes = 0, seconds = 0
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded plugin: file
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded plugin: log
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded plugin: manage
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded plugin: profile
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded plugin: quality
08-11 12:05:34INFO[tato.core._base.scheduler] Scheduling movie.clean_releases, interval: hours = 12, minutes = 0, seconds = 0
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded plugin: release
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded plugin: renamer
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded plugin: scanner
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded plugin: score
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded plugin: subtitle
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded plugin: trailer
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded plugin: userscript
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded plugin: wizard
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded downloaders: blackhole
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded downloaders: deluge
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded downloaders: nzbget
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded downloaders: nzbvortex
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded downloaders: pneumatic
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded downloaders: qbittorrent_
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded downloaders: rtorrent_
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded downloaders: sabnzbd
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded downloaders: synology
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded downloaders: transmission
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded downloaders: utorrent
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded notifications: boxcar2
08-11 12:05:34INFO[tato.core._base.scheduler] Scheduling core.check_messages, interval: hours = 12, minutes = 0, seconds = 0
08-11 12:05:34INFO[tato.core._base.scheduler] Scheduling core.clean_messages, interval: hours = 0, minutes = 0, seconds = 15
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded notifications: core
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded notifications: email_
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded notifications: growl
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded notifications: nmj
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded notifications: notifymyandroid
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded notifications: notifymywp
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded notifications: plex
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded notifications: prowl
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded notifications: pushalot
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded notifications: pushbullet
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded notifications: pushover
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded notifications: synoindex
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded notifications: toasty
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded notifications: trakt
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded notifications: twitter
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded notifications: xbmc
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded notifications: xmpp_
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media__base_library: library
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media__base_matcher: matcher
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media__base_media: media
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media__base_search: search
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media__base: searcher
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie__base: _base
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie: charts
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie: library
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_automation: bluray
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_automation: flixster
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_automation: goodfilms
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_automation: imdb
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_automation: itunes
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_automation: kinepolis
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_automation: letterboxd
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_automation: moviemeter
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_automation: movies_io
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_automation: popularmovies
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_automation: rottentomatoes
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_automation: trakt
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_info: _modifier
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_info: couchpotatoapi
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_info: fanarttv
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_info: omdbapi
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_info: themoviedb
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_metadata: mediabrowser
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_metadata: ps3
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_metadata: wmc
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_metadata: xbmc
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_nzb: binsearch
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_nzb: newznab
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_nzb: nzbclub
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_nzb: nzbindex
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_nzb: omgwtfnzbs
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_torrent: awesomehd
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_torrent: bithdtv
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_torrent: bitsoup
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_torrent: hdbits
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_torrent: ilovetorrents
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_torrent: iptorrents
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_torrent: kickasstorrents
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_torrent: passthepopcorn
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_torrent: sceneaccess
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_torrent: thepiratebay
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_torrent: torrentbytes
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_torrent: torrentday
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_torrent: torrentleech
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_torrent: torrentpotato
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_torrent: torrentshack
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_torrent: torrentz
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_torrent: yify
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_trailer: hdtrailers
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_userscript: allocine
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_userscript: appletrailers
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_userscript: criticker
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_userscript: filmcentrum
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_userscript: filmstarts
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_userscript: filmweb
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_userscript: flickchart
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_userscript: imdb
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_userscript: letterboxd
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_userscript: moviemeter
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_userscript: moviesio
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_userscript: reddit
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_userscript: rottentomatoes
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_userscript: sharethe
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_userscript: tmdb
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_userscript: trakt
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_userscript: whiwa
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_providers_userscript: youteather
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie: searcher
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded media_movie_suggestion: main
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded custom_plugins: nxtgen
08-11 12:05:34INFO[  couchpotato.core.loader] Loaded custom_plugins: quorks
08-11 12:05:34DEBUG[couchpotato.core.settings] Saved settings
08-11 12:05:34INFO[       couchpotato.runner] Starting server on port 5050
08-11 12:05:34DEBUG[   couchpotato.core.event] Assume disabled eventhandler for: schedule.remove
08-11 12:05:34INFO[tato.core._base.scheduler] Scheduling updater.check, interval: hours = 6, minutes = 0, seconds = 0
08-11 12:05:34INFO[tato.core._base.scheduler] Scheduling charts.update_cache, interval: hours = 12, minutes = 0, seconds = 0
08-11 12:05:34INFO[potato.core._base.updater] Checking for new version on github for CouchPotatoServer
08-11 12:05:34INFO[tato.core._base.scheduler] Scheduling "movie.searcher.all", cron: day = *, hour = *, minute = 34
08-11 12:05:35DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:35INFO[tato.core._base.scheduler] Scheduling automation.add_movies, interval: hours = 12, minutes = 0, seconds = 0
08-11 12:05:35DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:35DEBUG[potato.core._base.updater] Git version output: e75a8529c99996a0ba20fdcf83d424b6597bc3f8
08-11 12:05:35DEBUG[tato.core.plugins.release] Removing releases from dashboard
08-11 12:05:35DEBUG[providers.automation.imdb] Getting IMDBs from: http://www.imdb.com/user/ur24581508/watchlist?view=compact&sort=created:asc&start=0
08-11 12:05:35INFO[hpotato.core.plugins.base] Opening url: get http://www.imdb.com/user/ur24581508/watchlist?view=compact&sort=created:asc&start=0, data: []
08-11 12:05:35INFO[potato.core._base.updater] === VERSION git:(RuudBurger:CouchPotatoServer master) e75a8529 (2014-07-17 22:24:48), using GitUpdater ===
08-11 12:05:35INFO[hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/messages/?last_check=1384713000, data: []
08-11 12:05:35DEBUG[hpotato.core.plugins.base] /var/couchpotato/cache/minified/front.css already exists, overwriting file with new version
08-11 12:05:35DEBUG[hpotato.core.plugins.base] /var/couchpotato/cache/minified/head.css already exists, overwriting file with new version
08-11 12:05:35DEBUG[hpotato.core.plugins.base] Setting cache b310b0c4120d474158f93de1eb3164d2
08-11 12:05:35DEBUG[to.core.media._base.media] Changing status for Dawn of the Planet of the Apes
08-11 12:05:35DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:35DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:35INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], Dawn of the Planet of the Apes
08-11 12:05:35DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:35DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:35DEBUG[to.core.media._base.media] Changing status for The Hunger Games: Mockingjay - Part 1
08-11 12:05:35DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:35DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:35INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], The Hunger Games: Mockingjay - Part 1
08-11 12:05:35DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:35DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:35DEBUG[to.core.media._base.media] Changing status for I, Robot 2
08-11 12:05:35DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:35DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:35INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], I, Robot 2
08-11 12:05:35DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:35DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:35DEBUG[to.core.media._base.media] Changing status for Salt 2
08-11 12:05:35DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:35DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:35INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], Salt 2
08-11 12:05:35DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:35DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:35DEBUG[to.core.media._base.media] Changing status for The Purge: Anarchy
08-11 12:05:35DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:35DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:35INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], The Purge: Anarchy
08-11 12:05:35DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:35DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:35DEBUG[to.core.media._base.media] Changing status for Terminator: Genesis
08-11 12:05:35DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:35DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:35INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], Terminator: Genesis
08-11 12:05:35DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:35DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:35DEBUG[to.core.media._base.media] Changing status for Pirates of the Caribbean 6
08-11 12:05:35DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:35DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:35INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], Pirates of the Caribbean 6
08-11 12:05:35DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:35DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:35DEBUG[to.core.media._base.media] Changing status for The Tournament
08-11 12:05:35DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:36DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:36INFO[core.media.movie.searcher] Search for The Tournament in 1080p
08-11 12:05:36INFO[hpotato.core.plugins.base] Opening url: get https://nxtgn.org/login.php, data: []
08-11 12:05:36DEBUG[hpotato.core.plugins.base] Setting cache 54460c3b6643bb998d316915ef608f5b
08-11 12:05:36DEBUG[potato.core._base.updater] Versions, local:e75a8529, remote:e75a8529
08-11 12:05:36DEBUG[hpotato.core.plugins.base] Setting cache 01598322c4ad2d34f4dc73dd565ab5b4
08-11 12:05:36DEBUG[hpotato.core.plugins.base] Waiting for nxtgn, 0 seconds
08-11 12:05:36DEBUG[providers.automation.imdb] Found 40 movies on http://www.imdb.com/user/ur24581508/watchlist?view=compact&sort=created:asc&start=0
08-11 12:05:37INFO[hpotato.core.plugins.base] Opening url: get https://nxtgn.org/takelogin.php?csrf=7c98a0494a94cc399703d29cfabadbf1&username=xxx&password=xxx
08-11 12:05:38DEBUG[hpotato.core.plugins.base] Waiting for nxtgn, 0 seconds
08-11 12:05:39INFO[hpotato.core.plugins.base] Opening url: get http://nxtgn.org/browse.php?search=the+tournament+2009&cat=0&incldead=0&modes=&c9=1&c33=1&c38=1&c43=1&c47=1, data: []
08-11 12:05:39DEBUG[hpotato.core.plugins.base] Setting cache c6c6cc5f6d9baf093015519c481e5938
08-11 12:05:40DEBUG[hpotato.core.plugins.base] /var/couchpotato/cache/minified/front.js already exists, overwriting file with new version
08-11 12:05:40DEBUG[core.media.movie.searcher] Nothing found for The Tournament in 1080p
08-11 12:05:40INFO[core.media.movie.searcher] Search for The Tournament in 1080p
08-11 12:05:40DEBUG[hpotato.core.plugins.base] Getting cache c6c6cc5f6d9baf093015519c481e5938
08-11 12:05:40DEBUG[core.media.movie.searcher] Nothing found for The Tournament in 1080p
08-11 12:05:40DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:40DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:40DEBUG[to.core.media._base.media] Changing status for Timestalkers
08-11 12:05:40DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:40DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:40INFO[core.media.movie.searcher] Search for Timestalkers in 1080p
08-11 12:05:40DEBUG[hpotato.core.plugins.base] Waiting for nxtgn, 0 seconds
08-11 12:05:40INFO[hpotato.core.plugins.base] Opening url: get http://nxtgn.org/browse.php?search=timestalkers+1987&cat=0&incldead=0&modes=&c9=1&c33=1&c38=1&c43=1&c47=1, data: []
08-11 12:05:40DEBUG[hpotato.core.plugins.base] Setting cache 56f5f8105b326ce988f8c42e7c29d270
08-11 12:05:41DEBUG[core.media.movie.searcher] Nothing found for Timestalkers in 1080p
08-11 12:05:41INFO[core.media.movie.searcher] Search for Timestalkers in 1080p
08-11 12:05:41DEBUG[hpotato.core.plugins.base] Getting cache 56f5f8105b326ce988f8c42e7c29d270
08-11 12:05:41DEBUG[core.media.movie.searcher] Nothing found for Timestalkers in 1080p
08-11 12:05:41DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:41DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:41DEBUG[to.core.media._base.media] Changing status for Pirates of the Caribbean: Dead Men Tell No Tales
08-11 12:05:41DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:41DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:41INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], Pirates of the Caribbean: Dead Men Tell No Tales
08-11 12:05:41DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:41DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:41DEBUG[to.core.media._base.media] Changing status for Human Nature
08-11 12:05:41DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:41DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:41INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], Human Nature
08-11 12:05:41DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:41DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:41DEBUG[hpotato.core.plugins.base] /var/couchpotato/cache/minified/head.js already exists, overwriting file with new version
08-11 12:05:41DEBUG[to.core.media._base.media] Changing status for Guardians of the Galaxy
08-11 12:05:41DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:41DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:41INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], Guardians of the Galaxy
08-11 12:05:41DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:41DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:41DEBUG[to.core.media._base.media] Changing status for Kill Bill: Vol. 3
08-11 12:05:41DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:41DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:41INFO[core.media.movie.searcher] Search for Kill Bill: Vol. 3 in 1080p
08-11 12:05:41DEBUG[hpotato.core.plugins.base] Waiting for nxtgn, 0 seconds
08-11 12:05:41INFO[hpotato.core.plugins.base] Opening url: get http://nxtgn.org/browse.php?search=kill+bill+vol.+3+2012&cat=0&incldead=0&modes=&c9=1&c33=1&c38=1&c43=1&c47=1, data: []
08-11 12:05:41DEBUG[hpotato.core.plugins.base] Setting cache f2bd3343bbe7d282b092e0a7921aff1c
08-11 12:05:41DEBUG[hpotato.core.plugins.base] Getting cache f2bd3343bbe7d282b092e0a7921aff1c
08-11 12:05:41DEBUG[hpotato.core.plugins.base] Waiting for nxtgn, 0 seconds
08-11 12:05:42INFO[hpotato.core.plugins.base] Opening url: get http://nxtgn.org/browse.php?search=kill+bill+vol+3+2012&cat=0&incldead=0&modes=&c9=1&c33=1&c38=1&c43=1&c47=1, data: []
08-11 12:05:43DEBUG[hpotato.core.plugins.base] Setting cache c50cb75e491b44a6804608eb16b1e822
08-11 12:05:43DEBUG[core.media.movie.searcher] Nothing found for Kill Bill: Vol. 3 in 1080p
08-11 12:05:43INFO[core.media.movie.searcher] Search for Kill Bill: Vol. 3 in 1080p
08-11 12:05:43DEBUG[hpotato.core.plugins.base] Getting cache f2bd3343bbe7d282b092e0a7921aff1c
08-11 12:05:43DEBUG[hpotato.core.plugins.base] Getting cache f2bd3343bbe7d282b092e0a7921aff1c
08-11 12:05:43DEBUG[hpotato.core.plugins.base] Getting cache c50cb75e491b44a6804608eb16b1e822
08-11 12:05:43DEBUG[core.media.movie.searcher] Nothing found for Kill Bill: Vol. 3 in 1080p
08-11 12:05:43DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:43DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:43DEBUG[to.core.media._base.media] Changing status for Lucy
08-11 12:05:43DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:43DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:43INFO[core.media.movie.searcher] Search for Lucy in 1080p
08-11 12:05:43DEBUG[hpotato.core.plugins.base] Waiting for nxtgn, 0 seconds
08-11 12:05:44INFO[hpotato.core.plugins.base] Opening url: get http://nxtgn.org/browse.php?search=lucy+2014&cat=0&incldead=0&modes=&c9=1&c33=1&c38=1&c43=1&c47=1, data: []
08-11 12:05:44DEBUG[hpotato.core.plugins.base] Setting cache 353f125c571ecf1064e1ebbc1f6c6262
08-11 12:05:44DEBUG[core.media.movie.searcher] Nothing found for Lucy in 1080p
08-11 12:05:44INFO[core.media.movie.searcher] Search for Lucy in 1080p
08-11 12:05:44DEBUG[hpotato.core.plugins.base] Getting cache 353f125c571ecf1064e1ebbc1f6c6262
08-11 12:05:44DEBUG[core.media.movie.searcher] Nothing found for Lucy in 1080p
08-11 12:05:44DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:44DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:44DEBUG[to.core.media._base.media] Changing status for The Reckoning
08-11 12:05:44DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:44DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:44INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], The Reckoning
08-11 12:05:44DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:44DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:44DEBUG[to.core.media._base.media] Changing status for A Royal Affair
08-11 12:05:44DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:44DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:44INFO[core.media.movie.searcher] Search for A Royal Affair in 1080p
08-11 12:05:44DEBUG[hpotato.core.plugins.base] Waiting for nxtgn, 0 seconds
08-11 12:05:45INFO[hpotato.core.plugins.base] Opening url: get http://nxtgn.org/browse.php?search=a+royal+affair+2012&cat=0&incldead=0&modes=&c9=1&c33=1&c38=1&c43=1&c47=1, data: []
08-11 12:05:45DEBUG[hpotato.core.plugins.base] Setting cache f7aac097eb24da2c15fed462009f0ff7
08-11 12:05:45DEBUG[core.media.movie.searcher] Nothing found for A Royal Affair in 1080p
08-11 12:05:45INFO[core.media.movie.searcher] Search for A Royal Affair in 1080p
08-11 12:05:45DEBUG[hpotato.core.plugins.base] Getting cache f7aac097eb24da2c15fed462009f0ff7
08-11 12:05:45DEBUG[core.media.movie.searcher] Nothing found for A Royal Affair in 1080p
08-11 12:05:45DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:45DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:45DEBUG[to.core.media._base.media] Changing status for ID Forever Part II
08-11 12:05:45DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:45DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:45INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], ID Forever Part II
08-11 12:05:45DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:45DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:45DEBUG[to.core.media._base.media] Changing status for A Million Ways to Die in the West
08-11 12:05:45DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:45DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:45INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], A Million Ways to Die in the West
08-11 12:05:45DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:45DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:45DEBUG[to.core.media._base.media] Changing status for The Hobbit: The Battle of the Five Armies
08-11 12:05:45DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:45DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:45INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], The Hobbit: The Battle of the Five Armies
08-11 12:05:45DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:45DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:45DEBUG[to.core.media._base.media] Changing status for The Expendables 3
08-11 12:05:45DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:45DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:45INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], The Expendables 3
08-11 12:05:45DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:45DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:45DEBUG[to.core.media._base.media] Changing status for Maleficent
08-11 12:05:45DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:45DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:45INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], Maleficent
08-11 12:05:45DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:45DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:45DEBUG[to.core.media._base.media] Changing status for Edge of Tomorrow
08-11 12:05:45DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:45DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:45INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], Edge of Tomorrow
08-11 12:05:45DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:45DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:45DEBUG[to.core.media._base.media] Changing status for Timeless
08-11 12:05:45DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:45DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:45INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], Timeless
08-11 12:05:45DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:45DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:45DEBUG[to.core.media._base.media] Changing status for Star Wars: Episode VII
08-11 12:05:45DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:45DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:45INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], Star Wars: Episode VII
08-11 12:05:45DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:45DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:45DEBUG[to.core.media._base.media] Changing status for Robopocalypse
08-11 12:05:45DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:45DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:45INFO[core.media.movie.searcher] Search for Robopocalypse in 1080p
08-11 12:05:45DEBUG[hpotato.core.plugins.base] Waiting for nxtgn, 0 seconds
08-11 12:05:46INFO[hpotato.core.plugins.base] Opening url: get http://nxtgn.org/browse.php?search=robopocalypse+2013&cat=0&incldead=0&modes=&c9=1&c33=1&c38=1&c43=1&c47=1, data: []
08-11 12:05:46DEBUG[hpotato.core.plugins.base] Setting cache 64dbf390fdc2efe56b1e910fda447bc6
08-11 12:05:46DEBUG[core.media.movie.searcher] Nothing found for Robopocalypse in 1080p
08-11 12:05:46INFO[core.media.movie.searcher] Search for Robopocalypse in 1080p
08-11 12:05:46DEBUG[hpotato.core.plugins.base] Getting cache 64dbf390fdc2efe56b1e910fda447bc6
08-11 12:05:46DEBUG[core.media.movie.searcher] Nothing found for Robopocalypse in 1080p
08-11 12:05:46DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:46DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:46DEBUG[to.core.media._base.media] Changing status for The Hateful Eight
08-11 12:05:46DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:46DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:46INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], The Hateful Eight
08-11 12:05:46DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:46DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:46DEBUG[to.core.media._base.media] Changing status for X-Men: Days of Future Past
08-11 12:05:46DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:46DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:46INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], X-Men: Days of Future Past
08-11 12:05:46DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:46DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:46DEBUG[to.core.media._base.media] Changing status for 200 Pounds Beauty
08-11 12:05:46DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:46DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:46INFO[core.media.movie.searcher] Search for 200 Pounds Beauty in 1080p
08-11 12:05:46DEBUG[hpotato.core.plugins.base] Waiting for nxtgn, 0 seconds
08-11 12:05:47INFO[hpotato.core.plugins.base] Opening url: get http://nxtgn.org/browse.php?search=200+pounds+beauty+2006&cat=0&incldead=0&modes=&c9=1&c33=1&c38=1&c43=1&c47=1, data: []
08-11 12:05:47DEBUG[hpotato.core.plugins.base] Setting cache 22d026e71128433ac5161b8094756005
08-11 12:05:47DEBUG[core.media.movie.searcher] Nothing found for 200 Pounds Beauty in 1080p
08-11 12:05:47INFO[core.media.movie.searcher] Search for 200 Pounds Beauty in 1080p
08-11 12:05:47DEBUG[hpotato.core.plugins.base] Getting cache 22d026e71128433ac5161b8094756005
08-11 12:05:47DEBUG[core.media.movie.searcher] Nothing found for 200 Pounds Beauty in 1080p
08-11 12:05:47DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:47DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:47DEBUG[to.core.media._base.media] Changing status for Sin City: A Dame to Kill For
08-11 12:05:47DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:47DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:47INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], Sin City: A Dame to Kill For
08-11 12:05:47DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:47DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:47DEBUG[to.core.media._base.media] Changing status for The Salvation
08-11 12:05:47DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:47DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:47INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], The Salvation
08-11 12:05:47DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:47DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:47DEBUG[to.core.media._base.media] Changing status for Highlander
08-11 12:05:47DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:47DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:47INFO[core.media.movie.searcher] Search for Highlander in 1080p
08-11 12:05:47DEBUG[hpotato.core.plugins.base] Waiting for nxtgn, 0 seconds
08-11 12:05:48INFO[hpotato.core.plugins.base] Opening url: get http://nxtgn.org/browse.php?search=highlander+2013&cat=0&incldead=0&modes=&c9=1&c33=1&c38=1&c43=1&c47=1, data: []
08-11 12:05:48DEBUG[hpotato.core.plugins.base] Setting cache 406b854441b0474d68b75d8254553305
08-11 12:05:48DEBUG[core.media.movie.searcher] Nothing found for Highlander in 1080p
08-11 12:05:48INFO[core.media.movie.searcher] Search for Highlander in 1080p
08-11 12:05:48DEBUG[hpotato.core.plugins.base] Getting cache 406b854441b0474d68b75d8254553305
08-11 12:05:48DEBUG[core.media.movie.searcher] Nothing found for Highlander in 1080p
08-11 12:05:48DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:48DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:48DEBUG[to.core.media._base.media] Changing status for Interstellar
08-11 12:05:48DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:48DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:48INFO[core.media.movie.searcher] Search for Interstellar in 1080p
08-11 12:05:48DEBUG[hpotato.core.plugins.base] Waiting for nxtgn, 0 seconds
08-11 12:05:49DEBUG[o.core.notifications.core] Cleaning messages
08-11 12:05:49DEBUG[o.core.notifications.core] Done cleaning messages
08-11 12:05:49INFO[hpotato.core.plugins.base] Opening url: get http://nxtgn.org/browse.php?search=interstellar+2014&cat=0&incldead=0&modes=&c9=1&c33=1&c38=1&c43=1&c47=1, data: []
08-11 12:05:49DEBUG[hpotato.core.plugins.base] Setting cache 25e7c6beee3833bc520cc4b8b44539df
08-11 12:05:49DEBUG[core.media.movie.searcher] Nothing found for Interstellar in 1080p
08-11 12:05:49INFO[core.media.movie.searcher] Search for Interstellar in 1080p
08-11 12:05:49DEBUG[hpotato.core.plugins.base] Getting cache 25e7c6beee3833bc520cc4b8b44539df
08-11 12:05:49DEBUG[core.media.movie.searcher] Nothing found for Interstellar in 1080p
08-11 12:05:49DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:49DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:49DEBUG[to.core.media._base.media] Changing status for Earth to Echo
08-11 12:05:49DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:49DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:05:49INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], Earth to Echo
08-11 12:05:49DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:05:49DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:06:04DEBUG[o.core.notifications.core] Cleaning messages
08-11 12:06:04DEBUG[o.core.notifications.core] Done cleaning messages
08-11 12:06:05INFO[hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/search/reck/?limit=5, data: []
08-11 12:06:05INFO[hpotato.core.plugins.base] Opening url: get http://www.omdbapi.com/?y=&t=reck, data: []
08-11 12:06:05DEBUG[hpotato.core.plugins.base] Setting cache 9ff5bce7044dac164f2aa1bac0078b5f
08-11 12:06:05DEBUG[hpotato.core.plugins.base] Setting cache omdbapi.cache.reck
08-11 12:06:05INFO[ie.providers.info.omdbapi] Found: Komisches Reck (1895)
08-11 12:06:05DEBUG[   couchpotato.core.event] Return modified results for info.search
08-11 12:06:19DEBUG[o.core.notifications.core] Cleaning messages
08-11 12:06:19DEBUG[o.core.notifications.core] Done cleaning messages
08-11 12:08:09INFO[hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/search/son+of+ba/?limit=5, data: []
08-11 12:08:09INFO[hpotato.core.plugins.base] Opening url: get http://www.omdbapi.com/?y=&t=son+of+ba, data: []
08-11 12:08:09DEBUG[hpotato.core.plugins.base] Setting cache omdbapi.cache.son of ba
08-11 12:08:10DEBUG[hpotato.core.plugins.base] Setting cache 6bd043a3c94a92fe849119cab2116517
08-11 12:08:10DEBUG[   couchpotato.core.event] Return modified results for info.search
08-11 12:08:10INFO[hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/search/son+of+bat/?limit=5, data: []
08-11 12:08:10INFO[hpotato.core.plugins.base] Opening url: get http://www.omdbapi.com/?y=&t=son+of+bat, data: []
08-11 12:08:10DEBUG[hpotato.core.plugins.base] Setting cache db3ceb34db719c7edc3fd94a313bc9ac
08-11 12:08:10DEBUG[hpotato.core.plugins.base] Setting cache omdbapi.cache.son of bat
08-11 12:08:10DEBUG[   couchpotato.core.event] Return modified results for info.search
08-11 12:08:17INFO[hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/ismovie/tt3139072/, data: []
08-11 12:08:17DEBUG[hpotato.core.plugins.base] Setting cache 6899a6e805c10325ee23793144290d49
08-11 12:08:17DEBUG[e.providers.info.fanarttv] Getting Extra Artwork from Fanart.tv...
08-11 12:08:17INFO[hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/info/tt3139072/, data: []
08-11 12:08:17DEBUG[providers.info.themoviedb] Getting info: tmdb.cache.tt3139072
08-11 12:08:17INFO[hpotato.core.plugins.base] Opening url: get http://webservice.fanart.tv/v3/movies/tt3139072?api_key=xxx
08-11 12:08:17INFO[hpotato.core.plugins.base] Opening url: get http://www.omdbapi.com/?i=tt3139072, data: []
08-11 12:08:17DEBUG[hpotato.core.plugins.base] Setting cache 7e6273473399a41827f890392f9936bb
08-11 12:08:17DEBUG[hpotato.core.plugins.base] Setting cache omdbapi.cache.tt3139072
08-11 12:08:17INFO[ie.providers.info.omdbapi] Found: Son of Batman (2014)
08-11 12:08:17DEBUG[hpotato.core.plugins.base] Setting cache b87a54c67458bc342f8328b3d8e79b75
08-11 12:08:17DEBUG[e.providers.info.fanarttv] Found images for Son of Batman
08-11 12:08:18DEBUG[hpotato.core.plugins.base] Setting cache tmdb.cache.251519
08-11 12:08:18DEBUG[hpotato.core.plugins.base] Setting cache tmdb.cache.tt3139072
08-11 12:08:18DEBUG[   couchpotato.core.event] Return modified results for movie.info
08-11 12:08:18DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:08:18DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:08:18DEBUG[e.providers.info.fanarttv] Getting Extra Artwork from Fanart.tv...
08-11 12:08:18DEBUG[hpotato.core.plugins.base] Getting cache 7e6273473399a41827f890392f9936bb
08-11 12:08:18DEBUG[hpotato.core.plugins.base] Getting cache b87a54c67458bc342f8328b3d8e79b75
08-11 12:08:18DEBUG[e.providers.info.fanarttv] Found images for Son of Batman
08-11 12:08:18DEBUG[hpotato.core.plugins.base] Getting cache omdbapi.cache.tt3139072
08-11 12:08:18INFO[ie.providers.info.omdbapi] Found: Son of Batman (2014)
08-11 12:08:18DEBUG[hpotato.core.plugins.base] Getting cache tmdb.cache.tt3139072
08-11 12:08:18DEBUG[   couchpotato.core.event] Return modified results for movie.info
08-11 12:08:18DEBUG[to.core.media.movie._base] Adding titles: [u'Son of Batman', u'O Filho do Batman', u'Le fils de Batman (2014)']
08-11 12:08:18INFO[hpotato.core.plugins.base] Opening url: get https://image.tmdb.org/t/p/w154/3KsZUcifrnHqs6AGrZBW4iUTLYs.jpg, data: []
08-11 12:08:18DEBUG[to.core.media._base.media] Changing status for Son of Batman
08-11 12:08:18INFO[hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/eta/tt3139072/, data: []
08-11 12:08:18DEBUG[hpotato.core.plugins.base] Setting cache efcde60162d96777f341676400e23ea8
08-11 12:08:18DEBUG[iders.info.couchpotatoapi] Found ETA for tt3139072: {u'dvd': 0, u'expires': 1408020028, u'theater': 0, u'bluray': False}
08-11 12:08:18DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:08:18DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:08:18INFO[core.media.movie.searcher] Search for Son of Batman in 1080p ignoring ETA
08-11 12:08:18INFO[hpotato.core.plugins.base] Opening url: get http://nxtgn.org/browse.php?search=son+of+batman+2014&cat=0&incldead=0&modes=&c9=1&c33=1&c38=1&c43=1&c47=1, data: []
08-11 12:08:18DEBUG[hpotato.core.plugins.base] Setting cache 7ef533331d0c50fba8f1940bc6dc603c
08-11 12:08:18DEBUG[core.media.movie.searcher] Nothing found for Son of Batman in 1080p
08-11 12:08:18INFO[core.media.movie.searcher] Search for Son of Batman in 1080p ignoring ETA
08-11 12:08:18DEBUG[hpotato.core.plugins.base] Getting cache 7ef533331d0c50fba8f1940bc6dc603c
08-11 12:08:18DEBUG[core.media.movie.searcher] Nothing found for Son of Batman in 1080p
08-11 12:08:18INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], Son of Batman
08-11 12:08:18DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:08:18DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:08:18DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:08:18DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:08:19DEBUG[o.core.notifications.core] Cleaning messages
08-11 12:08:19DEBUG[o.core.notifications.core] Done cleaning messages
08-11 12:08:34DEBUG[o.core.notifications.core] Cleaning messages
08-11 12:08:34DEBUG[o.core.notifications.core] Done cleaning messages
08-11 12:08:46DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:08:46DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:08:46DEBUG[e.providers.info.fanarttv] Getting Extra Artwork from Fanart.tv...
08-11 12:08:46DEBUG[hpotato.core.plugins.base] Getting cache 7e6273473399a41827f890392f9936bb
08-11 12:08:46DEBUG[hpotato.core.plugins.base] Getting cache b87a54c67458bc342f8328b3d8e79b75
08-11 12:08:46DEBUG[e.providers.info.fanarttv] Found images for Son of Batman
08-11 12:08:46DEBUG[hpotato.core.plugins.base] Getting cache omdbapi.cache.tt3139072
08-11 12:08:46INFO[ie.providers.info.omdbapi] Found: Son of Batman (2014)
08-11 12:08:46DEBUG[hpotato.core.plugins.base] Getting cache tmdb.cache.tt3139072
08-11 12:08:46DEBUG[   couchpotato.core.event] Return modified results for movie.info
08-11 12:08:46DEBUG[to.core.media.movie._base] Adding titles: [u'Son of Batman', u'O Filho do Batman', u'Le fils de Batman (2014)']
08-11 12:08:46DEBUG[to.core.media._base.media] Changing status for Son of Batman
08-11 12:08:46DEBUG[hpotato.core.plugins.base] Getting cache efcde60162d96777f341676400e23ea8
08-11 12:08:46DEBUG[iders.info.couchpotatoapi] Found ETA for tt3139072: {u'dvd': 0, u'expires': 1408020028, u'theater': 0, u'bluray': False}
08-11 12:08:46DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:08:46DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:08:46INFO[core.media.movie.searcher] Search for Son of Batman in 1080p ignoring ETA
08-11 12:08:46DEBUG[hpotato.core.plugins.base] Getting cache 7ef533331d0c50fba8f1940bc6dc603c
08-11 12:08:46DEBUG[core.media.movie.searcher] Nothing found for Son of Batman in 1080p
08-11 12:08:46INFO[core.media.movie.searcher] Search for Son of Batman in 1080p ignoring ETA
08-11 12:08:46DEBUG[hpotato.core.plugins.base] Getting cache 7ef533331d0c50fba8f1940bc6dc603c
08-11 12:08:46DEBUG[core.media.movie.searcher] Nothing found for Son of Batman in 1080p
08-11 12:08:46INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], Son of Batman
08-11 12:08:46DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:08:46DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:08:46DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:08:46DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:08:49DEBUG[o.core.notifications.core] Cleaning messages
08-11 12:08:49DEBUG[o.core.notifications.core] Done cleaning messages
08-11 12:09:04DEBUG[o.core.notifications.core] Cleaning messages
08-11 12:09:04DEBUG[o.core.notifications.core] Done cleaning messages



Tried to search for other a little older movies just to check if that worked but I keep getting this in the log no matter what movie I search for: Too early to search for [u'1080p', u'1080p']

Code: Select all

08-11 12:19:50INFO[core.media.movie.searcher] Too early to search for [u'1080p', u'1080p'], The Lego Movie


I tried one last movie I know is there and is a few weeks old. Here's the log for that

Code: Select all

08-11 12:25:00INFO[hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/search/The.Pirate.Fairy/?limit=5, data: []
08-11 12:25:00INFO[hpotato.core.plugins.base] Opening url: get http://www.omdbapi.com/?y=&t=The.Pirate.Fairy, data: []
08-11 12:25:00DEBUG[hpotato.core.plugins.base] Setting cache omdbapi.cache.The.Pirate.Fairy
08-11 12:25:00DEBUG[hpotato.core.plugins.base] Setting cache d27f2cb6de03ae7bad7f3e44e7a75fd2
08-11 12:25:03INFO[hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/search/The.Pirate+Fairy/?limit=5, data: []
08-11 12:25:03INFO[hpotato.core.plugins.base] Opening url: get http://www.omdbapi.com/?y=&t=The.Pirate+Fairy, data: []
08-11 12:25:03DEBUG[hpotato.core.plugins.base] Setting cache omdbapi.cache.The.Pirate Fairy
08-11 12:25:03DEBUG[hpotato.core.plugins.base] Setting cache 801bd8ee88aa066b734a005ea21a6da4
08-11 12:25:05INFO[hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/search/The+Pirate+Fairy/?limit=5, data: []
08-11 12:25:05INFO[hpotato.core.plugins.base] Opening url: get http://www.omdbapi.com/?y=&t=The+Pirate+Fairy, data: []
08-11 12:25:05DEBUG[hpotato.core.plugins.base] Setting cache omdbapi.cache.The Pirate Fairy
08-11 12:25:05INFO[ie.providers.info.omdbapi] Found: The Pirate Fairy (2014)
08-11 12:25:05DEBUG[hpotato.core.plugins.base] Setting cache 9b82ef51b1ac957346d2b6531bc491af
08-11 12:25:05DEBUG[   couchpotato.core.event] Return modified results for info.search
08-11 12:25:09INFO[hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/ismovie/tt2483260/, data: []
08-11 12:25:09DEBUG[hpotato.core.plugins.base] Setting cache 9bac6c2a17022bb36a9991486a2dfa4d
08-11 12:25:09DEBUG[e.providers.info.fanarttv] Getting Extra Artwork from Fanart.tv...
08-11 12:25:09INFO[hpotato.core.plugins.base] Opening url: get http://webservice.fanart.tv/v3/movies/tt2483260?api_key=xxx
08-11 12:25:09INFO[hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/info/tt2483260/, data: []
08-11 12:25:09DEBUG[providers.info.themoviedb] Getting info: tmdb.cache.tt2483260
08-11 12:25:09INFO[hpotato.core.plugins.base] Opening url: get http://www.omdbapi.com/?i=tt2483260, data: []
08-11 12:25:09DEBUG[hpotato.core.plugins.base] Setting cache 28cae52d5ef706e82b06cb6ebe0e83dc
08-11 12:25:09DEBUG[hpotato.core.plugins.base] Setting cache omdbapi.cache.tt2483260
08-11 12:25:09INFO[ie.providers.info.omdbapi] Found: The Pirate Fairy (2014)
08-11 12:25:09DEBUG[hpotato.core.plugins.base] Setting cache 99bc376a43aaa1a6413b59006e54bbbc
08-11 12:25:09DEBUG[e.providers.info.fanarttv] Found images for The Pirate Fairy
08-11 12:25:09DEBUG[hpotato.core.plugins.base] Setting cache tmdb.cache.175112
08-11 12:25:09DEBUG[hpotato.core.plugins.base] Setting cache tmdb.cache.tt2483260
08-11 12:25:09DEBUG[   couchpotato.core.event] Return modified results for movie.info
08-11 12:25:09DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:25:09DEBUG[e.providers.info.fanarttv] Getting Extra Artwork from Fanart.tv...
08-11 12:25:09DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:25:09DEBUG[hpotato.core.plugins.base] Getting cache 28cae52d5ef706e82b06cb6ebe0e83dc
08-11 12:25:09DEBUG[hpotato.core.plugins.base] Getting cache 99bc376a43aaa1a6413b59006e54bbbc
08-11 12:25:09DEBUG[hpotato.core.plugins.base] Getting cache omdbapi.cache.tt2483260
08-11 12:25:09DEBUG[e.providers.info.fanarttv] Found images for The Pirate Fairy
08-11 12:25:09INFO[ie.providers.info.omdbapi] Found: The Pirate Fairy (2014)
08-11 12:25:09DEBUG[hpotato.core.plugins.base] Getting cache tmdb.cache.tt2483260
08-11 12:25:09DEBUG[   couchpotato.core.event] Return modified results for movie.info
08-11 12:25:09DEBUG[to.core.media.movie._base] Adding titles: [u'The Pirate Fairy', u'Tinker Bell and the Pirate Fairy', u'Tinker Bell and the Quest for the Queen', u'Clochette et la f\xe9e pirate', u'Tinker Bell 5 - The Pirate Fairy', u'I Tinkerbell kai oi Peirates', u'\u0397 \u03a4\u03af\u03bd\u03ba\u03b5\u03c1\u03bc\u03c0\u03b5\u03bb \u03ba\u03b1\u03b9 \u03bf\u03b9 \u03a0\u03b5\u03b9\u03c1\u03b1\u03c4\u03ad\u03c2', u'Tinker Bell 6: The Pirate Fairy', u'F\xe9e Clochette et la f\xe9e pirate', u'Tingeling och Piratfen', u'Klokkeblomst og piratfeen']
08-11 12:25:09INFO[hpotato.core.plugins.base] Opening url: get https://image.tmdb.org/t/p/w154/tgninaaS0wn1qV3M57jX0Cfeils.jpg, data: []
08-11 12:25:10DEBUG[to.core.media._base.media] Changing status for The Pirate Fairy
08-11 12:25:10INFO[hpotato.core.plugins.base] Opening url: get https://api.couchpota.to/eta/tt2483260/, data: []
08-11 12:25:10DEBUG[hpotato.core.plugins.base] Setting cache b2ea29bf1a09a9cec6ef7e926c224d0c
08-11 12:25:10DEBUG[iders.info.couchpotatoapi] Found ETA for tt2483260: {u'dvd': 1396303200, u'expires': 1408014035, u'theater': 0, u'bluray': True}
08-11 12:25:10DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:25:10DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:25:10INFO[core.media.movie.searcher] Search for The Pirate Fairy in 1080p ignoring ETA
08-11 12:25:10INFO[hpotato.core.plugins.base] Opening url: get http://nxtgn.org/browse.php?search=the+pirate+fairy+2014&cat=0&incldead=0&modes=&c9=1&c33=1&c38=1&c43=1&c47=1, data: []
08-11 12:25:10DEBUG[hpotato.core.plugins.base] Setting cache 7b4590a98722b93f0cd242cc135171d8
08-11 12:25:10DEBUG[core.media.movie.searcher] Nothing found for The Pirate Fairy in 1080p
08-11 12:25:10INFO[core.media.movie.searcher] Search for The Pirate Fairy in 1080p ignoring ETA
08-11 12:25:10DEBUG[hpotato.core.plugins.base] Getting cache 7b4590a98722b93f0cd242cc135171d8
08-11 12:25:10DEBUG[core.media.movie.searcher] Nothing found for The Pirate Fairy in 1080p
08-11 12:25:10DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:25:10DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:25:10DEBUG[o.core.notifications.core] Notifying frontend
08-11 12:25:10DEBUG[o.core.notifications.core] Done notifying frontend
08-11 12:25:11DEBUG[o.core.notifications.core] Getting messages with id: 2c8cded3-bab7-4794-88b1-7dd1fa053384
08-11 12:25:11DEBUG[o.core.notifications.core] Returning for 2c8cded3-bab7-4794-88b1-7dd1fa053384 3 messages
08-11 12:25:13DEBUG[o.core.notifications.core] Getting messages with id: d74f9ec0-244a-4f43-b403-078c2a6c4d44
08-11 12:25:13DEBUG[o.core.notifications.core] Returning for d74f9ec0-244a-4f43-b403-078c2a6c4d44 0 messages

User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby clinton.hall » 11 Aug 2014 13:22

This is a modified main.py.... it doesn't change anything but adds logging so that we can see what is and isn't working. If you replace your main.py with this, restart, clear logs and perform a search, hopefully the log entries might start to reveal what is happening.

Code: Select all

# credits goes to https://github.com/TjaLfE/cps.nextgen

from bs4 import BeautifulSoup
from couchpotato.core.helpers.encoding import simplifyString, tryUrlencode
from couchpotato.core.helpers.variable import tryInt
from couchpotato.core.logger import CPLog
from couchpotato.core.media._base.providers.torrent.base import TorrentProvider
from couchpotato.core.media.movie.providers.base import MovieProvider
import traceback
import cookielib
import urllib2
import time

log = CPLog(__name__)


class nxtgn(TorrentProvider, MovieProvider):

   urls = {
      'test' : 'https://nxtgn.org/',
      'login_page' : 'https://nxtgn.org/login.php',
      'login' : 'https://nxtgn.org/takelogin.php',
      'detail' : 'https://nxtgn.org/details.php?id=%s',
      'search' : 'http://nxtgn.org/browse.php?search=%s&cat=0&incldead=0&modes=%s',
      'download' : 'https://nxtgn.org/download.php?id=%s',
   }
   
   cat_ids = [
      ([9, 33, 38, 43, 47], ['720p', '1080p']),
      ([6, 16, 17, 25, 28], ['dvdr']),
      ([5], ['cam', 'ts', 'dvdrip', 'tc', 'r5', 'scr', 'brrip']),
   ]


   http_time_between_calls = 1 #seconds

   cat_backup_id = None

   def _searchOnTitle(self, title, movie, quality, results):

      #correct category search
      categories= ""
      for x in self.getCatId(quality):
         categories+='&c' + str(x) + '=1'

      searchurl = self.urls['search'] % (tryUrlencode('%s %s' % (title.replace(':', ''), movie['info']['year'])), categories)
      data = self.getHTMLData(searchurl).decode('iso-8859-1')
      
      
      if data:
      
         html = BeautifulSoup(data)
         
         try:
            resultsTable = html.find('div', attrs = {'id' : 'torrent-table-wrapper'})
            if not resultsTable:
               log.info('no torrent table found from nxtgn')
               return
            
            # Collecting entries
            entries_std = resultsTable.find_all('div' , attrs = {'id' : 'torrent-std'})
            entries_sticky = resultsTable.find_all('div' , attrs = {'id' : 'torrent-sticky'})
            entries = entries_std + entries_sticky
            
            if not len(entries) > 0:
               log.info('no entries found on nxtgn torrent table')
            else:
               log.info('%s entries found from nxtgn' % str(len(entries)))
               # Extracting results from entries
               for result in entries:
                  
                  torrentId = (((result.find('div', attrs = {'id' :'torrent-download'})).find('a'))['href']).replace('download.php?id=','')
                  torrentName = ((result.find('div', attrs = {'id' :'torrent-udgivelse2-users'})).find('a'))['title']
                  
                  # Name trimming
                  torrentName = torrentName.replace("3D.", "")
                  torrentName = torrentName.replace("DTS7.1.", "")
                  torrentName = torrentName.replace('EXTENDED.CUT.','')
                  torrentName = torrentName.replace('UNRATED.CUT.','')
                  torrentName = torrentName.replace('THEATRICAL.CUT.','')
                  torrentName = torrentName.replace('EXTENDED.','')
                  torrentName = torrentName.replace('UNRATED.','')
                  torrentName = torrentName.replace('THEATRICAL.','')
                  torrentName = torrentName.replace('DIRECTORS.CUT.','')
                  torrentName = torrentName.replace('Extended.Cut.','')
                  torrentName = torrentName.replace('Unrated.Cut.','')
                  torrentName = torrentName.replace('Theatrical.Cut.','')
                  torrentName = torrentName.replace('Extended.','')
                  torrentName = torrentName.replace('Unrated.','')
                  torrentName = torrentName.replace('Theatrical.','')
                  torrentName = torrentName.replace('Directors.Cut.','')
                  
                     
                  results.append({
                     'id': torrentId,
                     'name': torrentName,
                     'url': (self.urls['download'] % torrentId).encode('utf8'),
                     'detail_url': (self.urls['detail'] % torrentId).encode('utf8'),
                     'size': self.parseSize(result.find('div', attrs = {'id' : 'torrent-size'}).text),
                     'seeders': tryInt(result.find('div', attrs = {'id' : 'torrent-seeders'})),
                     'leechers': tryInt(result.find('div', attrs = {'id' : 'torrent-leechers'})),
               })               

         except:
            log.error('Failed to parsing %s: %s', (self.getName(),traceback.format_exc()))


   def getLoginParams(self):
      return tryUrlencode({
         'username': self.conf('username'),
         'password': self.conf('password'),
      })

   def loginSuccess(self, output):
      if "<title>NextGen - Login</title>" in output:
         return False
      else:
         return True
      

   loginCheckSuccess = loginSuccess

   def login(self):

      # Check if we are still logged in every hour
      now = time.time()
      if self.last_login_check and self.last_login_check < (now - 3600):
         try:
            output = self.urlopen(self.urls['test'])
            if self.loginCheckSuccess(output):
               self.last_login_check = now
               return True
         except: pass
         self.last_login_check = None

      if self.last_login_check:
         return True

      try:
         # Find csrf for login
         data_login = self.getHTMLData(self.urls['login_page'])
         bs = BeautifulSoup(data_login.decode('iso-8859-1'))
         csrfraw = bs.find('form', attrs = {'id': 'login'})['action']
         
         # Create 'login' in self.urls
         self.urls['login'] = (self.urls['test'] + csrfraw).encode('utf8')
         output = self.urlopen(self.urls['login'] + '&' + self.getLoginParams())
         

         if self.loginSuccess(output):
            self.last_login_check = now
            return True

         error = 'unknown'
      except:
         error = traceback.format_exc()

      self.login_opener = None
      log.error('Failed to login %s: %s', (self.getName(), error))
      return False

mbeltoft
Junior Member
Posts: 31
Joined: 19 Sep 2012 18:58
Has thanked: 4 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby mbeltoft » 11 Aug 2014 13:50

made a new main.py with the above and mait executeble but it fails to load
I get this error:

Code: Select all

08-11 13:47:51ERROR[  couchpotato.core.loader] Can't import nxtgen: Traceback (most recent call last):
  File "/home/beltoft/.CouchPotatoServer/couchpotato/core/loader.py", line 58, in run
    m = self.loadModule(module_name)
  File "/home/beltoft/.CouchPotatoServer/couchpotato/core/loader.py", line 164, in loadModule
    return import_module(name)
  File "/home/beltoft/.CouchPotatoServer/libs/importhelper/__init__.py", line 37, in import_module
    __import__(name)
  File "/var/couchpotato/custom_plugins/nxtgen/__init__.py", line 1, in <module>
    from .main import nxtgn
  File "/var/couchpotato/custom_plugins/nxtgen/main.py", line 58
    return
         ^
IndentationError: unindent does not match any outer indentation level

User avatar
clinton.hall
Moderator
Posts: 9224
Joined: 28 Jun 2012 12:55
Has thanked: 94 times
Been thanked: 465 times
Contact:
Status: Offline

Re: Getting a 3rd party provider to work?

Postby clinton.hall » 11 Aug 2014 13:56

I just edited the code above.... it had formatting errors (sorry). Please try again.


Return to “External Tools”