Browse Source

Don't search for done movies

tags/build/2.0.0.pre1
Ruud 13 years ago
parent
commit
7c18fc8787
  1. 6
      couchpotato/core/plugins/searcher/main.py

6
couchpotato/core/plugins/searcher/main.py

@ -65,8 +65,10 @@ class Searcher(Plugin):
def single(self, movie):
if not movie['profile']:
log.debug('Movie does\'nt have a profile, assuming in manage tab.')
done_status = fireEvent('status.get', 'done', single = True)
if not movie['profile'] or movie['status_id'] == done_status.get('id'):
log.debug('Movie does\'nt have a profile or already done, assuming in manage tab.')
return
db = get_session()

Loading…
Cancel
Save