Magnet link improvements

This commit is contained in:
Ruud
2012-08-26 22:43:00 +02:00
parent 442444a95a
commit d64150d6a7
3 changed files with 28 additions and 4 deletions
+3 -1
View File
@@ -170,7 +170,9 @@ class Release(Plugin):
# Get matching provider
provider = fireEvent('provider.belongs_to', item['url'], provider = item.get('provider'), single = True)
item['download'] = provider.download
if item['type'] != 'torrent_magnet':
item['download'] = provider.download
success = fireEvent('searcher.download', data = item, movie = rel.movie.to_dict({
'profile': {'types': {'quality': {}}},