Commit | Line | Data |
---|---|---|
08fe2e33 NR |
1 | # Configuration options |
2 | # | |
3 | ||
4 | ||
ce788468 NR |
5 | # language (example: en-GB, fr-BE...) or nothing for default system language |
6 | # (FORMAT: LOCALE) Force the language (can be overwritten again with the env variable $LANG) | |
08fe2e33 | 7 | LANG = |
c1873e56 | 8 | # reader type (CLI = simple output to console, TUI = Text User Interface with menus and windows, GUI = a GUI with locally stored files) |
ce788468 | 9 | # (FORMAT: FIXED_LIST) Select the default reader to use to read stories |
c1873e56 | 10 | # ALLOWED VALUES: "CLI" "GUI" "TUI" |
3727aae2 | 11 | READER_TYPE = |
e604986c NR |
12 | # The type of output for the Local Reader for non-images documents |
13 | # (FORMAT: COMBO_LIST) One of the known output type | |
14 | # ALLOWED VALUES: "INFO_TEXT" "EPUB" "HTML" "TEXT" | |
15 | NON_IMAGES_DOCUMENT_TYPE = INFO_TEXT | |
16 | # The type of output for the Local Reader for images documents | |
17 | # (FORMAT: COMBO_LIST) | |
18 | # ALLOWED VALUES: "CBZ" "HTML" | |
19 | IMAGES_DOCUMENT_TYPE = CBZ | |
ce788468 NR |
20 | # absolute path, $HOME variable supported, / is always accepted as dir separator |
21 | # (FORMAT: DIRECTORY) The directory where to store temporary files, defaults to directory 'tmp' in the conig directory (usually $HOME/.fanfix) | |
08fe2e33 | 22 | CACHE_DIR = |
ce788468 NR |
23 | # delay in hours, or 0 for no cache, or -1 for infinite time (default) |
24 | # (FORMAT: INT) The delay after which a cached resource that is thought to change ~often is considered too old and triggers a refresh | |
08fe2e33 | 25 | CACHE_MAX_TIME_CHANGING = 24 |
ce788468 NR |
26 | # delay in hours, or 0 for no cache, or -1 for infinite time (default) |
27 | # (FORMAT: INT) The delay after which a cached resource that is thought to change rarely is considered too old and triggers a refresh | |
a8209dd0 | 28 | CACHE_MAX_TIME_STABLE = 720 |
ce788468 | 29 | # string (FORMAT: STRING) The user-agent to use to download files |
edd46289 | 30 | USER_AGENT = Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 -- ELinks/0.9.3 (Linux 2.6.11 i686; 80x24) |
ce788468 NR |
31 | # absolute path, $HOME variable supported, / is always accepted as dir separator |
32 | # (FORMAT: DIRECTORY) The directory where to get the default story covers | |
51c5d9a7 | 33 | DEFAULT_COVERS_DIR = $HOME/.fanfix/covers/ |
e023483b NR |
34 | # string (FORMAT: STRING) The default library to use (KEY:SERVER:PORT), or empty for the local library |
35 | DEFAULT_LIBRARY = | |
ce788468 NR |
36 | # absolute path, $HOME variable supported, / is always accepted as dir separator |
37 | # (FORMAT: DIRECTORY) The directory where to store the library | |
08fe2e33 | 38 | LIBRARY_DIR = $HOME/Books |
ce788468 | 39 | # boolean (FORMAT: BOOLEAN) Show debug information on errors |
d0114000 | 40 | DEBUG_ERR = false |
a8209dd0 NR |
41 | # boolean (FORMAT: BOOLEAN) Show debug trace information |
42 | DEBUG_TRACE = false | |
ce788468 NR |
43 | # image format (FORMAT: COMBO_LIST) Image format to use for cover images |
44 | # ALLOWED VALUES: "PNG" "JPG" "BMP" | |
ae78e517 | 45 | IMAGE_FORMAT_COVER = PNG |
ce788468 NR |
46 | # image format (FORMAT: COMBO_LIST) Image format to use for content images |
47 | # ALLOWED VALUES: "PNG" "JPG" "BMP" | |
ae78e517 | 48 | IMAGE_FORMAT_CONTENT = JPG |
ce788468 NR |
49 | # This item is used as a group, its content is not expected to be used. |
50 | LATEX_LANG = | |
51 | # LaTeX output language: English | |
52 | # (FORMAT: STRING) LaTeX full name | |
08fe2e33 | 53 | LATEX_LANG_EN = english |
ce788468 NR |
54 | # LaTeX output language: French |
55 | # (FORMAT: STRING) LaTeX full name | |
08fe2e33 | 56 | LATEX_LANG_FR = french |
ce788468 NR |
57 | # other 'by' prefixes before author name, used to identify the author |
58 | # (FORMAT: STRING) | |
59 | # (This item accept a list of comma-separated values) | |
08fe2e33 | 60 | BYS = by,par,de,©,(c) |
ce788468 NR |
61 | # List of languages codes used for chapter identification (should not be changed) |
62 | # (FORMAT: STRING) EN,FR | |
63 | # (This item accept a list of comma-separated values) | |
08fe2e33 | 64 | CHAPTER = EN,FR |
ce788468 NR |
65 | # Chapter identification String: English |
66 | # (FORMAT: STRING) used to identify a starting chapter in text mode | |
08fe2e33 | 67 | CHAPTER_EN = Chapter |
ce788468 NR |
68 | # Chapter identification String: French |
69 | # (FORMAT: STRING) used to identify a starting chapter in text mode | |
08fe2e33 | 70 | CHAPTER_FR = Chapitre |
ce788468 NR |
71 | # Login information (username) for YiffStar to have access to all the stories (should not be necessary anymore) |
72 | # (FORMAT: STRING) | |
6e06d2cc | 73 | LOGIN_YIFFSTAR_USER = |
ce788468 NR |
74 | # Login information (password) for YiffStar to have access to all the stories (should not be necessary anymore) |
75 | # (FORMAT: PASSWORD) | |
6e06d2cc | 76 | LOGIN_YIFFSTAR_PASS = |
ce788468 NR |
77 | # If the last update check was done at least that many days, check for updates at startup (-1 for 'no checks' -- default is 1 day) |
78 | # (FORMAT: INT) | |
b42117f1 | 79 | UPDATE_INTERVAL = |
a8209dd0 NR |
80 | # An API key required to create a token from FimFiction |
81 | # (FORMAT: STRING) | |
82 | LOGIN_FIMFICTION_APIKEY_CLIENT_ID = | |
83 | # An API key required to create a token from FimFiction | |
315f14ae | 84 | # (FORMAT: PASSWORD) |
a8209dd0 NR |
85 | LOGIN_FIMFICTION_APIKEY_CLIENT_SECRET = |
86 | # Do not use the new API, even if we have a token, and force HTML scraping (default is false, use API if token or ID present) | |
315f14ae | 87 | # (FORMAT: BOOLEAN) |
a8209dd0 NR |
88 | LOGIN_FIMFICTION_APIKEY_FORCE_HTML = |
89 | # A token is required to use the beta APIv2 from FimFiction (see APIKEY_CLIENT_*) | |
90 | # (FORMAT: PASSWORD) | |
e604986c | 91 | LOGIN_FIMFICTION_APIKEY_TOKEN = Bearer WnZ5oHlzQoDocv1GcgHfcoqctHkSwL-D |