Created 'searcher.search' event to replace some shared functionality, Fixed an issue in Release.download when snatching movies.

This commit is contained in:
Dean Gardiner
2013-09-30 22:49:54 +13:00
parent dd5ae3c4ee
commit 8fbf050510
4 changed files with 36 additions and 27 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ class Release(Plugin):
if item.get('protocol') != 'torrent_magnet':
item['download'] = provider.loginDownload if provider.urls.get('login') else provider.download
success = fireEvent('searcher.download', data = item, movie = rel.movie.to_dict({
success = fireEvent('searcher.download', data = item, movie = rel.media.to_dict({
'profile': {'types': {'quality': {}}},
'releases': {'status': {}, 'quality': {}},
'library': {'titles': {}, 'files':{}},