anchor.diff:              },
       download(local, Opts);
   download(Opts) when is_map(Opts) ->
  -    DefaultOpts = #{type   => file,
  -                    args   => vffov_utils:priv_dir(vffov) ++ "playlist.txt",
  -                    offset => -1,
  -                    count  => -1
  -                   },
  +    DefaultOpts = build_default_opts(),
       download(local, maps:merge(DefaultOpts, Opts)).
   
   -spec download(mode(), opts()) -> ok | error.
  
positive.code: convert_opts(PL) when is_list(PL) ->
      maps:from_list(PL).
  
  maybe_slice_downloads(Opts) ->
      case {maps:get(offset, Opts, -1), maps:get(count, Opts, -1)} of
          {-1, -1} ->
  
negative.code:                     lists:sublist(List, Offset + 1, Count)
              end
      end.
  
  build_default_opts() ->
      #{type   => file,
        args   => get_playlist_file(),
        offset => -1,
        count  => -1
       }.
  
  get_playlist_file() ->
      vffov_utils:priv_dir(vffov) ++ "playlist.txt".
  