Remove wrongly added movies.

This commit is contained in:
Ruud
2012-09-14 12:42:52 +02:00
parent d2901bc68a
commit 45bb88460c

View File

@@ -93,6 +93,8 @@ class Searcher(Plugin):
default_title = getTitle(movie['library'])
if not default_title:
log.error('No proper info found for movie, removing it from library to cause it from having more issues.')
fireEvent('movie.delete', movie['id'], single = True)
return
fireEvent('notify.frontend', type = 'searcher.started.%s' % movie['id'], data = True, message = 'Searching for "%s"' % default_title)