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

Accepted entries are rejected

$
0
0

@boutchou9 wrote:

Hey guys,

i've got the following config:

templates:
  movie:
    imdb_lookup: yes
    require_field: imdb_id
    if:
      - imdb_score < 6.0: reject
    manipulate:
      - title:
          replace: 
            regexp: '\b.German\b'
            format: ''
    regexp:
      accept:
        - -PsO
      reject:
        - \b(19[1-6][0-9])\b #old movies
        - \bx265\b #x265 codec
      rest: reject
tasks:
  fileocean:
    template: movie
    mock:
       - { title: 'Spider-Man.Far.from.Home.2019.German.DL.AC3.Dubbed.1080p.BluRay.x264-PsO' }

When i run the following: "flexget --test -L debug execute" i get the following output:
...

2019-09-30 14:21 DEBUG    regexp        fileocean       regexp '-PsO' matched field 'title' for Spider-Man.Far.from.Home.2019.DL.AC3.Dubbed.1080p.BluRay.x264-PsO
2019-09-30 14:21 VERBOSE  task          fileocean       ACCEPTED: `Spider-Man.Far.from.Home.2019.DL.AC3.Dubbed.1080p.BluRay.x264-PsO` by regexp plugin because regexp '-PsO' matched field 'title'
2019-09-30 14:21 DEBUG    regexp        fileocean       Rest method reject for Spider-Man.Far.from.Home.2019.DL.AC3.Dubbed.1080p.BluRay.x264-PsO
2019-09-30 14:21 VERBOSE  task          fileocean       REJECTED: `Spider-Man.Far.from.Home.2019.DL.AC3.Dubbed.1080p.BluRay.x264-PsO` by regexp plugin because regexp `rest`
2019-09-30 14:21 DEBUG    urlrewriter   fileocean       Checking 0 entries

...
Why is it rejecting because of rest, eventhough it got accepter by my regex?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 837

Trending Articles