]> git.phdru.name Git - m_librarian.git/blobdiff - sample/m_librarian.conf
Feat(web): Configure columns for author and book tables
[m_librarian.git] / sample / m_librarian.conf
index 17fc31093d96d9c981f8ddeb9e2f814b7be42b93..9cbf3950572c5a865d2c3810a02cd0b7f06c7844 100644 (file)
@@ -8,3 +8,47 @@
 ; 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
+
+[columns]
+# Full list of author columns:
+# columns = surname name misc_name fullname count
+# Default column is fullname
+author = fullname count
+# Full list of book columns:
+# columns = title series ser_no archive file size lib_id deleted date
+# Default column is just title
+book = ser_no title
+
+[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