anchor.diff:      % 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}}.
  +    {ok, #state{scanner=undefined, ndb=Ndb, fdb=Fdb, customname=""}}.
   
   handle_cast(sync, State) -> 
       dets:sync(State#state.fdb),
  
positive.code:                                 {<<"duration">>, proplists:get_value(duration, Props)},
                                  {<<"bitrate">>, proplists:get_value(bitrate, Props)},
                                  {<<"size">>, proplists:get_value(size, Props)},
                                  {<<"source">>, list_to_binary(Hostname)}
                              ]},
                  qry:add_result(Qpid, Rep)                
              end,
  
negative.code:     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)},
  