'Adjust settings for a task that is already in the queue
:param directory: directory to process
:param filename: release/nzb name if available
:param method: processing method, copy/move/symlink/link
:param force: force overwriting of existing files regardless of quality
:param is_priority: whether to replace the file even if it exists at higher quality
:param delete: delete files and folders after they are processed (always happens with move and auto combination)
:param failed: mark downloads as failed if they fail to process
:param mode: processing type: auto/manual
:return: None'

def set_params(self, directory, filename=None, method=None, force=False, is_priority=None, delete=False, failed=False, mode=u'auto'):

    self.directory = directory
    self.filename = filename
    self.method = method
    self.force = config.checkbox_to_value(force)
    self.is_priority = config.checkbox_to_value(is_priority)
    self.delete = config.checkbox_to_value(delete)
    self.failed = config.checkbox_to_value(failed)
    self.mode = mode
