See if need to login on "belongs_to" check. fix #1190

This commit is contained in:
Ruud
2013-05-31 16:32:03 +02:00
parent b3ba4db00b
commit dc20b68a37
+1 -1
View File
@@ -180,7 +180,7 @@ class Release(Plugin):
provider = fireEvent('provider.belongs_to', item['url'], provider = item.get('provider'), single = True)
if item['type'] != 'torrent_magnet':
item['download'] = provider.download
item['download'] = provider.loginDownload if provider.urls.get('login') else provider.download
success = fireEvent('searcher.download', data = item, movie = rel.movie.to_dict({
'profile': {'types': {'quality': {}}},