Long time user needing to update config due to changed circumstances here...
Problem I'm having is with a need to filter out archives from my accepted torrents. (Thanks to a switch from kodi to plex)..
I've added in a content_filter to block the relevant file extensions, but the problem I'm having is that it fires after the series plugin has accepted the 'best' match from a search from a particular episode, thereby rejecting the only accepted entry.
I've tried adding in a plugin_priority statement to try to trigger the filter to before the series processing so it can eliminate bad entries before series picks out that best quality (from the remainder).. but that doesn't seem to be working, I believe that's due to content_filter being restricted to the modify phase, where series is earlier ("filter, metainfo, learn"? I presume based on what methods are called?)
verbose output notes: "Plugin content_filter has requested task to be ran again after execution has completed.", so presumably it's supposed to go back, remembering that rejection, and pick another from the start.. but at least in the case of my manually-run 'catchup' task, that doesn't happen - though I don't doubt that may well be due to its 'manual' flag..
Any help in getting this sorted would be much appreciated!
Relevant chunks of config:
(nb: experimenting with plugin_priority values, nothing helped or even seemed to make any difference)
tasks:
catchup:
plugin_priority:
# series: 140
# configure_series: 140
content_filter: 100
# download: 145
discover:
release_estimations: loose
what:
- mock:
- title: $show
from:
- iptorrents:
rss_key: removed
uid: removed
password: removed
category: TV-all
thetvdb_lookup: yes
series:
hdtv:
- $show
manual: yes
deluge:
main_file_only: yes
template:
- privtracker
- tv
templates:
privtracker:
cookies: ~/.flexget/cookies.sqlite
deluge:
port: 3128
ratio: 2
removeatratio: yes
plugin_priority:
series: 140
configure_series: 140
content_filter: 130
content_filter:
reject:
- '*.rar'
- '*.r00'
- '*.r01'
- '*.zip'
tv:
configure_series:
from:
thetvdb_list:
username: removed
account_id: removed
exists_series: /home/deluge/video
thetvdb_lookup: yes
set:
movedone: "/home/deluge/bt/archive/tv/{{ series_name }}/Season {{ series_season }}"
label: tv
content_filename: >
{{ series_name }} - {{ series_id }}
{% if ep_name|default(False) %}- {{ ep_name }} {% endif %}- {{ quality|upper }}
{% if proper_count %}- proper{% if proper_count > 1 %}{{ proper_count }}{% endif %}{% endif %}
deluge:
main_file_only: yes