]> git.phdru.name Git - m_librarian.git/blob - m_librarian.conf.sample
Feat(db): Add book.author1 property
[m_librarian.git] / m_librarian.conf.sample
1 [database]
2 ; DB URI syntax examples:
3
4 ; URI = mysql://host/database?debug=1
5 ; URI = mysql://user:password@host/database
6 ; URI = postgres:///full/path/to/socket/database
7 ; URI = postgres://host:5432/database
8 ; URI = postgres://user@host/database?debug=&cache=
9 ; URI = sqlite:///full/path/to/database
10 ; URI = sqlite:/C:/full/path/to/database
11
12 [library]
13 path = /var/lib/LRE_Flibusta
14
15 [filters]
16 # Space-separated list of language codes
17 lang = ru en
18
19 # Show/hide deleted books; 0 - hide, 1 - show
20 deleted = 0
21
22 # Default value to use filters in search forms
23 use_in_search_forms = 1
24
25 # Use filters in lists of books
26 use_in_books_list = 1
27
28 [columns]
29 # Full list of author columns:
30 # author = surname name misc_name fullname count
31 # Default column is fullname
32 author = fullname count
33 # Full list of book columns:
34 # book = title series ser_no archive file size lib_id deleted date
35 #        author1
36 # author1 is just one author from the list if there are more than 1
37 # Default column is just title
38 book = ser_no title
39
40 [download]
41 # Download formats:
42 # %a - author1 (one of)
43 # %e - file extension
44 # %f - file name in archive
45 # %G - genre (one of), name
46 # %g - genre (one of), title
47 # %l - language
48 # %n - series number (or 0)
49 # %s - series
50 # %t - title
51 # Examples:
52 # format = %f (this is the default)
53 # format = %a/%s/%n %t
54
55 # Directory to download books to
56 path = /tmp