Skip to content

Latest commit

 

History

History
101 lines (83 loc) · 3.29 KB

discover.md

File metadata and controls

101 lines (83 loc) · 3.29 KB
title description published date tags editor dateCreated
discover
true
2023-01-04 16:26:14 UTC
markdown
2022-09-18 05:03:57 UTC

Discover

Creates entries based on search results. Queries are produced based on another input plugin(s).

This may seem a bit scary at first, but just remember discover is normal input like rss feed

Cookbook example: discoverfeed

Config Format

discover:
  what:
    - <input plugin config>
  from:
    - <search plugin>
  [limit]: <value>
  [interval]: <value>
  [release_estimations]: <value>
  OR
  [release_estimations]:
    [optimistic]: <interval>

Options

Option Default Description
limit - Set max results from each search engine.
interval 5 hours Time between trying searches again.
release_estimations strict Can be loose, strict or ignore, smart or optimistic: <interval>.

strict will reject all episodes/movies without air dates.
loose will check for release dates, if release date can not be determined perform search anyway.
optimistic sets the estimation mode to strict but starts searching optimistic: <interval> units (eg. 7 days) before release date.
ignore no release date checking will be attempted (try to use optimistic if possible)
smart will reject entries that are identified but do not contain a release date and accept entries that are not found

Supported search engines

An overview of available search plugins can be found here. For a list of installed search plugins use command flexget plugins --interface search.

Reruns

When using next_series_episodes as an input for discover it will attempt to retrieve new episodes until it fails to find more (up to 100 runs). The number of reruns can be limited with max_reruns plugin.

Examples

Search next series episodes

discover:
  what:
    - next_series_episodes: yes
  from:
    - any supported search plugin
series:
  - name

Requires series configuration or configure_series in the task.

Search movie list

This example would produce results from the piratebay search engine based on the movies in the list movies (default name) in the movie_list plugin. It will only search for movies that have a release date that is no more than 30 days in the future.

tasks:
  discover-movies:
    discover:
      release_estimations:
        optimistic: 30 days
      what:
        - movie_list: movies
      from:
        - piratebay:
            category: "highres movies"
            sort_by: seeds
      interval: 1 day
    list_match:
      from:
        - movie_list: movies

It's also possible to have inputs directly looked up here (but not advised as it would look up each time and not appear in your queues):

discover:
  what:
    - imdb_list:
        list: watchlist
    - trakt_list:
        account: USERNAME
        list: watchlist
        type: movies
    - movie_list: listname
  from:
    - any supported search plugin

See list_match and movie_list for further information.