Giter VIP home page Giter VIP logo

Comments (8)

gazpachoking avatar gazpachoking commented on May 26, 2024

The imdb plugin accepts movies that pass its filter. You are also accepting things with the 'if' plugin (thus bypassing the imdb plugin.) If you change to rejecting things that you don't want it should work as expected.
i.e.

if:
  - "'1080p' not in title":  reject

But better than that would probably be to use the quality plugin, which will reject all entries that don't match the specified quality.

quality: 1080p

from flexget.

once375ml avatar once375ml commented on May 26, 2024

The imdb plugin accepts movies that pass its filter. You are also accepting things with the 'if' plugin (thus bypassing the imdb plugin.) If you change to rejecting things that you don't want it should work as expected. i.e.

if:
  - "'1080p' not in title":  reject

But better than that would probably be to use the quality plugin, which will reject all entries that don't match the specified quality.

quality: 1080p

Thanks for your suggestion about the quality filter.

But if you look at the log, it shows(take one item for example):

2023-10-22 00:19:39 INFO     imdb          Mteam_IMDB      Didn't accept `Ride On` because of rule(s) min_votes (4001 < 5000)

...

2023-10-22 00:19:40 INFO     download      Mteam_IMDB      Downloading: Ride On 2023 BluRay 1080p DTS-HD MA 5.1 x264-MTeam

Now that imdb had identified the votes didn't meet the parameter, why flexget downloaded it?

from flexget.

gazpachoking avatar gazpachoking commented on May 26, 2024

Now that imdb had identified the votes didn't meet the parameter, why flexget downloaded it?

Because you had the 'if' plugin accept it.

from flexget.

once375ml avatar once375ml commented on May 26, 2024

Now that imdb had identified the votes didn't meet the parameter, why flexget downloaded it?

Because you had the 'if' plugin accept it.

So, the logic between filters is "or" ?

from flexget.

gazpachoking avatar gazpachoking commented on May 26, 2024

Yes, for an entry to pass the filter phase, at least one plugin must accept it, and no plugins can reject it. The normal paradigm is to have one main plugin that does the accepting, (e.g. imdb, series, list_match,) and possibly other plugins that do rejecting to further filter down the list (e.g. quality, content_size, regexp.)

from flexget.

once375ml avatar once375ml commented on May 26, 2024

Yes, for an entry to pass the filter phase, at least one plugin must accept it, and no plugins can reject it. The normal paradigm is to have one main plugin that does the accepting, (e.g. imdb, series, list_match,) and possibly other plugins that do rejecting to further filter down the list (e.g. quality, content_size, regexp.)

Nice strategy!
New to Flexget, I need to learn further.

Feedback: imdb filter works now. Thank you all!

from flexget.

once375ml avatar once375ml commented on May 26, 2024

Yes, for an entry to pass the filter phase, at least one plugin must accept it, and no plugins can reject it. The normal paradigm is to have one main plugin that does the accepting, (e.g. imdb, series, list_match,) and possibly other plugins that do rejecting to further filter down the list (e.g. quality, content_size, regexp.)

New problem comes up.

When I wrote my task as you recommended.

tasks: 
  BDMru: 
    rss: https://kp.m-team.cc/torrentrss.php?https=1&rows=10&cat419=1&sta1=1&tea6=1&linktype=dl&passkey=
    accept_all: no
    quality: 1080p
    download: /RssTorrents/BDMru

The log said:

Task didn't produce any entries. This is likely due to a mis-configured or non-functional input.

It seems the "quality" filter doesn't work at all.

BDMru: 
    rss: https://kp.m-team.cc/torrentrss.php?https=1&rows=10&cat419=1&sta1=1&tea6=1&linktype=dl&passkey=
    accept_all: no
    if: 
      - "'1080p' in title": accept    
    download: /RssTorrents/BDMru

When I return to my old one, it works.

Is the format of the RSS not compatable with the filter "quality"? What does the "quality" filter base on? Title of each RSS items? I am sure these titles do contain the key word "1080p".

from flexget.

BrutuZ avatar BrutuZ commented on May 26, 2024

Quality doesn't accept entries, just rejects the ones that don't match it.
accept_all: no is irrelevant BTW, entries are undecided by default.

from flexget.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.