docs: def load(self):
          """ Load metafile into client.
          """
          if not self.ns.info_hash and not self.parse():
              return
  
          self.addinfo()
  
          # TODO: dry_run
          try:
              # TODO: Scrub metafile if requested
  
              # Determine target state
              start_it = self.job.config.load_mode.lower() in ("start", "started")
              queue_it = self.job.config.queued
  
              if "start" in self.ns.flags:
                  start_it = True
              elif "load" in self.ns.flags:
                  start_it = False
  
              if "queue" in self.ns.flags:
                  queue_it = True
  
              # Load metafile into client
              load_cmd = self.job.proxy.load.verbose
              if queue_it:
                  if not start_it:
                      self.ns.commands.append("d.priority.set=0")
              elif start_it:
                  load_cmd = self.job.proxy.load.start_verbose
  
              self.job.LOG.debug("Templating values are:\n    %s" % "\n    ".join("%s=%s" % (key, repr(val))
                  for key, val in sorted(self.ns.items())
              ))
  
              load_cmd(xmlrpc.NOHASH, self.ns.pathname, *tuple(self.ns.commands))
              time.sleep(.05) # let things settle
  
              # Announce new item
              if not self.job.config.quiet:
                  msg = "%s: Loaded '%s' from '%s/'%s%s" % (
                      self.job.__class__.__name__,
                      fmt.to_utf8(self.job.proxy.d.name(self.ns.info_hash, fail_silently=True)),
                      os.path.dirname(self.ns.pathname).rstrip(os.sep),
                      " [queued]" if queue_it else "",
                      (" [startable]"  if queue_it else " [started]") if start_it else " [normal]",
                  )
                  self.job.proxy.log(xmlrpc.NOHASH, msg)
  
              # TODO: Evaluate fields and set client values
              # TODO: Add metadata to tied file if requested
  
              # TODO: Execute commands AFTER adding the item, with full templating
              # Example: Labeling - add items to a persistent view, i.e. "postcmd = view.set_visible={{label}}"
              #   could also be done automatically from the path, see above under "flags" (autolabel = True)
              #   and add traits to the flags, too, in that case
  
          except xmlrpc.ERRORS as exc:
              self.job.LOG.error("While loading #%s: %s" % (self.ns.info_hash, exc))