Advertisement
Guest User

Untitled

a guest
Nov 15th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.08 KB | None | 0 0
  1. taig4494@lw759:~/.pyroscope$ cat config.ini
  2. # The default PyroScope configuration file
  3. #
  4. # For details, see https://pyrocore.readthedocs.io/en/latest/setup.html
  5. #
  6.  
  7. [GLOBAL]
  8. # Location of the Python configuration script
  9. config_script = %(config_dir)s/config.py
  10.  
  11. # Which torrent engine to use (currently, only rTorrent)
  12. engine = pyrocore.torrent.rtorrent:RtorrentEngine
  13.  
  14. # Location of your rtorrent configuration
  15. rtorrent_rc = ~/.rtorrent.rc
  16.  
  17. # Use query optimizer? (needs rtorrent-ps 1.1+ or rtorrent 0.9.7+)
  18. fast_query = 0
  19.  
  20. # Glob patterns of superfluous files that can be safely deleted when data files are removed
  21. waif_pattern_list = *~ *.swp
  22.  
  23. # How often to repeat headers when --column-headers is used
  24. output_header_frequency = 30
  25.  
  26. # Bright yellow headers on a terminal
  27. output_header_ecma48 = \x1B[1m\x1B[33m
  28.  
  29. # The default sort order
  30. sort_fields = name,alias
  31.  
  32. # A list of callables that get called AFTER config is successfully loaded
  33. config_validator_callbacks = pyrocore.torrent.engine:TorrentProxy.add_custom_fields
  34.  
  35. # A list of callables that return an iterable of FieldDefinition objects
  36. custom_field_factories =
  37.  
  38.  
  39. [FORMATS]
  40. # The default output format of the result list
  41. default = \ $(name)s {$(alias)s, $(completed)s}
  42. \ $(is_private)s $(is_open)s $(is_active)s P$(prio.raw)s $(done)5.1f%% R:$(ratio)6.2f SZ:$(size.sz)s U:$(up.sz)s/s D:$(down.sz)s/s T:$(throttle)s $(message)s
  43.  
  44. # The default output format for actions
  45. action = $(now.iso)16.16s $(action)8s $(name)s {$(alias)s}
  46. action_cron = $(action)s $(name)s {$(alias)s}
  47.  
  48. # Custom output formats
  49. completion = $(completed.duration)13.13s $(leechtime)9.9s $(seedtime)9.9s $(is_open)4.4s $(up.sz)10s/s $(ratio.pc)5d%% $(alias)-8s $(kind_50)-4.4s $(realpath.pathbase)s
  50. short = $(completed)-16.16s $(size.sz)10s $(uploaded.sz)10s $(ratio.pc)5d%% $(alias)-8s $(name)s
  51. files = $(is_active)-6s $(completed)s $(size.sz)s $(name)s {$(alias)s}
  52. $(files)s [$(custom_kind)s]\n
  53. filelist = {{for i, x in looper(d.files)}}{{d.realpath}}/{{x.path}}{{if i.next is not None}}{{chr(10)}}{{endif}}{{endfor}}
  54.  
  55. # Tempita templates
  56. colored = {{default ESC = '\x1B'}}{{d.size|sz}} {{d.uploaded|sz}} {{#
  57. }}{{if d.seedtime < 8*7*86400}}{{ESC}}[36m{{d.seedtime|duration}}{{ESC}}[0m{{else}}{{d.seedtime|duration}}{{endif}}{{#
  58. }}{{if d.ratio < 0.8}}{{ESC}}[1m{{ESC}}[31m{{elif d.ratio < 1.0}}{{ESC}}[36m{{elif type(d.ratio) is float}}{{ESC}}[32m{{endif}}{{#
  59. }} {{str(pc(d.ratio)).rjust(8)}}{{chr(37)}}{{if type(d.ratio) is float}}{{ESC}}[0m{{endif}}{{#
  60. }} {{(d.alias or '').ljust(8)}} {{d.name or ''}}
  61.  
  62. # To make -color work (which is "-c -o lor")
  63. lor = %(colored)s
  64.  
  65. # Formats for UI commands feedback
  66. tag_show = {{#}}Tags: {{ chr(32).join(d.tagged) }} [{{ d.name[:33] }}…]
  67.  
  68.  
  69. [XMLRPC]
  70. # Here you can rename / map most of the XMLRPC method names used internally;
  71. # since command names seem to be heavily in flux in SVN HEAD of rTorrent, this
  72. # gives you a chance of adapting to the version your use. Report any calls that
  73. # need mapping but are not listed here (open an issue at "Google code", and be
  74. # sure to include the version of rTorrent and pyrocore you are using).
  75. #
  76. # Currently, methods used in a multicall are NOT mapped.
  77. #
  78. # The format is "internal_name = client_name".
  79.  
  80. # This is specifically to allow `proxy.log(…)` calls (`print` is a keyword)
  81. log = print
  82.  
  83. [XMLRPC_0_8_7]
  84. # Like [XMLRPC], but only for the given version and up
  85. d.save_session = d.save_full_session
  86. d.multicall = d.multicall2
  87. d.get_down_rate = d.down.rate
  88. d.get_down_total = d.down.total
  89. d.get_up_rate = d.up.rate
  90. d.get_up_total = d.up.total
  91. d.get_custom = d.custom
  92. d.set_custom = d.custom.set
  93. t.get_url = t.url
  94. get_name = session.name
  95. get_session = session.path
  96. session_save = session.save
  97. get_directory = directory.default
  98. view_list = view.list
  99. view_filter = view.filter
  100. system.get_cwd = system.cwd
  101.  
  102.  
  103. [TRAITS_BY_ALIAS]
  104. # Assign traits to trackers with a unique theme
  105. Debian = linux
  106. jamendo.com = audio
  107.  
  108.  
  109. [INFLUXDB]
  110. # Config for InfluxDB, used when optional features are activated
  111. ; Base URL of the InfluxDB REST API
  112. url = http://localhost:8086/
  113. ; Account used for pushing data
  114. user = root
  115. ; Credentials used for pushing data
  116. password = root
  117. ; Timeout for REST calls [sec]
  118. timeout = 0.250
  119.  
  120.  
  121. [SWEEP]
  122. # Settings for the "rtsweep" tool
  123.  
  124. # Use the rules from the named [SWEEP_RULES_‹name›] sections
  125. default_rules = builtin, custom
  126.  
  127. # Filter for protected items (active, prio 3, and ignored items by default)
  128. filter_protected = last_xfer<1h OR prio=3 OR is_ignored=y
  129.  
  130. # Maximum amount of space that can be requested in one go
  131. space_max_request = 99g
  132.  
  133. # Minimum amount of space that must be kept free (adds to the space request)
  134. space_min_free = 10g
  135.  
  136. # Default sort order within each rule
  137. default_order = loaded
  138.  
  139.  
  140. [SWEEP_RULES_CUSTOM]
  141. # See "docs/setup.rst" for details.
  142.  
  143.  
  144. [SWEEP_RULES_BUILTIN]
  145. # Builtin rules, disable by changing "default_rules"
  146.  
  147. # Full BD / Remux older than 7 days
  148. bluray.prio = 100
  149. bluray.filter = /BLURAY/,/Remux/ size>14g loaded>7d
  150.  
  151. # Bigger items with ratio > 3 and older than 5 days
  152. seeded.prio = 200
  153. seeded.order = active,-size
  154. seeded.filter = size>3g ratio>3 loaded>5d
  155.  
  156. # 1080p after 2 weeks
  157. video1080p.prio = 500
  158. video1080p.filter = /1080p/ loaded>15d
  159.  
  160. # 720p after 3 weeks
  161. video720p.prio = 550
  162. video720p.filter = /720p/ loaded>22d
  163.  
  164. # Bigger than 1.5G after 5 days, inactive and big items first
  165. big5d.prio = 900
  166. big5d.order = active,-size
  167. big5d.filter = size>1.5g loaded>5d
  168.  
  169.  
  170. [ANNOUNCE]
  171. # Add alias names for announce URLs to this section; those aliases are used
  172. # at many places, e.g. by the "mktor" tool and to shorten URLs to these aliases
  173.  
  174. # Public trackers
  175. ;PBT = http://tracker.publicbt.com:80/announce
  176. ; udp://tracker.publicbt.com:80/announce
  177. ;OBT = http://tracker.openbittorrent.com:80/announce
  178. ; udp://tracker.openbittorrent.com:80/announce
  179. ;Debian = http://bttracker.debian.org:6969/announce
  180.  
  181. # Private trackers
  182. ;...
  183. taig4494@lw759:~/.pyroscope$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement