StuffAnThings / qbit_manage

This tool will help manage tedious tasks in qBittorrent and automate them. Tag, categorize, remove Orphaned data, remove unregistered torrents and much much more.
MIT License
635 stars 41 forks source link

Size check for share limits #581

Open estebanthi opened 1 month ago

estebanthi commented 1 month ago

Description

Provides two new configuration options for share_limits (include_smaller_than and include_bigger_than) to apply share limits to torrents depending on their size. The size should be in GB.

Example:

share_limits:
  large:
    priority: 10
    include_all_tags:
      - some_tag
    include_bigger_than: 48 # GB
    max_ratio: 1.0
  medium:
    priority: 11
    include_all_tags:
      - some_tag
    include_smaller_than: 48
    include_bigger_than: 10
    max_ratio: 1.0
  small:
    priority: 12
    include_all_tags:
      - some_tag
    max_ratio: 1.0

Fixes #472

Type of change

Please delete options that are not relevant.

Checklist: