Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
213 lines (139 sloc) 4.33 KB
# Sample configuration file for slimrat
#
# Should reside in /etc/slimrat.conf, or ~/.slimrat/config when relying on automatic loading.
#
# Keys can be forced with "==", making them immutable
#
# Subsections are specified with square brackets
########
# MAIN #
########
#
# Common
#
# File to save PID in (default "~/.slimrat/pid")
#state_file = ~/.slimrat/pid
# User-agent (default: "slimrat/$VERSION")
#useragent = slimrat/1.0.0-trunk
# Server timeout (default "900")
#timeout = 900
# Rate control in KB/s (default 0, which is unlimited)
#rate = 0
# What to do if the file already exists (default: "rename")
# no = skip the download, mark as DONE
# skip = skip the download
# overwrite = download and overwrite
# rename = rename the new file (append number)
# resume = resume the existing file
#redownload = rename
# Automatic OCR captcha reader (default: disabled)
# NOTE: this depends on Tesseract and ImageMagick to be present
#ocr = disabled
# Retry count upon non-fatal errors (default: 0)
#retry_count = 0
# Retry wait timer (default: 60)
#retry_wait = 60
# Escape filenames, by reducing them to purely alphanumeric characters (default: off)
#escape_filenames = off
# Window size for the moving-average speed calculation (default: 30 seconds)
#speed_window = 30
#
# Toolbox
#
[toolbox]
# Skip waits if possible (defaut: false)
#skip_waits = false
#
# Command-line interface
#
[cli]
# Main mode: download or check (default "download")
#mode = download
# Threads to use while downloading (default 1, single threaded)
#threads = 1
# Daemonisation
#daemon = 1
# Directory to save files to (default: current directory)
#to = /var/share/data
#to = ~/Downloads
# File to load URLs from
#list = /tmp/urls.txt
# Command to display image (captcha) on command line, %s is replaced with filename (default "asciiview -kbddriver stdin -driver stdout %s");
#image_viewer = asciiview -kbddriver stdin -driver stdout %s
#image_viewer = feh %s &
# Stuff ran after a completed download (default unset)
#post_download = echo "foo" >> /var/log/bar
# Stuff ran after a failure (default unset(
#post_failure = echo "A download failed!" | mail -s "Slimrat error" root@localhost
# Stuff ran after all downloads (default unset)
#post_all = logger "Slimrat finished"
#
# Graphical user-interface
#
[gui]
# Default "Download to" directory (default: ~/Downloads)
#to = ~/Downloads
# Temporary file to pass queue to slimrat-cli too (default "~/.slimrat/queue")
#queue_file = ~/.slimrat/queue
#
# Logging
#
[log]
# Manage the verbosity level (default 3)
# 1: only fatal errors
# 2: only warnings and errors
# 3: normal
# 4: verbose (debug messages)
# 5: generate dumps
#verbosity = 3
# Enable output to the standard output (default enabled)
#screen = enabled
# Enable output to a file (default enabled)
#file = enabled
# Configure the location of the file (default "~/.slimrat/log")
#file_path = /var/log/slimrat.log
# Where to store the generated dumps (default "/tmp")
#dump_folder = /tmp
#
# Proxy manager
#
[proxy]
# List with proxies (default empty, which disables the proxy manager)
#file = ~/.slimrat/proxies
# Limit the files downloaded using a proxy (default: 5)
#limit_downloads = 5
# How to pick a next proxy when needed e.g. upon protocol mismatch or reached limits (default: "linear")
# linear: pick the next one in the line
# random: access proxies at random
#order = linear
# Delete proxies when the limit got hit (default: "no", which resets and puts at the end of the queue)
#delete = no
###########
# PLUGINS #
###########
[plugin]
# Location of plugin update server (default: slimrat svn repository)
#update_server = http://slimrat.googlecode.com/svn/tags/1.0/src/plugins
# Local (per-user) folder to save updates (default: "~/.slimrat/updates")
#update_cache = ~/.slimrat/updates
[direct]
# Enable the Direct plugin -- a HTTP GET fallback when no plugin is found (default 0, disabled)
#enabled = false
[czshare]
# Login and password for "PROFI" account on CZShare. If unset, use FREE account
#username = foobar
#password = *****
[rapidshare]
# Interval checking: limit the maximal wait time, in minutes (default 0, disabled)
#interval = 0
# Premium-account settings
#username = foo
#password = bar
[hotfile]
# Premium account
#username = foo
#password = bar
[megaupload]
# Free membership - Shorter waiting time
#username = foo
#password = bar