@pipeline.mutator_stage
def lookup_candidates(session, task):
 if task.skip:
  return
 plugins.send('import_task_start', session=session, task=task)
 log.debug(u'Looking up: {0}'.format(displayable_path(task.paths)))
 task.lookup_candidates()

@ pipeline . mutator_stage def lookup_candidates ( session , task ) : if task . skip : return plugins . send ( 'import_task_start' , session = session , task = task ) log . debug ( u'Looking up: {0}' . format ( displayable_path ( task . paths ) ) ) task . lookup_candidates ( )
a coroutine for performing the initial musicbrainz lookup for an album .