Quantcast
Channel: configuration - Forum - FlexGet
Viewing all articles
Browse latest Browse all 716

Clean torrents from directory or tracker

$
0
0

Hello, I’m trying to write a task that purges torrents after they seed 1.0 and or have been seeding for 15 days.

I only want to delete torrents from specific tracker and or download location, whichever is easier

I am following this recipe FlexGet

So my config looks something like this:

  clean-iptorrents:
    priority: 48
    from_transmission:
      <<: *transmission-settings
      only_complete: yes
    if:
      - transmission_ratio < 1.0: reject
      - transmission_date_done > now - timedelta(days=15): reject
    transmission:
      <<: *transmission-settings
      action: purge
    regexp:
      reject_excluding:
        - iptorrents:
          from: transmission_trackers

And when I run flexget, I get the following errors:

2021-01-16 10:53:47 CRITICAL manager                       [/tasks/clean-iptorrents/regexp/reject_excluding/0/from] `transmission_trackers` does not exist
2021-01-16 10:53:47 CRITICAL manager                       [/tasks/clean-iptorrents/regexp/reject_excluding/0/my_tracker] Got `None`, expected: dict or string
2021-01-16 10:53:47 CRITICAL manager                       Failed to load config file: Did not pass schema validation.
Could not start manager: Did not pass schema validation.

I get a similar error if I use the transmission_downloadDir from the recipe above.

I would appreciate any help with this!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles