Season packs can be a great source quickly download/back filling required episodes.
With a well-formed season pack this would actually be preferable for back-filling. This would also empower the search plugin.
The implementation will be divided into several phases where each one should ideally be pushed to master before the other one, to reduce the risk of noise and issues that may occur.
Season
will be added as a new DB entity. It will link to its relevant Episode
objects.Season
object will have a completed
attribute that will be set to True
when a season pack has been downloaded.begin
attribute.begin
value will be set to the 1st episode of the next season.season_packs
in config.Configure series
plugin to accept a season pack if comnfigured to do so:
series:
- foo:
season_packs: yes
mock:
- {title="Foo.S01.720p-Flexget}
Enable searching for season packs first when season packs are configured:
discover:
what:
- next_series_episodes: yes
from:
- search_site: yes
series:
- foo:
season_packs: yes
Enable different modes:
series:
- foo:
season_packs: only # Will reject any non-season pack (Episodes)
- bar:
season_packs: yes # Will accept season pack if no episodes for this season have been downloaded (equivilant to setting `0`)
- baz:
season_packs: 1 # Override episode threshold, set any integer as episode threshold
- bla:
season_packs: loose # Will disregared episode threshold, always fetch season pack for a non-completed season
In tvmaze, tvdb and trakt.
Some series seasons are released in more than 1 part:
Some.Show.S03.PART.1.720p
and Some.Show.S03.PART.2.720p
guessit
does not support season packs, make sure it doesn't crashbegin
set all lower seasons as completed?complete
packages (Foo.COMPLETE.720p-Flexget
). Should we add a completed
attribute to Series
as well?