diff --git a/core/nzbToMediaConfig.py b/core/nzbToMediaConfig.py index c2989e9c..527c7b5f 100644 --- a/core/nzbToMediaConfig.py +++ b/core/nzbToMediaConfig.py @@ -383,7 +383,7 @@ class ConfigObj(configobj.ConfigObj, Section): section = "NzbDrone" envCatKey = 'NZBPO_NDCATEGORY' envKeys = ['ENABLED', 'HOST', 'APIKEY', 'PORT', 'SSL', 'WEB_ROOT', 'WATCH_DIR', 'FORK', 'DELETE_FAILED', - 'TORRENT_NOLINK', 'NZBEXTRACTIONBY', 'WAIT_FOR', 'DELETE_FAILED', 'REMOTE_PATH'] + 'TORRENT_NOLINK', 'NZBEXTRACTIONBY', 'WAIT_FOR', 'DELETE_FAILED', 'REMOTE_PATH', 'IMPORTMODE'] #new cfgKey added for importMode cfgKeys = ['enabled', 'host', 'apikey', 'port', 'ssl', 'web_root', 'watch_dir', 'fork', 'delete_failed', 'Torrent_NoLink', 'nzbExtractionBy', 'wait_for', 'delete_failed', 'remote_path','importMode'] @@ -403,7 +403,7 @@ class ConfigObj(configobj.ConfigObj, Section): section = "Radarr" envCatKey = 'NZBPO_RACATEGORY' envKeys = ['ENABLED', 'HOST', 'APIKEY', 'PORT', 'SSL', 'WEB_ROOT', 'WATCH_DIR', 'FORK', 'DELETE_FAILED', - 'TORRENT_NOLINK', 'NZBEXTRACTIONBY', 'WAIT_FOR', 'DELETE_FAILED', 'REMOTE_PATH', 'OMDBAPIKEY'] + 'TORRENT_NOLINK', 'NZBEXTRACTIONBY', 'WAIT_FOR', 'DELETE_FAILED', 'REMOTE_PATH', 'OMDBAPIKEY', 'IMPORTMODE'] #new cfgKey added for importMode cfgKeys = ['enabled', 'host', 'apikey', 'port', 'ssl', 'web_root', 'watch_dir', 'fork', 'delete_failed', 'Torrent_NoLink', 'nzbExtractionBy', 'wait_for', 'delete_failed', 'remote_path', 'omdbapikey','importMode'] diff --git a/nzbToMedia.py b/nzbToMedia.py index b7717475..0958a9e4 100755 --- a/nzbToMedia.py +++ b/nzbToMedia.py @@ -126,6 +126,11 @@ # api key for www.omdbapi.com (used as alternative to imdb to assist with movie identification). #raomdbapikey= +# Radarr import mode (Move, Copy). +# +# set to define import behaviour Move or Copy +#raimportmode=Copy + # Radarr Delete Failed Downloads (0, 1). # # set to 1 to delete failed, or 0 to leave files in place. @@ -230,6 +235,11 @@ # Set the number of minutes to wait after calling the renamer, to check the episode has changed status. #ndwait_for=6 +# NzbDrone import mode (Move, Copy). +# +# set to define import behaviour Move or Copy +#ndimportmode=Copy + # NzbDrone Delete Failed Downloads (0, 1). # # set to 1 to delete failed, or 0 to leave files in place. diff --git a/nzbToNzbDrone.py b/nzbToNzbDrone.py index 63e51193..d1b67593 100755 --- a/nzbToNzbDrone.py +++ b/nzbToNzbDrone.py @@ -68,6 +68,11 @@ # Set the number of minutes to wait after calling the renamer, to check the episode has changed status. #ndwait_for=6 +# NzbDrone import mode (Move, Copy). +# +# set to define import behaviour Move or Copy +#ndimportmode=Copy + # NzbDrone Delete Failed Downloads (0, 1). # # set to 1 to delete failed, or 0 to leave files in place. diff --git a/nzbToRadarr.py b/nzbToRadarr.py index c2f22206..8f739e26 100755 --- a/nzbToRadarr.py +++ b/nzbToRadarr.py @@ -73,6 +73,11 @@ # Set the number of minutes to wait after calling the renamer, to check the episode has changed status. #rawait_for=6 +# Radarr import mode (Move, Copy). +# +# set to define import behaviour Move or Copy +#raimportmode=Copy + # Radarr Delete Failed Downloads (0, 1). # # set to 1 to delete failed, or 0 to leave files in place.