anchor.diff:      case Q of
           {struct, Mq} -> % Mq is a proplist
               Hostname = ?CONFVAL(name, "unknown"),
  +			Name = case State#state.customname of
  +					   "" -> Hostname;
  +					   C  -> Hostname ++ "/" ++ C
  +				   end,
               Report = fun({Props, Score}) ->
                   Rep =   {struct, [
                                   {<<"artist">>, proplists:get_value(artist, Props)},
  
positive.code: dump_library(Pid)       -> gen_server:call(Pid, dump_library, 60000).
  %%
  
  init([]) ->
      DbDir = ?CONFVAL({library,dbdir}, "."),
      {ok, Ndb} = dets:open_file(DbDir++"/library_index.db",[{type, bag}]),
  
negative.code:     % start the scanner (kind of a hack, but deadlock if we do it in init here):
      self() ! start_scanner,        
      resolver:add_resolver(?MODULE, name(self()), weight(self()), targettime(self()), self()),
      {ok, #state{scanner=undefined, ndb=Ndb, fdb=Fdb, customname=""}}.
  
  handle_cast(sync, State) -> 
      dets:sync(State#state.fdb),
  