Skip to content

Commit

Permalink
Add 'sweep' directives into pyrocore config.ini (See #150)
Browse files Browse the repository at this point in the history
  • Loading branch information
chros authored and chros committed Sep 11, 2018
1 parent f0de17d commit 5c15c95
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions ubuntu-14.04/home/chros73/.pyroscope/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,55 @@ password = root
timeout = 0.250


[SWEEP]
# Settings for the "rtsweep" tool

# Use the rules from the named [SWEEP_RULES_‹name›] sections
default_rules = builtin, custom

# Filter for protected items (active, prio 3, and ignored items by default)
filter_protected = last_xfer<1h OR prio=3 OR is_ignored=y

# Maximum amount of space that can be requested in one go
space_max_request = 99g

# Minimum amount of space that must be kept free (adds to the space request)
space_min_free = 10g

# Default sort order within each rule
default_order = loaded


[SWEEP_RULES_CUSTOM]
# See "docs/setup.rst" for details.


[SWEEP_RULES_BUILTIN]
# Builtin rules, disable by changing "default_rules"

# Full BD / Remux older than 7 days
bluray.prio = 100
bluray.filter = /BLURAY/,/Remux/ size>14g loaded>7d

# Bigger items with ratio > 3 and older than 5 days
seeded.prio = 200
seeded.order = active,-size
seeded.filter = size>3g ratio>3 loaded>5d

# 1080p after 2 weeks
video1080p.prio = 500
video1080p.filter = /1080p/ loaded>15d

# 720p after 3 weeks
video720p.prio = 550
video720p.filter = /720p/ loaded>22d

# Bigger than 1.5G after 5 days, inactive and big items first
big5d.prio = 900
big5d.order = active,-size
big5d.filter = size>1.5g loaded>5d


[ANNOUNCE]
# Add alias names for announce URLs to this section; those aliases are used
# at many places, e.g. by the "mktor" tool and to shorten URLs to these aliases
Expand Down

0 comments on commit 5c15c95

Please sign in to comment.