]> git.phdru.name Git - m_librarian.git/blob - m_librarian.conf.sample
Fix(DB): Fix bug with adding same genre to book
[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 author_list ext lang
36 #        genre1name genre1title genre_name_list genre_title_list
37 # author1 is just one author from the list if there are more than 1
38 # author_list is a comma-separated list of full names
39 # genre1*/genre_*_list is a (one of/list of) genres (names or titles)
40 # Default column is just title
41 book = ser_no title
42
43 [download]
44 # Download formats:
45 # %A - authors (comma-separated fullnames)
46 # %a - author1 (one of, fullname)
47 # %e - file extension
48 # %f - file name in archive
49 # %G - genre (one of), name
50 # %g - genre (one of), title
51 # %J - genres (comma-separated names)
52 # %j - genres (comma-separated titles)
53 # %l - language
54 # %n - series number (or 0)
55 # %s - series
56 # %t - title
57 # Examples:
58 # format = %f (this is the default)
59 # format = %a/%s/%n %t
60
61 # Directory to download books to
62 path = /tmp