Page 1 of 1

Command line configuration options?

Posted: Sat Mar 13, 2010 7:43 pm
by midnightlightning
So, I see that there's a way to send commands to deluge via console, and the method changed recently from

Code: Select all

deluge -u console -a "config --option arg"
to

Code: Select all

deluge-console -a "config --option arg"

I can see from other posts that "--set max_active_limit N" is one of the options that can be set, but where is a list of all the options that can be set (and the syntatically-correct spelling of them? I'm looking to have a single command line that can throw deluge into a "slow" state (not "stopped") and another to reset it, such that other automated tasks can take priority for a time on my headless Linux box (not a cron job, per se) for the time they're running, which may not be a predictable schedule.

Re: Command line configuration options?

Posted: Sat Mar 13, 2010 10:23 pm
by Cas
typing 'config' in deluge-console gives a list of all the options for use with --set

Code: Select all

>>> config
  add_paused: False
  allow_remote: True
  auto_managed: True
  autoadd_enable: False
  autoadd_location: /home/user
  cache_expiry: 60
  cache_size: 512
  compact_allocation: False
  copy_torrent_file: False
  daemon_port: 58846
  dht: True
  dont_count_slow_torrents: True
  download_location: /torrent
('Blocklist', 'Label', 'Execute', 'Scheduler', 'Stats', 'Pieces')           
  enc_in_policy: 1
  enc_level: 2
  enc_out_policy: 1
  enc_prefer_rc4: True
  geoip_db_location: /usr/share/GeoIP/GeoIP.dat
  ignore_limits_on_local_network: True
  info_sent: 1267325056.0
  listen_interface: 
  listen_ports: (45830, 45839)
  lsd: True
  max_active_downloading: 4
  max_active_limit: 4
  max_active_seeding: 2
  max_connections_global: 200
  max_connections_per_second: 20
  max_connections_per_torrent: 50
  max_download_speed: 450.0
  max_download_speed_per_torrent: -1
  max_half_open_connections: 50
  max_upload_slots_global: 4
  max_upload_slots_per_torrent: 3
  max_upload_speed: 15.0
  max_upload_speed_per_torrent: -1
  move_completed: False
  move_completed_path: /torrent
  natpmp: True
  new_release_check: True
  outgoing_ports: (45830, 45839)
  peer_tos: 0x00
  plugins_location: /home/user/.config/deluge/plugins
  prioritize_first_last_pieces: False
  proxies: { 'dht': { 'hostname': '',
           'password': '',
           'port': 8080,
           'type': 0,
           'username': ''},
  'peer': { 'hostname': '',
            'password': '',
            'port': 8080,
            'type': 0,
            'username': ''},
  'tracker': { 'hostname': '',
               'password': '',
               'port': 8080,
               'type': 0,
               'username': ''},
  'web_seed': { 'hostname': '',
                'password': '',
                'port': 8080,
                'type': 0,
                'username': ''}}
  queue_new_to_top: False
  random_outgoing_ports: False
  random_port: False
  rate_limit_ip_overhead: True
  remove_seed_at_ratio: False
  seed_time_limit: 180
  seed_time_ratio_limit: 7.0
  send_info: True
  share_ratio_limit: 1.10000002384
  stop_seed_at_ratio: True
  stop_seed_ratio: 1.0
  torrentfiles_location: /home/user
  undefined: True
  upnp: False
  utpex: True