Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- templates:
- global:
- free_space:
- path: /media/md5/superchicken
- space: 28610
- irc:
- TorrentLeech:
- tracker_file: '~/TorrentLeech.tracker'
- nickname: 'x'
- port: 7021
- use_ssl: yes
- rsskey: 'x'
- channels: ["#tlannounces"]
- task: download_to_ram
- task_delay: 5
- IPTorrents:
- tracker_file: '~/IPTorrents.tracker'
- nickname: 'x'
- port: 6697
- use_ssl: yes
- passkey: 'x'
- channels: ["#ipt.announce"]
- task: download_to_ram
- task_delay: 0
- tasks:
- download_to_ram:
- manual: yes
- disable:
- - backlog
- accept_all: yes
- free_space:
- path: /dev/shm/datafast
- space: 28610
- content_size:
- min: 300
- max: 6000
- max_reruns: 0
- retry_failed:
- max_retries: 0
- deluge:
- port: 52594
- label: 'buffer'
- check_ram_free:
- disable:
- - builtins
- - seen
- - seen_info_hash
- - cached
- exec:
- on_start:
- phase:
- - df --output=avail,file --block-size=GB /dev/shm/datafast/ | sed 1d | sed 's/^ *//' > /dev/shm/datafast/avail.space
- on_input:
- for_entries: echo {{title}}GB free {{url}}
- text:
- url: "/dev/shm/datafast/avail.space"
- entry:
- title: (^\d*)
- url: \s+(.*$)
- if:
- - "title|int < 35": accept
- run_task:
- when: accepted
- task: remove_from_ram
- remove_from_ram:
- disable:
- - backlog
- - seen
- - seen_info_hash
- from_deluge:
- port: 52594
- keys:
- - total_payload_upload
- - total_payload_download
- exec:
- on_start:
- phase: echo "remove from ram started"
- on_filter:
- for_entries: echo "avg_up={{avg_upload_rate}} {{title}}"
- set:
- location: "{{ deluge_path ~ title}}"
- avg_upload_rate: "{{ (total_payload_upload - total_payload_download) / deluge_seed_time}}"
- if:
- - "deluge_label == 'buffer'": accept
- sort_by_weight:
- - field: avg_upload_rate
- weight: 100
- inverse: yes
- - field: deluge_ratio
- weight: 200
- upper_limit: 5
- limit_new: 5
- deluge:
- port: 52594
- ratio: 0
- removeatratio: yes
- delete:
- allow_dir: yes
- move_ram_to_disk:
- manual: yes
- disable:
- - backlog
- - seen
- - seen_info_hash
- from_deluge:
- port: 52594
- keys:
- - active_time
- - upload_payload_rate
- - total_uploaded
- if:
- - "deluge_ratio > 1.5 and 'datafast' in deluge_path and deluge_seed_time > 2": accept
- sort_by_weight:
- - field: active_time
- weight: 100
- upper_limit: 12
- - field: content_size
- weight: 80
- - field: upload_payload_rate
- weight: 200
- inverse: yes
- limit_new: 5
- deluge:
- port: 52594
- path: /media/md5/superchicken/private/deluge/data
- remove_from_disk:
- manual: yes
- disable:
- - backlog
- - seen
- - seen_info_hash
- from_deluge:
- port: 52594
- keys:
- - total_payload_upload
- - total_payload_download
- set:
- location: "{{ deluge_path ~ '/' ~ title}}"
- avg_upload_rate: "{{ (total_payload_upload - total_payload_download) / deluge_seed_time}}"
- if:
- - "deluge_path=='/media/md7/superchicken/private/deluge/data' and deluge_label !='keep'": accept
- sort_by_weight:
- - field: avg_upload_rate
- weight: 100
- inverse: yes
- - field: content_size
- weight: 20
- limit_new: 2
- deluge:
- port: 52594
- ratio: 0
- removeatratio: yes
- delete:
- allow_dir: yes
- schedules:
- - tasks: [check_ram_free]
- interval:
- minutes: 1
Advertisement
Add Comment
Please, Sign In to add comment