From 199e61ea14a1072c406a5728e0302a60fbbd785a Mon Sep 17 00:00:00 2001 From: Ruud Date: Sat, 24 Aug 2013 16:37:16 +0200 Subject: [PATCH] Fallback on type for current downloads --- couchpotato/core/plugins/renamer/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/plugins/renamer/main.py b/couchpotato/core/plugins/renamer/main.py index 39771c8..53d13fd 100644 --- a/couchpotato/core/plugins/renamer/main.py +++ b/couchpotato/core/plugins/renamer/main.py @@ -827,7 +827,7 @@ 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, - 'protocol': rls_dict.get('info', {}).get('protocol') + 'protocol': rls_dict.get('info', {}).get('protocol') or rls_dict.get('info', {}).get('type'), }) return download_info