git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New FimFiction.net API downloading:
[nikiroo-utils.git]
/
src
/
be
/
nikiroo
/
fanfix
/
bundles
/
config.properties
diff --git
a/src/be/nikiroo/fanfix/bundles/config.properties
b/src/be/nikiroo/fanfix/bundles/config.properties
index 2fa3d32a054ffe846e5eac1b44ad898ec757bf38..937c4217353b21675a772aaacbb205df7f8fa786 100644
(file)
--- a/
src/be/nikiroo/fanfix/bundles/config.properties
+++ b/
src/be/nikiroo/fanfix/bundles/config.properties
@@
-2,63
+2,72
@@
#
#
-#
(WHAT: language (example: en-GB, fr-BE...) or nothing for default system language, FORMAT: Locale|'')
-# Force the language (can be overwritten again with the env variable $LANG)
+#
language (example: en-GB, fr-BE...) or nothing for default system language
+#
(FORMAT: LOCALE)
Force the language (can be overwritten again with the env variable $LANG)
LANG =
LANG =
-# (WHAT: reader type (CLI = simple output to console, LOCAL = use local system file handler), FORMAT: 'CLI'|'LOCAL')
-# Select the default reader to use to read stories
+# reader type (CLI = simple output to console, TUI = Text User Interface with menus and windows, GUI = a GUI with locally stored files)
+# (FORMAT: FIXED_LIST) Select the default reader to use to read stories
+# ALLOWED VALUES: "CLI" "GUI" "TUI"
READER_TYPE =
READER_TYPE =
-#
(WHAT: absolute path, $HOME variable supported, / is always accepted as dir separator, FORMAT: Directory)
-# The directory where to store temporary files, defaults to directory 'tmp' in the conig directory (usually $HOME/.fanfix)
+#
absolute path, $HOME variable supported, / is always accepted as dir separator
+#
(FORMAT: DIRECTORY)
The directory where to store temporary files, defaults to directory 'tmp' in the conig directory (usually $HOME/.fanfix)
CACHE_DIR =
CACHE_DIR =
-#
(WHAT: delay in hours, or 0 for no cache, or -1 for infinite time (default), FORMAT: in
t)
-# The delay after which a cached resource that is thought to change ~often is considered too old and triggers a refresh
+#
delay in hours, or 0 for no cache, or -1 for infinite time (defaul
t)
+#
(FORMAT: INT)
The delay after which a cached resource that is thought to change ~often is considered too old and triggers a refresh
CACHE_MAX_TIME_CHANGING = 24
CACHE_MAX_TIME_CHANGING = 24
-#
(WHAT: delay in hours, or 0 for no cache, or -1 for infinite time (default), FORMAT: in
t)
-# The delay after which a cached resource that is thought to change rarely is considered too old and triggers a refresh
+#
delay in hours, or 0 for no cache, or -1 for infinite time (defaul
t)
+#
(FORMAT: INT)
The delay after which a cached resource that is thought to change rarely is considered too old and triggers a refresh
CACHE_MAX_TIME_STABLE =
CACHE_MAX_TIME_STABLE =
-# (WHAT: string, FORMAT: String)
-# The user-agent to use to download files
+# string (FORMAT: STRING) The user-agent to use to download files
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)
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)
-#
(WHAT: absolute path, $HOME variable supported, / is always accepted as dir separator, FORMAT: Directory)
-# The directory where to get the default story covers
+#
absolute path, $HOME variable supported, / is always accepted as dir separator
+#
(FORMAT: DIRECTORY)
The directory where to get the default story covers
DEFAULT_COVERS_DIR = $HOME/bin/epub/
DEFAULT_COVERS_DIR = $HOME/bin/epub/
-#
(WHAT: absolute path, $HOME variable supported, / is always accepted as dir separator, FORMAT: Directory)
-# The directory where to store the library
+#
absolute path, $HOME variable supported, / is always accepted as dir separator
+#
(FORMAT: DIRECTORY)
The directory where to store the library
LIBRARY_DIR = $HOME/Books
LIBRARY_DIR = $HOME/Books
-# (WHAT: boolean, FORMAT: 'true'|'false')
-# Show debug information on errors
+# boolean (FORMAT: BOOLEAN) Show debug information on errors
DEBUG_ERR = false
DEBUG_ERR = false
-#
(WHAT: image format, FORMAT: 'PNG'|JPG'|'BMP')
-#
Image format to use for cover images
+#
image format (FORMAT: COMBO_LIST) Image format to use for cover images
+#
ALLOWED VALUES: "PNG" "JPG" "BMP"
IMAGE_FORMAT_COVER = png
IMAGE_FORMAT_COVER = png
-#
(WHAT: image format, FORMAT: 'PNG'|JPG'|'BMP')
-#
Image format to use for content images
+#
image format (FORMAT: COMBO_LIST) Image format to use for content images
+#
ALLOWED VALUES: "PNG" "JPG" "BMP"
IMAGE_FORMAT_CONTENT = png
IMAGE_FORMAT_CONTENT = png
-# (WHAT: LaTeX output language, WHERE: LaTeX, FORMAT: String)
-# LaTeX full name for English
+# This item is used as a group, its content is not expected to be used.
+LATEX_LANG =
+# LaTeX output language: English
+# (FORMAT: STRING) LaTeX full name
LATEX_LANG_EN = english
LATEX_LANG_EN = english
-#
(WHAT: LaTeX output language, WHERE: LaTeX, FORMAT: String)
-#
LaTeX full name for French
+#
LaTeX output language: French
+#
(FORMAT: STRING) LaTeX full name
LATEX_LANG_FR = french
LATEX_LANG_FR = french
-# (WHAT: other 'by' prefixes before author name, FORMAT: comma-separated list|String)
-# used to identify the author
+# other 'by' prefixes before author name, used to identify the author
+# (FORMAT: STRING)
+# (This item accept a list of comma-separated values)
BYS = by,par,de,©,(c)
BYS = by,par,de,©,(c)
-# (WHAT: Chapter identification languages, FORMAT: comma-separated list|String)
-# used to identify a starting chapter in text mode
+# List of languages codes used for chapter identification (should not be changed)
+# (FORMAT: STRING) EN,FR
+# (This item accept a list of comma-separated values)
CHAPTER = EN,FR
CHAPTER = EN,FR
-#
(WHAT: Chapter identification string, WHERE: String)
-# used to identify a starting chapter in text mode
+#
Chapter identification String: English
+#
(FORMAT: STRING)
used to identify a starting chapter in text mode
CHAPTER_EN = Chapter
CHAPTER_EN = Chapter
-#
(WHAT: Chapter identification string, WHERE: String)
-# used to identify a starting chapter in text mode
+#
Chapter identification String: French
+#
(FORMAT: STRING)
used to identify a starting chapter in text mode
CHAPTER_FR = Chapitre
CHAPTER_FR = Chapitre
-#
(WHAT: Login information, FORMAT: String
)
-#
used to login on YiffStar to have access to all the stories (should not be necessary anymore)
+#
Login information (username) for YiffStar to have access to all the stories (should not be necessary anymore
)
+#
(FORMAT: STRING)
LOGIN_YIFFSTAR_USER =
LOGIN_YIFFSTAR_USER =
-#
(WHAT: Login information, FORMAT: Password
)
-#
used to login on YiffStar to have access to all the stories (should not be necessary anymore)
+#
Login information (password) for YiffStar to have access to all the stories (should not be necessary anymore
)
+#
(FORMAT: PASSWORD)
LOGIN_YIFFSTAR_PASS =
LOGIN_YIFFSTAR_PASS =
-#
(WHAT: Minimum time between version update checks in days, or -1 for 'no checks' -- default is 1 day, WHERE: VersionCheck, FORMAT: int
)
-#
If the last update check was done at least that many days, check for updates at startup
+#
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
)
+#
(FORMAT: INT)
UPDATE_INTERVAL =
UPDATE_INTERVAL =
+# An API key required to use the beta APIv2 from FimFiction
+# (FORMAT: PASSWORD)
+LOGIN_FIMFICTION_APIKEY =
+# Do not use the new API, even if we have an API key, and force HTML scraping
+# (FORMAT: BOOLEAN)
+LOGIN_FIMFICTION_FORCE_HTML =