|
|
@ -827,13 +827,13 @@ Remove it if you want it to be renamed (again, or at least let it try again) |
|
|
|
download_info.update({ |
|
|
|
'imdb_id': rls.movie.library.identifier, |
|
|
|
'quality': rls.quality.identifier, |
|
|
|
'type': rls_dict.get('info', {}).get('type') |
|
|
|
'protocol': rls_dict.get('info', {}).get('protocol') |
|
|
|
}) |
|
|
|
|
|
|
|
return download_info |
|
|
|
|
|
|
|
def downloadIsTorrent(self, download_info): |
|
|
|
return download_info and download_info.get('type') in ['torrent', 'torrent_magnet'] |
|
|
|
return download_info and download_info.get('protocol') in ['torrent', 'torrent_magnet'] |
|
|
|
|
|
|
|
def fileIsAdded(self, src, group): |
|
|
|
if not group or not group.get('before_rename'): |
|
|
|