From 51c8de0fc3f1f17a0fd8f489805c48b56facdb8b Mon Sep 17 00:00:00 2001 From: Ruud Date: Thu, 16 Oct 2014 22:39:39 +0200 Subject: [PATCH] Force filename renamer setting --- couchpotato/core/plugins/renamer.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/couchpotato/core/plugins/renamer.py b/couchpotato/core/plugins/renamer.py index 3d370d83..d6381a3e 100755 --- a/couchpotato/core/plugins/renamer.py +++ b/couchpotato/core/plugins/renamer.py @@ -220,6 +220,10 @@ class Renamer(Plugin): nfo_name = self.conf('nfo_name') separator = self.conf('separator') + if len(file_name) == 0: + log.error('Please fill in the filename option under renamer settings. Forcing it on . to keep the same name as source file.') + file_name = '.' + cd_keys = ['','', ''] if not any(x in folder_name for x in cd_keys) and not any(x in file_name for x in cd_keys): log.error('Missing `cd` or `cd_nr` in the renamer. This will cause multi-file releases of being renamed to the same file. '