flexget.components.series.next_series_episodes module#
- class flexget.components.series.next_series_episodes.NextSeriesEpisodes[source]#
Bases:
objectEmit next episode number from all series configured in this task.
Supports only ‘ep’ and ‘sequence’ mode series.
- _component_candidates(req_component)[source]#
Return the concrete values a single requirement component allows, highest first.
Handles bare values (“bluray”), pipe alternatives (“720p|1080p”), and min-max ranges (“720p-2160p”) uniformly since all three enumerate to a finite set of literal values.
- Returns:
[] if unconstrained (contributes nothing to the search term), None if the requirement is an open-ended upper-bound comparator (e.g. “<720p”) or a “!” exclusion, neither of which can be written as a literal search term. A lower-bound-only comparator (e.g. “720p+”) falls back to its floor value.
- Return type:
- _extract_quality_strings(series_config)[source]#
Extract quality strings from series configuration for use in search queries.
Resolution ranges (“720p-2160p”) and alternatives on any component (“720p|1080p”, “bluray|webdl”) are expanded into every combination. Requirements that can’t be expressed as literal search terms (e.g. “<=1080p”, “!hdr”) are skipped.
- on_search_complete(entry, task=None, identified_by=None, **kwargs)[source]#
Decides whether we should look for next ep/season based on whether we found/accepted any episodes.
- schema = {'oneOf': [{'type': 'boolean'}, {'additionalProperties': False, 'properties': {'backfill': {'default': False, 'type': 'boolean'}, 'backfill_limit': {'default': 25, 'description': 'If the gap between episodes is larger than this limit, they will not be emitted.', 'type': 'integer'}, 'from_start': {'default': False, 'type': 'boolean'}, 'include_quality': {'default': True, 'type': 'boolean'}, 'only_same_season': {'default': False, 'type': 'boolean'}}, 'type': 'object'}]}#