code: def _resolve_viewname(self, viewname):
          
          if viewname == "-":
              try:
                  # Only works with rTorrent-PS at this time!
                  viewname = self.open().ui.current_view()
              except xmlrpc.ERRORS as exc:
                  raise error.EngineError("Can't get name of current view: %s" % (exc))
  
          return viewname
docs: Check for special view names and return existing rTorrent one.