diff --git a/.bumpversion.cfg b/.bumpversion.cfg index 0567b58c..e5b82b40 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 12.0.1 +current_version = 12.0.2 commit = True tag = False diff --git a/README.md b/README.md index 7528d0d3..db6b38a4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -nzbToMedia v12.0.1 +nzbToMedia v12.0.2 ================== Provides an [efficient](https://github.com/clinton-hall/nzbToMedia/wiki/Efficient-on-demand-post-processing) way to handle postprocessing for [CouchPotatoServer](https://couchpota.to/ "CouchPotatoServer") and [SickBeard](http://sickbeard.com/ "SickBeard") (and its [forks](https://github.com/clinton-hall/nzbToMedia/wiki/Failed-Download-Handling-%28FDH%29#sick-beard-and-its-forks)) diff --git a/core/__init__.py b/core/__init__.py index 723b52f3..39611d06 100644 --- a/core/__init__.py +++ b/core/__init__.py @@ -52,7 +52,7 @@ from core.utils import ( resume_torrent, remove_dir, remove_read_only, sanitize_name, update_download_info_status, ) -__version__ = '12.0.1' +__version__ = '12.0.2' # Client Agents NZB_CLIENTS = ['sabnzbd', 'nzbget', 'manual'] diff --git a/core/auto_process/movies.py b/core/auto_process/movies.py index cde56f27..f3097b6f 100644 --- a/core/auto_process/movies.py +++ b/core/auto_process/movies.py @@ -365,7 +365,10 @@ def process(section, dir_name, input_name=None, status=0, client_agent='manual', logger.debug('The Scan command return status: {0}'.format(command_status), section) if command_status in ['completed']: logger.debug('The Scan command has completed successfully. Renaming was successful.', section) - return [0, '{0}: Successfully post-processed {1}'.format(section, input_name)] + return ProcessResult( + message='{0}: Successfully post-processed {1}'.format(section, input_name), + status_code=0, + ) elif command_status in ['failed']: logger.debug('The Scan command has failed. Renaming was not successful.', section) # return ProcessResult( diff --git a/setup.py b/setup.py index 9f19320a..1307c1f4 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ def read(*names, **kwargs): setup( name='nzbToMedia', - version='12.0.1', + version='12.0.2', license='GPLv3', description='Efficient on demand post processing', long_description="""