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

Reject based on IMDB max_year

$
0
0

@Gyran wrote:

I have a task that I only want to be applied on movies released before 2011 but I can't seem to get it to work. I use the imdb plugin to filter movies after 2011, but it dosen't reject them. Then later my list_match plugin accepts the entry.

config:

tasks:
  discover_movies_old:
    seen_movies: strict
    exists_movie:
      - "~/movies/"
      - "~/downloads/"
    imdb_required: yes
    set:
      movedone: "~/movies/"
    list_match:
      from:
        - imdb_list:
            list: watchlist
            login: '{{ secrets.imdb.login }}'
            password: '{{ secrets.imdb.password }}'
      imdb:
        max_year: 2011
      quality: dvdrip+

flexget log:

2016-07-17 02:38 INFO     imdb          discover_movies_old Didn't accept `Zoolander 2` because of rule(s) max_year (2016 > 2011)
2016-07-17 02:38 VERBOSE  task          discover_movies_old ACCEPTED: `Zoolander 2 (2016) / x264 / Matroska / Standard Def / Blu-ray / Scene` by list_match plugin

I can see in the plugin source (https://github.com/Flexget/Flexget/blob/develop/flexget/plugins/filter/imdb.py) why it doesn't work. But is there a way I can make the imdb plugin reject it based on the age or is there something else I can use?

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles