X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=sample%2Fm_librarian.conf;h=bca577d1049e3410dd33c90bf5bdbcbf5a845042;hb=5932dd9301f9820b2b103545593606909f8eceb8;hp=17fc31093d96d9c981f8ddeb9e2f814b7be42b93;hpb=071f22093f133ede991d6125905e07a25f4c7ec6;p=m_librarian.git diff --git a/sample/m_librarian.conf b/sample/m_librarian.conf index 17fc310..bca577d 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 = 1 + +# 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