Quantcast
Channel: help - Forum - FlexGet
Viewing all articles
Browse latest Browse all 837

Migration from clean_transmission

$
0
0

@marcoacarvalho wrote:

Hi!
I'm trying to replace this old code with the new transmission plugin but I don't know what to do with the "directories" part.
I need remove only on these two directories, but the new code is removing from everywere where.
Any help will be very appreciated.

Old code:

  transmission-clean:
    priority: 999
    disable: details
    no_entries_ok: yes
    clean_transmission:
      <<: *transmission
      min_ratio: 0
      delete_files: yes
      finished_for: 120 minutes
      directories:
        - "/storage/downloads/tv/.*"
        - "/storage/downloads/movies/.*"

New code:

  remove-stale-torrents:
    from_transmission:
      <<: *transmission
    disable: [seen, seen_info_hash]
    if:
      - transmission_progress == 100: accept
      - not transmission_seed_ratio_ok: reject
      - not transmission_idle_limit_ok: reject

    transmission:
      <<: *transmission
      action: purge

Posts: 7

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 837

Trending Articles