rtorrent.rc 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. #-*- mode: conf -*-
  2. max_peers = 100
  3. max_peers_seed = -1
  4. max_uploads = 15
  5. download_rate = 0
  6. upload_rate = 0
  7. directory = ~/rtorrent/download
  8. session = ~/rtorrent/session
  9. schedule = watch_directory,5,5,load_start=~/Descargas/*.torrent
  10. port_range = 49164-49164
  11. check_hash = no
  12. use_udp_trackers = yes
  13. dht = auto
  14. peer_exchange = yes
  15. system.method.set_key = event.download.finished,move_complete,"execute=mv,-u,$d.get_base_path=,~/rtorrent/share/;d.set_directory=~/rtorrent/share/"
  16. #
  17. # PyroScope SETTINGS
  18. #
  19. # `system.has` polyfill (the "false=" silences the `catch` command, in rTorrent-PS)
  20. catch = {"false=", "method.redirect=system.has,false"}
  21. # Set "pyro.extended" to 1 to activate rTorrent-PS features!
  22. # (the automatic way used here only works with rTorrent-PS builds after 2018-05-30)
  23. method.insert = pyro.extended, const|value, (system.has, rtorrent-ps)
  24. # Set "pyro.bin_dir" to the "bin" directory where you installed the pyrocore tools!
  25. # Make sure you end it with a "/"; if this is left empty, then the shell's path is searched.
  26. method.insert = pyro.bin_dir, string|const,
  27. # Remove the ".default" if you want to change something (else your changes
  28. # get over-written on update, when you put them into ``*.default`` files).
  29. #import = ~/.pyroscope/rtorrent-pyro.rc.default
  30. # TORQUE: Daemon watchdog schedule
  31. # Must be activated by touching the "~/.pyroscope/run/pyrotorque" file!
  32. # Set the second argument to "-v" or "-q" to change log verbosity.
  33. schedule = pyro_watchdog,30,300,"pyro.watchdog=~/.pyroscope,"
  34. # Remove the default column
  35. method.set_key = ui.column.render, (ui.column.spec, 920)
  36. # Add ASCII ratio in percent
  37. # (1..99 for incomplete; 1c = 1.0; 1m = 10.0; …)
  38. method.set_key = ui.column.render, "922:3C93/3:R% ", \
  39. ((string.replace, ((convert.magnitude, ((math.div, ((d.ratio)), 10)) )), \
  40. {"⋅", "."} ))
  41. # Show traffic of the last hour
  42. network.history.depth.set = 112
  43. schedule = network_history_sampling,1,32, network.history.sample=
  44. method.insert = network.history.auto_scale.toggle, simple|private, \
  45. "branch=network.history.auto_scale=, \
  46. \"network.history.auto_scale.set=0\", \
  47. \"network.history.auto_scale.set=1\""
  48. method.insert = network.history.auto_scale.ui_toggle, simple|private, \
  49. "network.history.auto_scale.toggle= ;network.history.refresh="
  50. branch=pyro.extended=,"schedule = bind_auto_scale,0,0, \
  51. \"ui.bind_key=download_list,=,network.history.auto_scale.ui_toggle=\""
  52. # UI/VIEW: Colors
  53. ui.color.complete.set=41
  54. ui.color.stopped.set=33
  55. ui.color.footer.set="bright cyan on 20"
  56. ui.color.even.set="on 234"
  57. ui.color.odd.set="on 232"
  58. ui.color.progress0.set=196
  59. ui.color.progress20.set=202
  60. ui.color.progress40.set=213
  61. ui.color.progress60.set=214
  62. ui.color.progress80.set=226
  63. ui.color.progress100.set=41
  64. ui.color.progress120.set="bold bright green"