Would it be possible for someone to provide or direct me to the list of configuration keys and their possible values. I cannot seem to find a list for this anywhere.
TIA
configuration key/value pairs
Re: configuration key/value pairs
Only in source-code, and core.conf, gtkui.conf, web.conf and console.conf in deluge's profile dir, which gets generated upon first run, plus default included plugins prefs, which I though omitted here.
deluge/core/preferencesmanager.py: (core)
deluge/ui/gtk3/gtkui.py: (GTK-UI)
deluge/ui/web/server.py: (web-UI)
deluge/ui/console/main.py: (console-UI)
deluge/core/preferencesmanager.py: (core)
Code: Select all
DEFAULT_PREFS = {
'send_info': False,
'info_sent': 0.0,
'daemon_port': 58846,
'allow_remote': False,
'pre_allocate_storage': False,
'download_location': deluge.common.get_default_download_dir(),
'listen_ports': [6881, 6891],
'listen_interface': '',
'outgoing_interface': '',
'random_port': True,
'listen_random_port': None,
'listen_use_sys_port': False,
'listen_reuse_port': True,
'outgoing_ports': [0, 0],
'random_outgoing_ports': True,
'copy_torrent_file': False,
'del_copy_torrent_file': False,
'torrentfiles_location': deluge.common.get_default_download_dir(),
'plugins_location': os.path.join(deluge.configmanager.get_config_dir(), 'plugins'),
'prioritize_first_last_pieces': False,
'sequential_download': False,
'dht': True,
'upnp': True,
'natpmp': True,
'utpex': True,
'lsd': True,
'enc_in_policy': 1,
'enc_out_policy': 1,
'enc_level': 2,
'max_connections_global': 200,
'max_upload_speed': -1.0,
'max_download_speed': -1.0,
'max_upload_slots_global': 4,
'max_half_open_connections': (
lambda: deluge.common.windows_check()
and (lambda: deluge.common.vista_check() and 4 or 8)()
or 50
)(),
'max_connections_per_second': 20,
'ignore_limits_on_local_network': True,
'max_connections_per_torrent': -1,
'max_upload_slots_per_torrent': -1,
'max_upload_speed_per_torrent': -1,
'max_download_speed_per_torrent': -1,
'enabled_plugins': [],
'add_paused': False,
'max_active_seeding': 5,
'max_active_downloading': 3,
'max_active_limit': 8,
'dont_count_slow_torrents': False,
'queue_new_to_top': False,
'stop_seed_at_ratio': False,
'remove_seed_at_ratio': False,
'stop_seed_ratio': 2.00,
'share_ratio_limit': 2.00,
'seed_time_ratio_limit': 7.00,
'seed_time_limit': 180,
'auto_managed': True,
'move_completed': False,
'move_completed_path': deluge.common.get_default_download_dir(),
'move_completed_paths_list': [],
'download_location_paths_list': [],
'path_chooser_show_chooser_button_on_localhost': True,
'path_chooser_auto_complete_enabled': True,
'path_chooser_accelerator_string': 'Tab',
'path_chooser_max_popup_rows': 20,
'path_chooser_show_hidden_files': False,
'new_release_check': True,
'proxy': {
'type': 0,
'hostname': '',
'username': '',
'password': '',
'port': 8080,
'proxy_hostnames': True,
'proxy_peer_connections': True,
'proxy_tracker_connections': True,
'force_proxy': False,
'anonymous_mode': False,
},
'peer_tos': '0x00',
'rate_limit_ip_overhead': True,
'geoip_db_location': '/usr/share/GeoIP/GeoIP.dat',
'cache_size': 512,
'cache_expiry': 60,
'auto_manage_prefer_seeds': False,
'shared': False,
'super_seeding': False,
}
Code: Select all
DEFAULT_PREFS = {
'standalone': True,
'interactive_add': True,
'focus_add_dialog': True,
'enable_system_tray': True,
'close_to_tray': False,
'start_in_tray': False,
'enable_appindicator': False,
'lock_tray': False,
'tray_password': '',
'check_new_releases': True,
'default_load_path': None,
'window_maximized': False,
'window_x_pos': 0,
'window_y_pos': 0,
'window_width': 640,
'window_height': 480,
'pref_dialog_width': None,
'pref_dialog_height': None,
'edit_trackers_dialog_width': None,
'edit_trackers_dialog_height': None,
'tray_download_speed_list': [5.0, 10.0, 30.0, 80.0, 300.0],
'tray_upload_speed_list': [5.0, 10.0, 30.0, 80.0, 300.0],
'connection_limit_list': [50, 100, 200, 300, 500],
'enabled_plugins': [],
'show_connection_manager_on_start': True,
'autoconnect': False,
'autoconnect_host_id': None,
'autostart_localhost': False,
'autoadd_queued': False,
'choose_directory_dialog_path': get_default_download_dir(),
'show_new_releases': True,
'show_sidebar': True,
'show_toolbar': True,
'show_statusbar': True,
'show_tabsbar': True,
'tabsbar_tab_pos': 'top',
'tabsbar_position': 235,
'sidebar_show_zero': False,
'sidebar_show_trackers': True,
'sidebar_show_owners': True,
'sidebar_position': 170,
'show_rate_in_title': False,
'createtorrent.trackers': [],
'show_piecesbar': False,
'detect_urls': True,
'pieces_color_missing': [65535, 0, 0],
'pieces_color_waiting': [4874, 56494, 0],
'pieces_color_downloading': [65535, 55255, 0],
'pieces_color_completed': [4883, 26985, 56540],
'focus_main_window_on_add': True,
'language': None,
}
Code: Select all
CONFIG_DEFAULTS = {
# Misc Settings
'enabled_plugins': [],
'default_daemon': '',
# Auth Settings
'pwd_salt': 'c26ab3bbd8b137f99cd83c2c1c0963bcc1a35cad',
'pwd_sha1': '2ce1a410bcdcc53064129b6d950f2e9fee4edc1e',
'session_timeout': 3600,
'sessions': {},
# UI Settings
'sidebar_show_zero': False,
'sidebar_multiple_filters': True,
'show_session_speed': False,
'show_sidebar': True,
'theme': 'gray',
'first_login': True,
'language': '',
# Server Settings
'base': '/',
'interface': '0.0.0.0',
'port': 8112,
'https': False,
'pkey': 'ssl/daemon.pkey',
'cert': 'ssl/daemon.cert',
}
Code: Select all
DEFAULT_CONSOLE_PREFS = {
'ring_bell': False,
'first_run': True,
'language': '',
'torrentview': {
'sort_primary': 'queue',
'sort_secondary': 'name',
'show_sidebar': True,
'sidebar_width': 25,
'separate_complete': True,
'move_selection': True,
'columns': {},
},
'addtorrents': {
'show_misc_files': False, # TODO: Showing/hiding this
'show_hidden_folders': False, # TODO: Showing/hiding this
'sort_column': 'date',
'reverse_sort': True,
'last_path': '~',
},
'cmdline': {
'ignore_duplicate_lines': False,
'third_tab_lists_all': False,
'torrents_per_tab_press': 15,
'save_command_history': True,
},
}
Re: configuration key/value pairs
Mhertz,
Thank you so much for providing this!
Thank you so much for providing this!