anchor.diff:  dump_library(Pid)       -> gen_server:call(Pid, dump_library, 60000).
   %%
   
  +% Non-standard init, when used by proxy for another type of library:
  +init([Name]) when is_list(Name) ->
  +    DbDir = ?CONFVAL({library,dbdir}, "."),
  +    {ok, Ndb} = dets:open_file(DbDir++"/"++Name++"_index.db",[{type, bag}]),
  +    {ok, Fdb} = dets:open_file(DbDir++"/"++Name++".db", [{type, set}]),
  +    ?LOG(info, "Library index (for ~s) contains ~w files", 
  +               [Name, proplists:get_value(size, dets:info(Fdb), -1)]),
  +    {ok, #state{scanner=undefined, ndb=Ndb, fdb=Fdb, customname=Name}};
  +
  +% Default init, when acting as normal library resolver
   init([]) ->
       DbDir = ?CONFVAL({library,dbdir}, "."),
       {ok, Ndb} = dets:open_file(DbDir++"/library_index.db",[{type, bag}]),
  
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: -export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3]).
  
  %% Records
  -record(state, {scanner, ndb, fdb, customname}).
  
  %%
  
  