X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=sample%2Fm_librarian.conf;h=cc8f3f5705b88e8463a53c43a227d63b6564a1ba;hb=8fdf6aab492482fcacad9ce2ec764bdc5bf76590;hp=17fc31093d96d9c981f8ddeb9e2f814b7be42b93;hpb=071f22093f133ede991d6125905e07a25f4c7ec6;p=m_librarian.git diff --git a/sample/m_librarian.conf b/sample/m_librarian.conf index 17fc310..cc8f3f5 100644 --- a/sample/m_librarian.conf +++ b/sample/m_librarian.conf @@ -8,3 +8,37 @@ ; URI = postgres://user@host/database?debug=&cache= ; URI = sqlite:///full/path/to/database ; URI = sqlite:/C:/full/path/to/database + +[library] +path = /var/lib/LRE_Flibusta + +[filters] +# Space-separated list of language codes +lang = ru en + +# Show/hide deleted books; 0 - hide, 1 - show +deleted = 0 + +# Default value to use filters in search forms +use_in_search_forms = 1 + +# Use filters in lists of books +use_in_books_list = 1 + +[download] +# Download formats: +# %a - author (one of) +# %e - file extension +# %f - file name in archive +# %G - genre (one of), name +# %g - genre (one of), title +# %l - language +# %n - series number (or 0) +# %s - series +# %t - title +# Examples: +# format = %f (this is the default) +# format = %a/%s/%n %t + +# Directory to download books to +path = /tmp